How To Install Habari CMS V0.9.2 on Ubuntu 18.04 LTS

Install Habari CMS on Ubuntu 18

Habari is a free and open source blog engine written in PHP and currently supports MySQL, SQLite and PostgreSQL for the database backend and application framework with a modular, object-oriented core.

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

Install Habari CMS 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 LAMP (Linux, Apache, MariaDB and PHP) server.

A Ubuntu 18.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

apt-get install php7.1-cli php7.1-gd php7.1-opcache php7.1-mysql php7.1-json php7.1-mcrypt php7.1-xml php7.1-curl

Step 3. Installing Habari on Ubuntu 18.04 LTS.

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

wget http://habariproject.org/dist/habari-0.9.2.zip
sudo mkdir -p /var/www/html/habari
sudo unzip habari-0.9.2.zip -d /var/www/html/habari

We will need to change some folders permissions:

sudo chown -R www-data:www-data /var/www/html/habari/
sudo chmod -R 755 /var/www/html/habari/

Step 4. Configuring MariaDB for Habari.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB:

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- Remove anonymous users? [Y/n] y
- Disallow root login remotely? [Y/n] y
- Remove test database and access to it? [Y/n] y
- Reload privilege tables now? [Y/n] y

Next we will need to log in to the MariaDB console and create a database for the Habari. Run the following command:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for Habari installation:

create database habari;
grant all privileges on habari.* to habariuser@localhost identified by 'your_password';
flush privileges;
exit

Step 5. Configuring Apache web server for Habari.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘habari.conf’ on your virtual server:

touch /etc/apache2/sites-available/habari.conf
ln -s /etc/apache2/sites-available/habari.conf /etc/apache2/sites-enabled/habari.conf
nano /etc/apache2/sites-available/habari.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/habari
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/habari/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>

Now, we can restart Apache web server so that the changes take place:

a2ensite habari.conf
a2enmod rewrite
systemctl restart apache2.service

Step 6. Accessing Habari.

Habari will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip 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 Habari. Thanks for using this tutorial for installing Habari Content Management System on your Ubuntu 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official Habari web site.

How To Install Odoo 12 on Ubuntu 18.04 LTS

Install Odoo on Ubuntu 18

Odoo is one of the most popular and most powerful Open Source ERP business software based on the Python programming language. It is an web based fully featured application, and comes with Open Source CRM, Point of Sales, Human Resource Management, Point of Sales, Billing and Accounting, Event Management, Email Marketing, Order Tracking etc. This application is helpful to maintain the ERP in any business.

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

Odoo Features

  • Website Builder, which supports WYSIWYG editor, version control, form builder and Multi Website with an option to add blogs, forum and slide shows.
  • Multiple themes and inbuilt e-commerce software.
  • Odoo has contract management as well as subscription management features.
  • Customizable project management and timesheets options, it has inbuilt Invoicing and Project management features.
  • Full featured Accounting software which includes VoIP integration including an option to send mass mailis and links tracking.
  • Inbuilt CRM which does accurate forecasting and shows real time overview.

Install Odoo 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 and configure PostgreSQL.

Install the Postgres package from the Ubuntu’s default repositories:

sudo apt-get install postgresql

Once it is installed, enable the PostgreSQL server to start automatically upon server reboot:

systemctl enable postgresql
systemctl start postgresql

Step 3. Installing Odoo on Ubuntu 18.04 LTS.

The first step, add the Odoo repository to the server. In order to do it, run the following commands:

wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list

Next, install Odoo using the apt package manager:

apt install odoo

After the installation completes, you can check the status of the Odoo service:

systemctl status odoo

Then, edit Odoo’s configuration file and set the master admin password:

nano /etc/odoo/odoo.conf

Uncomment the ‘admin_passwd’ line, and set a password as shown below:

admin_passwd = MASTER_PASSWORD

Restart the Odoo instance for the changes to take effect:

systemctl restart odoo

Step 4. Accessing Odoo.

Odoo will be available on HTTP port 8069 by default. Open your favorite browser and navigate to http://yourdomain.com:8069 or http://server-ip:8069.

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

How To Install Steam on Ubuntu 18.04 LTS

Install Steam on Ubuntu 18

Steam is a digital distribution platform for video games. As Amazon Kindle is digital distribution platform for e-Books, iTunes for music, similarly Steam is for games. It provides you the option to buy and install games, play multiplayer and stay in touch with other games via social networking on its platform. The games are protected with DRM. Recently, over 4500 games are available through steam and 125 million active users are registered with Steam platform.

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 Steam on an Ubuntu 18.04 LTS Bionic Beaver server.

Install Steam 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 Steam on Ubuntu 18.04 LTS.

Method 1. Install Steam from Ubuntu Repository.

First, add steam repository from the standard Ubuntu:

sudo add-apt-repository multiverse

Use the following command to install Steam:

sudo apt install steam

During installation process, “Configuring Steam” window will pop up, you need to read and accept install agreement here. Hit “Ok” to move to next step.

Install-Steam-Ubuntu-1

Next screen will be similar with terms and condition. Press tab to select the option and then press enter.
Install-Steam-Ubuntu-2
Once installed, go to Unity Dash and look for Steam. Click on it to start it. When you run it for the first time, it will download the necessary package and install the Steam platform.
Install-Steam-Ubuntu-3
As you are running for the first time, you’ll be asked to either create an account or log in to an existing account. It will also ask for agreeing to terms and conditions.
Install-Steam-Ubuntu-4

Method 2. Install Steam from official Steam package.

The following procedure can be used to install steam from the official Steam package. If not available yet, enable the i386 architecture:

sudo dpkg --add-architecture i386
sudo apt update

Next, install prerequisite Steam packages:

php]
sudo apt install wget gdebi-core libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
[/php]

Then, download the official Steam package:

wget http://media.steampowered.com/client/installer/steam.deb

Next, use the gdebi command to install the steam.deb package:

sudo gdebi steam.deb

Violaaaaa… STEAM digital distribution platform is now installed on your system.

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

How To Install Anaconda Python V3.7 on Ubuntu 18.04 LTS

Install Anaconda Python on Ubuntu 18

Anaconda is a totally free, easy-to-install open source Program manager, environment manager and Python distribution with a collection of 1,000+ open source packages with free community support and is commonly used for large-scale Information processing, scientific computing, and predictive analytics, and serving data scientists, Programmers, business analysts, and People Operating in DevOps.

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

Install Anaconda Python 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 Anaconda Python on Ubuntu 18.04 LTS.

Open a terminal and type the following command to install Python 3 Anaconda:

wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh

Now verify the data integrity of the installer with cryptographic hash verification through the SHA-256 checksum:

sha256sum Anaconda3-5.2.0-Linux-x86_64.sh

Now we can run the script:

bash Anaconda3-5.2.0-Linux-x86_64.sh -b -p ~/anaconda
rm Anaconda3-5.2.0-Linux-x86_64.sh
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc

In order to activate the installation, you should source the ~/.bashrc file:

source ~/.bashrc
conda update conda
source ~/anaconda/bin/activate root

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

How To Install Glances on Ubuntu 18.04 LTS

Install Glances on Ubuntu 18

Glances is a free software (licensed under LGPL) to monitor your GNU/Linux or BSD operating system from a text interface. Using it you can monitor CPU, Load Average, Memory, Network Interfaces, Disk I/O, File System spaces utilization, mounted devices, total number of active processes and top processes. There are many interesting options available in Glances. One of the main features is that you can set thresholds (careful, warning and critical) in a configuration file, and information will be shown in colors which indicates the bottleneck in the system. Glances uses the library libstatgrab to retrieve information from your system and it is developed in Python.

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

Glances System Monitoring Features

Glances will display:

Memory information including RAM, swap, and free memory.
The average CPU load of your system.
CPU information like user related application, system programs and idle programs.
Total number of active and sleeping processes.
Download and upload rates of your network connections.
Disk I/O read and write details.
Display currently mounted disk devices.
Shows the current date and time at bottom.

Install Glances 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 Glances on Ubuntu 18.04 LTS.

Run following command to install Glances:

apt-get install glances

If Glances is not available under package manager for your operating system, Use following installation script provided by Glances official team:

wget -O- https://bit.ly/glances | /bin/bash

Once installation has finished, you can launch Glances by running the following command:

glances

centos-glances

In glances you’ll see a lot of information about the resources of your system: CPU, Load, Memory, Swap Network, Disk I/O and Processes all in one page, by default the color code means:

Green: Okay
Blue: Caution
Violet: Warning
Red: Critical

When Glances is running, you can press some special keys to give commands to it:

m: Sort processes by MEM%
p: Sort processes by name
c: Sort processes by CPU%
d: Show/hide disk I/O stats
a: Sort Processes automatically
f: Show/hide file system statshddtemp
i: Sort processes by I/O rate
s: Show/hide sensors stats
y: Show/hide hddtemp stats
l: Show/hide logs
n: Show/hide network stats
x: Delete warning and critical logs
h: Show/hide help screen
q: Quit
w: Delete warning logs

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

How To Install Mate Desktop 1.22 on Ubuntu 18.04 LTS

Install Mate Desktop on Ubuntu 18

The MATE Desktop Environment is the continuation of GNOME 2. It provides an intuitive and attractive desktop environment using traditional metaphors for Linux and other Unix-like operating systems. There are several Linux distributions that support the MATE desktop including of course Ubuntu, and there is a dedicated Ubuntu MATE edition for this elegant desktop environment as well.

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

Install Mate Desktop 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 Mate Desktop Environment on Ubuntu 18.04 LTS.

Install Mate desktop using following command:

sudo apt install tasksel
sudo apt update
sudo tasksel install ubuntu-mate-desktop

During installation select a display manager, lightdm is the default display manager for the Mate desktop and wait for a few minutes, depending on your Internet connection speeds for the installation process to finish.

Step 3. Accessing Mate Desktop.

If everything goes OK, logout of your current session or restart your system and choose MATE desktop at the login interface as in the image below.
Mate-Dekstop-Environment-UI
Congratulation’s! You have successfully installed Mate Desktop. Thanks for using this tutorial for installing MATE Desktop Environment on your Ubuntu 18.04 LTS system. For additional help or useful information, we recommend you to check the official Mate Desktop web site.

How To Install Gitlab on Ubuntu 18.04 LTS

Install Gitlab on Ubuntu 18

Gitlab is graphical implementation of git, it is an open source repository management and version control system. GitLab is developed on Ruby on Rails. Using GitLab you can host your source code on your own server. This ensures security of the code, and gives you total freedom on the number of users as well as number of repositories and number of files. GitLab provides you with a platform to collaborate on projects and to keep track of changes in code. GitLab is widely used for software development and version control related tasks. In many ways it is similar to GitHub, except you can install it in your own 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 Gitlab on a Ubuntu 18.04 LTS (Bionic Beaver) server.
GitLab Features

GitLab provides you web interface to edit files, directories and create merge requests.
It is self hosted, hence you have full control over your server and the source code hosted inside.
It provides LDAP user authentication and has two factor authentication system which makes the application very secure.
You can insert your own branding in the login page and it also supports project import from GitHub and other sources to GitLab.
It has lots of features like code reviews, issue tracking, activity feeds and inbuilt wiki.
It provides a fine work flow management which gives you ability to create groups for a project, ability to fork a repository as well as it provides ability to manage large binaries with git LFS.
GitLab comes with GitLab CI for continuous integration. You can also Docker with GitLab CI.
It’s free and open source hence you won’t have to deal with any licensing issues.

Install Gitlab 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. Install and Configure the necessary dependencies.

Before we going to install Git-lab, we have to install some prerequisites like ssh and mail services:

sudo apt install curl openssh-server ca-certificates postfix

Step 3. Installing GitLab on Ubuntu 18.04 LTS.

Use following command to install GitLab packages on server:

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

The script will set up your server to use the GitLab maintained repositories. This lets you manage GitLab with the same package management tools you use for your other system packages. Once this is complete, you can install the actual GitLab application with apt:

sudo apt install gitlab-ce

If you are not comfortable installing the repository through a piped script, you can find the entire script here.

Step 4. Configure GitLab on Server.

Now start the configuration by using the gitlab-ctl command:

sudo gitlab-ctl reconfigure

Step 5. Accessing Gitlab.

Gitlab will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip. Since this is the first time we are accessing the web interface we will be prompted to set the password for the administrative account, so specify the password and the click on “Change your password”. If you are using a firewall, please open port 80 to enable access to the control panel.

install-gitlab

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