How To Install Cockpit 192 on Ubuntu 18.04 LTS

Install Cockpit on Ubuntu 18

Cockpit is a free software which delivers a web-based interface for your system admin to do tasks, such as launching containers, storage management, network setup, inspecting logs and so forth.
Cockpit features

Easy to use — Cockpit is ideal for new sysadmins, allowing them to easily perform simple tasks such as storage administration, inspecting journals and stopping and starting services.
No interference — Jumping between the terminal and the internet tool is no problem. A service began via Cockpit could be stopped through the terminal. If an error happens in the terminal, it can be understood from the Cockpit journal interface.

Multi-server — You can track and manage several servers at the same

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 Cockpit on a Ubuntu 18.04 LTS (Bionic Beaver) server.

Install Cockpit on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Cockpit on Ubuntu 18.04 LTS.

The cockpit package is available in the official Ubuntu 18.04 repositories, so installing using following command:

apt install cockpit

The cockpit-docker supports Docker management. So install using following command:

apt install -y cockpit-docker

Step 3. Accessing to Cockpit.

Cockpit will be available on HTTP port 9090 by default. Open your favorite browser and navigate to http://yourdomain.com:9090 or http://server-ip:9090 and complete the required the steps to finish the installation. We’ll be asked to enter the login details in order to enter into the dashboard. Here, the username and password is the same as that of the login details we use to login to our linux server. If you are using a firewall, please open port 9090 to enable access to the control panel.
Cockpit-Userinterface
Congratulation’s! You have successfully installed Cockpit. Thanks for using this tutorial for installing Cockpit in Ubuntu 18.04 LTS Bionic Beaver system. For additional help or useful information, we recommend you to check the official Cockpit web site.

How To Install EHCP on Ubuntu 18.04 LTS

Install EHCP on Ubuntu 18

EHCP (Easy Hosting Control Panel) is an open-source and powerful hosting control panel that lets you to host any websites, create email accounts, create additional (sub) domains and create FTP accounts and many more. Ehcp is the only first hosting control panel was written using PHP programming language and available for free.

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 Easy Hosting Control Panel on a Ubuntu 18.04 (Bionic Beaver) server.

Install EHCP on Ubuntu 18.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing EHCP on Ubuntu 18.04 LTS.

First, download the latest EHCP version from the official website with the following command:

wget http://ehcp.net/ehcp_1804.tgz

Extract the ehcp source using following tar command:

tar -zxvf ehcp_1804.tgz

Change to ehcp directory, then run install.sh script:

cd ehcp
./install.sh

Read the instructions carefully, your server will send statistical information to the EHCP developers. If you choose to move on, the install script will install all required packages including Apache, MySql and Postfix. You will need to provide some information to configure the services and set the admin passwords.

Step 4. Accessing Easy Hosting Control Panel.

EHCP will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip. Enter the administrative credentials. Default admin username is ‘admin‘ and default admin password is ‘1234‘. If you had entered a new password during the installation please provide the same. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed EHCP. Thanks for using this tutorial for installing Easy Hosting Control Panel in Ubuntu 18.04 LTS (Bionic Beaver) systems. For additional help or useful information, we recommend you to check the official EHCP web site.

How To Install MongoDB 4.0. on Ubuntu 18.04 LTS

Install MongoDB on Ubuntu 18

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemata. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License (SSPL).

MongoDB is a NoSQL document-oriented database. Refers to a database with a data model other than the tabular format used in relational databases such as MySQL, PostgreSQL, and Microsoft SQL. MongoDB features include: full index support, replication, high availability, and auto-sharding. It is a cross-platform and it makes the process of data integration faster and much easier. Since it is free and open-source, MongoDB is used by number of websites and organizations.

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 MongoDB on a Ubuntu 18.04 LTS (Bionic Beaver) server.

Install MongoDB on Ubuntu 18.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Install MongoDB on Ubuntu 18.04 LTS.

First to completely remove an existing Mongodb from your machine if you have that in already:

sudo apt-get remove mongodb
sudo apt-get autoremove

A stable version of MongoDB packages are already in the default Ubuntu repository. However, the version in Ubuntu’s repository isn’t the latest. If you want to install the latest version you must add a third-party repository to your system and install it from there:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6

After adding the repository key to Ubuntu, run the commands below to add MongoDB repository to your system:

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

After that, update your system and refresh existing repositories by running the commands below:

apt update

And now install the latest stable version of MongoDB:

apt install -y mongodb-org

Step 3. Verifying MongoDB database.

After installing MongoDB, the commands below can be used to stop, start and enable MongoDB to automatically startup when the systems boots up:

# sudo systemctl start mongod.service
# sudo systemctl enable mongod.service
# sudo systemctl status mongod.service
● mongodb.service - LSB: An object/document-oriented database
   Loaded: loaded (/etc/init.d/mongodb; bad; vendor preset: enabled)
   Active: active (running) since Thu 2016-06-4 16:40:35 IST; 14s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2849 ExecStart=/etc/init.d/mongodb start (code=exited, status=0/SUCCESS)
  Main PID: 1593 (code=exited, status=0/SUCCESS)
    Tasks: 13 (limit: 512)
   Memory: 51.9M
      CPU: 100ms
   CGroup: /system.slice/mongodb.service
           └─2861 /usr/bin/mongod --config /etc/mongodb.conf

A good way to start using MongoDB on your Ubuntu 16.04 is to read the MongoDB manual on the official web site.

https://docs.mongodb.org/manual/

Congratulation’s! You have successfully installed MongoDB. Thanks for using this tutorial for installing MongoDB in Ubuntu 18.04 LTS Bionic Beaver system. For additional help or useful information, we recommend you to check the official MongoDB web site.

How To Install PostgreSQL 11.2 on Ubuntu 18.04 LTS

Install PostgreSQL on Ubuntu 18

PostgreSQL is a free, open-source object-relational database management system (object-RDBMS), similar to MySQL, and is standards-compliant and extensible. It is commonly used as a back-end for web and mobile applications. PostgreSQL, or ‘Postgres’ as it is nicknamed, adopts the ANSI/ISO SQL standards together, with the revisions.

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 PostgreSQL on a Ubuntu 18.04 (Bionic Beaver) server.

Install PostgreSQL on Ubuntu 18.04 LTS

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing PostgreSQL server on Ubuntu 18.04 LTS.

PostgreSQL is available in the default repositories. So enter the following command from the Terminal to install it:

apt install postgresql postgresql-contrib phppgadmin

Step 3. Access PostgreSQL command prompt.

After installing PostgreSQL database server, by default it creates a user ‘postgres’ with role ‘postgres’. It also creates a system account with same name ‘postgres’. So to connect to postgres server, login to your system as user postgres and connect database:

su - postgres
psql

Now you are logged in to PostgreSQL database server. To check login info use following command from database command prompt:

postgres-# \conninfo

To disconnect from PostgreSQL database command prompt just type below command and press enter. It will return you back to Ubuntu command prompt:

postgres-# \q

Create new user and database:

### For example, let us create a new user called “mona” with password “ramona”, and database called “monadb”. ###
sudo -u postgres createuser -D -A -P mona
sudo -u postgres createdb -O mona monadb

Step 4. Configure Apache2 for phpPgAdmin.

phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies, and hosting services. You need to configure apache for phpPgAdmin. Edit the file /etc/apache2/conf-available/phppgadmin.conf:

nano /etc/apache2/conf-available/phppgadmin.conf

Comment out the line #Require local by adding a # in front of the line and add below the line allow from all so that you can access from your browser:
phpPgAdmin-apache2-conf

Step 5. Configure phpPgAdmin.

Next, edit the file /etc/phppgadmin/config.inc.php:

nano /etc/phppgadmin/config.inc.php

Now change the following option:

$conf[‘extra_login_security'] = true;
to
$conf[‘extra_login_security'] = false;

Now, we can restart Apache and phpPgAdmin so that the changes take place:

systemctl restart postgresql
systemctl restart apache2
systemctl enable postgresql
systemctl enable apache2

Step 6. Accessing phpPgAdmin.

phpPgAdmin will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/phppgadmin or http://server-ip/phppgadmin. If you are using a firewall, please open port 80 to enable access to the control panel.
phppgadmin-ubuntu-16.04

Congratulation’s! You have successfully installed PostgreSQL Server. Thanks for using this tutorial for installing PostgreSQL in Ubuntu 18.04 (Bionic Beaver) systems. For additional help or useful information, we recommend you to check the official PostgreSQL web site.

How To Install Kodi on Ubuntu 18.04 LTS

Install Kodi on Ubuntu 18

Kodi (formerly XBMC Media Center) is an open source and very powerful project that provides all the necessary tools for transforming your regular PC into a bona fide HTPC, which if used in conjunction a big screen TV and a Hi-Fi audio system, will transform your living room into a veritable home theater. Currently Kodi can be used to play almost all popular audio and video formats around. It was designed for network playback, so you can stream your multimedia from anywhere in the house or directly from the internet using practically any protocol available. Use your media as-is: Kodi can play CDs and DVDs directly from the disk or image file, almost all popular archive formats from your hard drive, and even files inside ZIP and RAR archives. In this tutorial we will learn How To Install Kodi on Ubuntu 18.04 LTS.

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 Kodi in Ubuntu 18.04 (Bionic Beaver) server.

Install Kodi on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Kodi on Ubuntu 18.04 LTS.

Method 1. Install Kodi from PPA.

Install Kodi on Ubuntu 18.04 directly from Kodi’s PPA repository:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi

Method 2. Install Kodi from command line.

Run the following commands to install Kodi:

sudo apt install kodi

After installing the application you can verify the version of kodi media player using the following command:

kodi -v

You can start Kodi from command by entering executing the following linux command:

kodi

Or, log out and select log in with Kodi session. Or launch the media center from the Dash (may need restart).

Congratulation’s! You have successfully installed kodi. Thanks for using this tutorial for installing kodi media center on 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official Kodi web site.

How To Install Adobe Flash Player on Ubuntu 18.04 LTS

Install Adobe Flash Player on Ubuntu 18

Adobe Flash player is important plugin that allows our web browsers to play multimedia contents like audio and videos streaming, flash based games and other rich media stuff. Adobe Flash player is supported by different web browsers like IE ( Internet Explorer) , Chrome, Firefox , Safari and Opera and can be installed on different operating system like Windows , Linux/ UNIX and Mac OS X and Android.

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. I will show you through the step by step installation adobe flash player on Ubuntu 18.04 LTS Bionic Beaver.

Install Adobe Flash Player on Ubuntu

Step 1. First of all make sure that all packages are up to date.

apt-get update
apt-get upgrade

Step 2. Installing Adobe Flash on Ubuntu 18.04 LTS.

First, enable this repository before attempting to install flash plugin:

add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"

After enabling the partner’s repository, run the commands to install Adobe flash plugin:

apt update
apt install adobe-flashplugin browser-plugin-freshplayer-pepperflash

Once installing, restart Firefox or any other web browser before using the flash plugin. To make some changes to the plugin, click the Activities from the top left corner, then on the Activities Overview, search for Flash Plugin.

Congratulation’s! You have successfully installed adobe flash player. Thanks for using this tutorial for installing adobe flash player on Ubuntu 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official Adobe web site.

How To Install Ansible on Ubuntu 18.04 LTS

Install Ansible on Ubuntu 18

Ansible is a universal language, unraveling the mystery of how work gets done. Turn tough tasks into repeatable playbooks. Roll out enterprise-wide protocols with the push of a button. Give your team the tools to automate, solve, and share.

It is a radically simple IT automation engine that simplifies cloud computing, configuration management, program setup, intra-service orchestration, and several other IT needs. Ansible uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to spell out your automation jobs in a way that means plain English. Using Ansible you can control multi host or device simultaneously using single command. You don’t need install client in apparatus or each 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 VirtualBox on a Ubuntu 18.04 (Bionic Beaver) server.

Install Ansible on Ubuntu 18.04

Step 1. First, make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Ansible on Ubuntu 18.04 LTS.

Method 1. Install Ansible from PPA repository.


sudo apt install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt update
sudo apt install ansible

Check installation was successfull by using these command:

ansible --version

Method 2. Install Ansible from Ubuntu repository.


sudo apt install ansible

When successful, check your installed Ansible version:

$ ansible --version
ansible 2.3.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.14+ (default, Feb 6 2018, 19:12:18) [GCC 7.3.0]

Method 3. Install Ansible from Source.

Execute the following linux command to perform the installation of all prerequisites:

sudo apt install make git make python-setuptools gcc python-dev libffi-dev libssl-dev python-packaging

Next, download Ansible source code using the git:

git clone git://github.com/ansible/ansible.git
cd ansible
git checkout stable-2.5

Then, perform the compilation followed by the Ansible installation:

make
make install

Congratulation’s! You have successfully installed Ansible. Thanks for using this tutorial for installing Ansible on Ubuntu 18.04 LTS (Bionic Beaver) server. For additional help or useful information, we recommend you to check the official Ansible web site.