How to Install Linux Kernel 5.0 on Ubuntu 18.04 LTS

Install Linux Kernel 5.0 on Ubuntu 18

Linus Torvalds the creator and the principal developer of the Linux kernel announced the release of Linux kernel version 5.0. This release increases the major kernel version number to 5. from 4.x. The new change does not mean anything and does not affect programs in any way.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Linux Kernel 5.0 on an Ubuntu 18.04 bionic beaver.

Install Linux Kernel 5.0 on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt update
sudo apt upgrade

Step 2. Installing Linux Kernel 5.0 on Ubuntu.

First, download and install the kernel binaries via terminal commands:

### 64-bit OS ###
cd /tmp/
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
sudo dpkg -i *.deb
### 32-bit OS ###
cd /tmp/
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
sudo dpkg -i *.deb

After installation is finished, reboot your ubuntu system:

sudo reboot

And check linux kernel version:

uname -a

Congratulation’s! You have successfully installed Linux Kernel. Thanks for using this tutorial for installing Linux Kernel on Ubuntu system. For additional help or useful information, we recommend you to check the official Linux Kernel website.

How To Install Apache CouchDB on Ubuntu 18.04 LTS

Install Apache CouchDB on Ubuntu 18

CouchDB is an open source project and NoSQL, document oriented database server. It has a document-oriented NoSQL database architecture and is implemented in the concurrency-oriented language Erlang; it uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Apache CouchDB on a Ubuntu 18.04 (Bionic Beaver) server.

Install Apache CouchDB on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal.

sudo apt update
sudo apt upgrade

Step 2. Installing Apache CouchDB on Ubuntu.

First, Add the official CouchDB PPA repository using add-apt-repository command:

curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
echo "deb https://apache.bintray.com/couchdb-deb bionic main" | sudo tee -a /etc/apt/sources.list

Now that the repository is enabled update the packages list and install CouchDB:

sudo apt update
sudo apt install couchdb

During hte installation, you should see messages to select some option:

┌──────────────────────────┤ Configuring couchdb ├──────────────────────────┐
│ │
│ Please select the CouchDB server configuration type that best meets your
│ needs.
│
│ For single-server configurations, select standalone mode. This will set
│ up CouchDB to run as a single server.
│
│ For clustered configuration, select clustered mode. This will prompt for
│ additional parameters required to configure CouchDB in a clustered
│ configuration.
│
│ If you prefer to configure CouchDB yourself, select none. You will then
│ need to edit /opt/couchdb/etc/vm.args and /opt/couchdb/etc/local.d/*.ini
│ yourself. Be aware that this will bypass *all* configuration steps,
│ including setup of a CouchDB admin user - leaving CouchDB in "admin
│
│
│ │
└───────────────────────────────────────────────────────────────────────────┘

Next, select standalone option and continue:

┌─────────┤ Configuring couchdb ├─────────┐
│ General type of CouchDB configuration: │
│ │
│ standalone │
│ clustered │
│ none │
│ │
│ │
│ │
│ │
└─────────────────────────────────────────┘

Next, type in the interface IP address and continue:

┌─────────────────────────┤ Configuring couchdb ├──────────────────────────┐
│ A CouchDB node must bind to a specific network interface. This is done │
│ via IP address. Only a single address is supported at this time. │
│ │
│ The special value '0.0.0.0' binds CouchDB to all network interfaces. │
│ │
│ The default is 127.0.0.1 (loopback) for standalone nodes, and 0.0.0.0 │
│ (all interfaces) for clustered nodes. In clustered mode, it is not │
│ allowed to bind to 127.0.0.1. │
│ │
│ CouchDB interface bind address: │
│ │
│ 127.0.0.1_______________________________________________________________ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────┘

Once the installation is finished. Start CouchDB and enable it to start on boot time using the following command:

sudo systemctl start couchdb
sudo systemctl enable couchdb

Step 3. Accessing Apache CouchDB.

Apache CouchDB will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://your_IP:5984/_utils/ and complete the required the steps to finish the installation.

Congratulation’s! You have successfully installed CouchDB. Thanks for using this tutorial for installing Apache CouchDB on Ubuntu 18.04 systems. For additional help or useful information, we recommend you to check the official CouchDB website.

How To Install XWiki on Ubuntu 18.04 LTS

Install XWiki on Ubuntu 18

XWiki is a free and open source, Java-based advanced wiki software platform. It runs on servlet containers like JBoss, Tomcat, Jetty etc. It also uses a database such as MySQL or PostgreSQL to store its information.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation XWiki on a Ubuntu 18.04 (Bionic Beaver) server.

Install XWiki on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal.

sudo apt update
sudo apt upgrade

Step 2. Installing XWiki on Ubuntu.

Before we begin the installation, you will need to add the official XWiki repository. You can do this by executing the following commands:

wget -q "https://maven.xwiki.org/public.gpg" -O- | sudo apt-key add -
sudo wget "https://maven.xwiki.org/stable/xwiki-stable.list" -P /etc/apt/sources.list.d/

To can check all available packages in this repository using the following command:

apt-cache search xwiki

Result:

xwiki-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-mysql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-pgsql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat-mysql - XWiki enterprise Tomcat/MySQL based package
xwiki-enterprise-tomcat-pgsql - XWiki enterprise Tomcat/PostgreSQL
xwiki-enterprise-tomcat5-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat5-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat6-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat6-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat7-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat7-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat7-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat8-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat8-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat8-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-mysql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-pgsql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-solr-data - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat7-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat7-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat7-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat8-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat8-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat8-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis

You can see on the list that the repo contains packages that can install XWiki with different versions of Tomcat, MySQL and PostgreSQL. In this tutorial, we will install XWiki with Tomcat 8 and PostgreSQL as a database server. Run the following command:

apt-get install xwiki-enterprise-tomcat8-pgsql

Step 3. Accessing XWiki.

XWiki will be available on HTTP port 8080 by default. Open your favorite browser and navigate to http://yourdomain.com:8080/xwiki or http://server-ip:8080/xwiki and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed XWiki. Thanks for using this tutorial for installing XWiki e-commerce on Ubuntu 18.04 systems. For additional help or useful information, we recommend you to check the official XWiki website.

How To Install KDE Plasma on Ubuntu 18.04 LTS

Install KDE Plasma on Ubuntu 18

KDE is a well-known desktop environment for the Unix-Like systems designed for users who wants to have a nice desktop environment for their machines, It is one of the most used desktop interfaces out there.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation KDE Plasma desktop environment on an Ubuntu 18.04 bionic beaver.

Install KDE Plasma on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt update
sudo apt upgrade

Step 2. Installing Tasksel.

The tasksel CLI tool for Ubuntu helps you in installing multiple related packages as a collective task. Ubuntu 18.04 does not have this utility installed by default. Please use the following command as sudo in order to install it on your system as we will later be using it to install Kubuntu Desktop:

sudo apt install tasksel

Step 3. Installing Kubuntu Desktop.

Now uses Tasksel to install all of KDE Plasma’s dependencies on Ubuntu:

tasksel install kubuntu-desktop

During installation, it will ask you to select your default display manager to sddm.
KDE-installation
Once the KDE installation is done, reboot the system to take effect. On the login screen, select KDE Plasma as a desktop environment and login to the system. Now your Ubuntu system has the KDE desktop environment.

Congratulation’s! You have successfully installed KDE Plasma. Thanks for using this tutorial for installing KDE Plasma desktop environment in Ubuntu 18.04 bionic beaver system. For additional help or useful information, we recommend you to check the official KDE website.

How To Install Java (JRE or JDK) on Ubuntu 16.04

Install Java (JRE or JDK) on Ubuntu 16

In this tutorial we will show you how to install and configuration of java JRE or JDK on your Ubuntu 16.04 server. Many programs and scripts that require java to run it, but usually Java is not installed by default on VPS or Dedicated Server. This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation JRE (Java Runtime Environment) and JDK (Java Development Kit) on Ubuntu 16.04.

Install Java (JRE or JDK) on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

After your server has been fully updated, verify if java is installed or not:

java -version

If there is no java package installed ye, output will be something like:

The program 'java' can be found in the following packages:

* default-jre
* gcj-4.9-jre-headless
* gcj-5-jre-headless
* openjdk-7-jre-headless
* gcj-4.8-jre-headless
* openjdk-6-jre-headless
* openjdk-8-jre-headless
* openjdk-9-jre-headless
Try: apt install <selected package>

Step 2. Installing Java (JRE or JDK).

Once you have verified if Java is installed or not, choose the type of Java installation that you want with one the following:

sudo apt-get install openjdk-7-jre
sudo apt-get install openjdk-7-jdk

Another alternative Java install is with Oracle JRE and JDK. However, we would need to install additional repositories for a proper installation:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java

Then, you will need to fully update the system with the following command and install it:

sudo apt-get update
sudo apt-get install oracle-java8-installer

Step 3. Verify Installed Java Version.

java -version

Result:

java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

Step 4. Setup JAVA_HOME on Ubuntu 16.04.

Since many programs now days need a JAVA_HOME environment variable to work properly. We will need to find the appropriate path to make these changes. With the following command, you can view your installs and their path:

sudo update-alternatives --config java
sudo nano /etc/profile

Now that you are in the user profile file, add the following code, along with the Path of your installation from the previous step, to the bottom. ( Example: JAVA_HOME=”YOUR_PATH”):

export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64"

Reload the file so all your changes could take effect with the following command:

source /etc/profile

Verify that your implementations are correct with the following command:

echo $JAVA_HOME

Congratulation’s! You have successfully installed Java. Thanks for using this tutorial for installing Oracle Java (JRE or JDK) on Ubuntu 16.04 Xenial Xerus system. For additional help or useful information, we recommend you to check the official Java web site.

How To Install uTorrent on Ubuntu 16.04

Install uTorrent on Ubuntu 16

uTorrent is a freeware and a closed source BitTorrent Client. One of the most used lightweight BitTorrent Client, Now it is available for Linux as uTorrent server. The µTorrent is designed to use minimal computer resources while offering functionality comparable to larger BitTorrent clients such as Vuze or BitComet and also it provides performance, stability, and support for older hardware and versions of operating system. It is available for Microsoft Windows and Mac OS X.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation uTorrent on a Ubuntu 16.04 server.

Install uTorrent on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Install dependency library.

Open Terminal and run the following command to install dependency libraries. Assign the password for the user when asked:

sudo apt-get install libssl1.0.0 libssl-dev

Step 3. Installing uTorrent.

First thing to do is to go to uTorrent’s download page and download the latest stable version of uTorrent, At the moment of writing this article it is version 3.3:

### 32 bit ###
wget http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-ubuntu-13-04/track/beta/ -O utserver.tar.gz

### 64 bit ###
wget http://download-new.utorrent.com/endpoint/utserver/os/linux-x64-ubuntu-13-04/track/beta/ -O utserver.tar.gz

Move the downloaded tar.gz directory to /opt directory. Run the following commands or you can also do it manually:

sudo tar -zxvf utserver.tar.gz -C /opt/

Set an executable permission to the extracted directory for running the uTorrent server:

sudo chmod 777 /opt/utorrent-server-alpha-v3_3/

Run the command to link uTorrent server to the /user/bin directory:

sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver

Finally, start uTorrent Server by executing the following command:

utserver -settingspath /opt/utorrent-server-alpha-v3_3/ &amp;

Step 4. Accessing uTorrent.

uTorrent will be available on HTTP port 8080 by default. Open your favorite browser and navigate to http://yourdomain.com:8080 or http://your-ip-address:8080/gui. It will ask you the username and password. The default username is admin and leave the password field empty. Also, if you are using a firewall, please open port 8080 to enable access to the control panel.
Utorrent-Ubuntu-14.04
Congratulations! You have successfully installed uTorrent. Thanks for using this tutorial for installing μTorrent (uTorrent) in Ubuntu 16.04 systems. For additional help or useful information, we recommend you to check the official uTorrent web site.

How To Install Nginx on Ubuntu 16.04

Install Nginx on Ubuntu 16

Nginx is a powerful web server software that can be used on your server. It is also known for its high performance and low memory usage which will allow fewer resources to be used but getting the job done efficiently. A popular set up is to use it as a proxy for Apache, which can then serve application requests. That will not be covered in this tutorial, though.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Nginx on a Ubuntu 16.04 server.

Install Nginx on Ubuntu 16.04

Step 1. First let’s start by ensuring your system is up-to-date.

apt-get update
apt-get upgrade

Step 2. Installing Nginx.

Installing nginx package on Ubuntu 16.04 (Xenial Xerus) is as easy as running:

apt-get install nginx

After that, run the commands to enable Nginx to automatically startup when your server starts:

sudo systemctl enable nginx
sudo systemctl start nginx

To confirm if the Nginx service is indeed running, use the following command:

sudo systemctl status nginx

You can verify that Nginx is really running by opening your favorite web browser and entering the URL http://your-server’s-address, if it is installed, then you will see this:

nginx-default-page

This example is the default nginx web page on Ubuntu 16.04

Learn how to use Nginx server blocks here. If you’d like to build out a more complete application stack, check out this article on how to configure a LEMP stack on Ubuntu 15.04.

Congratulation’s! You have successfully installed Nginx. Thanks for using this tutorial for installing Nginx web server on your Ubuntu 15.04 system. For additional help or useful information, we recommend you to check the official Nginx web site.

You Might Also Like: How To Install LEMP on Ubuntu 16.04