How To Install Nextcloud on Ubuntu 16.04

Install Nextcloud on Ubuntu 16

Nextcloud is open source self-hosted file sync and share application (Calendar, Contacts, Documents, Email, and more). The developers at Nextcloud are doing their best to give the users a more secure platform, fewer bugs and overall a better product.

Install Nextcloud on Ubuntu 16.04

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 Nextcloud on a Ubuntu 16.04 LTS (Xenial Xerus) server.

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

A Ubuntu 16.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.0 libapache2-mod-php7.0 php7.0-mbstring php7.0-curl php7.0-zip php7.0-gd php7.0-mysql php7.0-mcrypt

Step 3. Installing Nextcloud.

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

wget https://download.nextcloud.com/server/releases/nextcloud-9.0.52.zip

Unpack the Nextcloud archive to the document root directory on your server:

unzip nextcloud-9.0.52.zip
mv nextcloud /var/www/html

We will need to change some folders permissions:

chown -R www-data:www-data /var/www/html/nextcloud

Step 4. Configuring MariaDB for Nextcloud.

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 Nextcloud. 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 Nextcloud installation:

MariaDB [(none)]> CREATE DATABASE nextcloud;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost' IDENTIFIED BY 'strong_password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> \q

Disable MariaDB binary logging by commenting the following lines:

nano /etc/mysql/my.cnf

Add the following three lines in [mysqld] section:

log-bin = /var/log/mysql/mariadb-bin
log-bin-index = /var/log/mysql/mariadb-bin.index
binlog_format = mixed

Step 5. Configuring Apache web server for Nextcloud.

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

sudo a2enmod rewrite
touch /etc/apache2/sites-available/nextcloud.conf
ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf
nano /etc/apache2/sites-available/nextcloud.conf

Add the following lines:

ServerAdmin [email protected]
DocumentRoot "/var/www/html/nextcloud/"
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory "/var/www/html/nextcloud/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

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

systemctl restart apache2.service

Step 6. Accessing Nextcloud.

Nextcloud 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. What you do with Nextcloud is up to you. You can add new modules or just use it as a cloud-based file sync and share. You can install the Android app and even make use of the ownCloud desktop clients (they’ll work fine with Nextcloud).

next cloud install on ubuntu 16 login page
Congratulation’s! You have successfully installed Nextcloud. Thanks for using this tutorial for installing Nextcloud personal cloud storage on your Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Nextcloud web site.

[youtube https://www.youtube.com/watch?v=wqRgeFXYUys]

How To Install GlassFish on Ubuntu 16.04

Install GlassFish on Ubuntu 16

GlassFish is a popular app server that can run java based web applications for you. GlassFish 4.1 release supports the latest Java Platform: Enterprise Edition 7. It supports Enterprise JavaBeans, JPA, JavaServer Faces, JMS, RMI, JavaServer Pages, servlets, etc.

Install GlassFish on Ubuntu 16.04

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 GlassFish on a Ubuntu 16.04 (Xenial Xerus) server.

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. Installing Java (JRE or JDK).

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

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 3. Install GlassFish.

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

wget http://download.java.net/glassfish/4.1.1/release/glassfish-4.1.1.zip

Once the Download completed successfully, extract the GlassFish archive to the document root directory on your server:

unzip glassfish-4.1.1.zip

Start the GlassFish server by using the following command as follows:

glassfish4/bin/asadmin start-domain

Step 4. Accessing GlassFish.

The default GlassFish Server’s port is 8080 and administration server’s port is 4848 with the administration user name as admin with no password. We can visit http://ip-address:8080/ to check the homepage of GlassFish Server and http://ip-address:4848/ to get the admin login page in our web browser and complete the required the steps to finish the installation. If you are using a firewall, please open port 4848 and 8080 to enable access to the control panel.

Congratulations! You have successfully installed GlassFish. Thanks for using this tutorial for installing GlassFish in Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official GlassFish web site.

Easy Guide To Install Skype on Ubuntu 16.04

Install Skype on Ubuntu 16

Skype is a very popular communication software. Skype can be used for audio and video communication as well as text. You can also call land line with small cost via skype. Skype also offers some rich features like voice mail, video chat, instant messaging, call forwarding, conference calling and many more.

Install Skype on Ubuntu 16.04

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 Skype on a Ubuntu 16.04 (Xenial Xerus) server.

Step 1. First, you need to enable Canonical partner repository on your system with the below command.

sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo dpkg --add-architecture i386
sudo apt-get update

Step 2. Installing Skype.

If you have the partner repositories enabled you can simply install with the below command:

sudo apt-get install skype

Step 3. Accessing Skype.

Skype should now be installed on you Ubuntu 16.04 system. Use Ubuntu’s application menu to start Skype or start Skype directly from your terminal:

skype

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

How To Install Rukovoditel on Ubuntu 16.04

Install Rukovoditel on Ubuntu 16

Rukovoditel is a system for managing projects and tasks. But extensive customization options allow you to create additional entities, configure the relationship between them and create the necessary reports. Thus, you can create your own application, the most suitable for you.

Install Rukovoditel on Ubuntu 16.04

This tutorial assumes you have at least basic knowledge of linux, know how to use the shel. 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 Rukovoditel on a Ubuntu 16.04 LTS (Xenial Xerus) server.

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

A Ubuntu 16.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here and install all necessary modules, run:

apt-get install php7.0 libapache2-mod-php7.0 php7.0-mbstring php7.0-curl php7.0-zip php7.0-gd php7.0-mysql php7.0-mcrypt

Step 3. Installing Rukovoditel.

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

wget http://downloads.sourceforge.net/project/rukovoditel/rukovoditel_1.7.1.zip

Unpack the Rukovoditel archive to the document root directory on your server:

unzip rukovoditel_1.7.1.zip -d rukovoditel
mv rukovoditel/ /var/www/html/rukovoditel

We will need to change some folders permissions:

chown -R www-data:www-data /var/www/html/rukovoditel

Step 4. Configuring MariaDB for Rukovoditel.

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 Rukovoditel:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter:

MariaDB [(none)]> CREATE DATABASE rukovoditel;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON rukovoditel.* TO 'rukovoditeluser'@'localhost' IDENTIFIED BY 'your-password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> \q

Step 5. Configuring Apache web server for Rukovoditel.

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

sudo a2enmod rewrite
touch /etc/apache2/sites-available/rukovoditel.conf
ln -s /etc/apache2/sites-available/rukovoditel.conf /etc/apache2/sites-enabled/rukovoditel.conf
nano /etc/apache2/sites-available/rukovoditel.conf

Add the following lines:

ServerAdmin [email protected]
DocumentRoot "/var/www/html/rukovoditel/"
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory "/var/www/html/rukovoditel/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

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

systemctl restart apache2.service

Step 6. Accessing Rukovoditel.

Nextcloud 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 Rukovoditel. Thanks for using this tutorial for installing Rukovoditel on your Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Rukovoditel web site.

[youtube https://www.youtube.com/watch?v=u_sDe1zo-YM]

How To Install October CMS on Ubuntu 16.04

Install October CMS on Ubuntu 16

October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. Thousands of digital studios and freelancers all over the world love October for its simplicity, flexibility and modern design. Their clients are happy, because October saves them both time and money.

OCTOBER CMS installation on ubuntu 16

Install October CMS on Ubuntu 16.04

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 October CMS on a Ubuntu 16.04 (Xenial Xerus) server.

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

A Ubuntu 16.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.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 <code>php7.0-mcrypt php7.0-gd
</code>

Step 3. Installing October CMS.

First thing to do is to go to October CMS’s download page and download the latest stable version of October CMS:

wget http://octobercms.com/download -O octobercms.zip

Unpack the October CMS archive to the document root directory on your server:

unzip octobercms.zip -d /var/www/html/octobercms/

Set the file permissions for October CMS:

chown -R www-data:www-data /var/www/octobercms/
chmod -R 755 /var/www/html/

Step 4. Configuring MariaDB for October CMS.

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 October CMS. 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 October CMS installation:

MariaDB [(none)]&gt; create database octobercmsdb character set utf8;
MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON octobercmsdb.* TO 'octobercms'@'localhost' IDENTIFIED BY 'Y0uR-Passw0rD';
MariaDB [(none)]&gt; flush privileges;
MariaDB [(none)]&gt; quit

Step 5. Configuring Apache web server for October CMS.

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

sudo a2enmod rewrite
touch /etc/apache2/sites-available/octobercms.conf
ln -s /etc/apache2/sites-available/octobercms.conf /etc/apache2/sites-enabled/octobercms.conf
nano /etc/apache2/sites-available/octobercms.conf

Add the following lines:

ServerAdmin [email protected]
DocumentRoot /var/www/octobercms/
ServerName your-domain.com
ServerAlias www.your-domain.com

Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

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

systemctl restart apache2.service

Step 6. Accessing October CMS.

October CMS 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. The default username admin and password admin. If you are using a firewall, please open port 80 to enable access to the control panel.

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

[youtube https://www.youtube.com/watch?v=ERiwIGsaZN8]

How To Install Nagios on Ubuntu 16.04

Install Nagios on Ubuntu 16

Nagios is an open source software that can be used for network and infrastructure monitoring. Nagios will monitor servers, switches, applications and services. It alerts the System Administrator when something went wrong and also alerts back when the issues has been rectified. Resources that can be monitored include CPU, memory and disk space loads, log files, temperature or hardware errors. It can monitor various parameters and problems for services like HTTP, SMTP, DNS, and with the help of plugins it can be highly extended. Nagios core was originally designed to run under Linux, although it should work under most other unices 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 Nagios on a Ubuntu 16.04 (Xenial Xerus) server.

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

A Ubuntu 16.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.0 openssl perl make php7.0-gd libgd2-xpm-dev libapache2-mod-php7.0 libperl-dev libssl-dev daemon wget apache2-utils unzip

Step 3. Create users and groups for Nagios.

Now create a new nagios user account and setup a password to this account:

useradd nagios
groupadd nagcmd
usermod -a -G nagcmd nagios
usermod -a -G nagcmd www-data

Step 4. Installing Nagios and plugins.

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

wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.1.1.tar.gz
tar -zxvf /tmp/nagios-4.1.1.tar.gz
cd /tmp/nagios-4.1.1/

Perform below steps to compile the Nagios from the source code:

./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-httpd_conf=/etc/apache2/sites-enabled/
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf

Next steps, Download latest nagios-plugins source and install using following commands:

wget http://www.nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz
tar xzf nagios-plugins-2.1.1.tar.gz
cd nagios-plugins-2.1.1
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install

Step 5. Configure Nagios.

Edit the /usr/local/nagios/etc/objects/contacts.cfg config file with your favorite editor and change the email address associated with the nagiosadmin contact definition to the address you’d like to use for receiving alerts.

nano /usr/local/nagios/etc/objects/contacts.cfg

Change the email address field to receive the notification:

[...]
define contact{
contact_name nagiosadmin ; Short name of userus
generic-contact ; Inherit default values from generic-contact template (defined above)
alias Nagios Admin ; Full name of useremail
[email protected] ; &amp;lt;&amp;lt;***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
[...]

Step 6. Configure Apache web server for Nagios.

Now create nagios apache2 configuration file:

nano /etc/apache2/sites-enabled/nagios.conf

Edit the following lines if you want to access nagios administrative console from a particular IP series, Here, I want to allow nagios administrative access from 192.168.1.0/24 series only:

[...]
## Comment the following lines ##
# Order allow,deny
# Allow from all

## Uncomment and Change lines as shown below ##
Order deny,allow
Deny from all
Allow from 127.0.0.1 192.168.1.0/24
[...]

Enable Apache’s rewrite and cgi modules:

sudo a2enmod rewrite
sudo a2enmod cgi

Configure Apache authentication:

We need to setup the password for the user nagiosadmin. This username will be used to access the web interface so it is important to remember the password that you will input here. Set the password running the following command and enter the password twice:

# sudo htpasswd -s -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
New password:
Re-type new password:
Adding password for user nagiosadmin

Restart Apache for the changes to take effect:

systemctl restart apache2

Step 7. Verify and Start Nagios service.

Next we have to make Nagios start at boot time, so first verify that the configuration file has no errors running the following command:

sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

And you should get the output:

[...]
Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
[...]

Ubuntu 16.04 uses systemd for starting / stopping all the services, so, we need to create nagios.service file:

nano /etc/systemd/system/nagios.service

Add the following lines:

[Unit]
Description=Nagios
BindTo=network.target

[Install]
WantedBy=multi-user.target

[Service]
User=nagios
Group=nagios
Type=simple
ExecStart=/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg

Enable Nagios to start automatically at system startup:

systemctl enable /etc/systemd/system/nagios.service

Now, start Nagios service:

systemctl start nagios

Step 8. Accessing Nagios.

Nagios will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/install.php or http://server-ip/install.php and complete the required the steps to finish the installation. When prompted for username and password you will introduce the username “nagiosadmin” and the password that you entered in step 6.
Nagios-admin-panel
Congratulation’s! You have successfully installed Nagios. Thanks for using this tutorial for installting Nagios monitoring tool in ubuntu 16.04 (Xenial Xerus) systems. For additional help or useful information, we recommend you to check the official Nagios web site.

How To Install YetiForce CRM on Ubuntu 16.04

Install YetiForce CRM on Ubuntu 16

YetiForce is an open source innovative CRM system. YetiForce was built on a rock-solid Vtiger foundation, but has hundreds of changes that help to accomplish even the most challenging tasks in the simplest way. Every function within the system was thought through and automated to ensure that all of them work together seamlessly and form a coherent integrity.

Install YetiForce CRM on Ubuntu 16.04

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 YetiForce CRM on a Ubuntu 16.04 (Xenial Xerus) server.

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

A Ubuntu 16.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.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 <code>php7.0-mcrypt php7.0-gd
</code>

tep 3. Installing YetiForce CRM.

First thing to do is to go to YetiForce CRM’s download page and download the latest stable version of YetiForce CRM, At the time of writing, the latest version is YetiForce version 3.1.0:

wget https://github.com/YetiForceCompany/YetiForceCRM/archive/3.1.0.zip

Unpack the YetiForce archive to the document root directory on your server:

unzip 3.1.0.zip -d /var/www/html/
mv YetiForceCRM-3.1.0 yetiforce

Set the file permissions for YetiForce CRM:

chown -R www-data:www-data /var/www/html/yetiforce/

Step 4. Configuring MariaDB for YetiForce CRM.

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 YetiForce CRM. 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 YetiForce CRM installation:

MariaDB [(none)]&gt; CREATE DATABASE yetiforce;
MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON yetiforce.* TO 'yetiforce'@'localhost' IDENTIFIED BY 'strong_password';
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
MariaDB [(none)]&gt; \q

Step 5. Configuring Apache web server for YetiForce CRM.

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

sudo a2enmod rewrite
touch /etc/apache2/sites-available/yetiforce.conf
ln -s /etc/apache2/sites-available/yetiforce.conf /etc/apache2/sites-enabled/yetiforce.conf
nano /etc/apache2/sites-available/yetiforce.conf

Add the following lines:

ServerAdmin [email protected]
DocumentRoot /var/www/html/yetiforce/
ServerName your-domain.com
ServerAlias www.your-domain.com

Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

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

systemctl restart apache2.service

Step 6. Accessing YetiForce CRM.

YetiForce CRM 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. The default username admin and password admin. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed YetiForce CRM. Thanks for using this tutorial for installing YetiForce customer relationship management on your Ubuntu 16.04 system. For additional help or useful information, we recommend you to check the official YetiForce CRM web site.

[youtube https://www.youtube.com/watch?v=UhqxUabMej4]