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]

How To Install Dokuwiki on Ubuntu 16.04

Install Dokuwiki on Ubuntu 16

DokuWiki is considered to be the most versatile open source Wiki software application which is proven to meet your demanding wiki needs. Using a very familiar interface, it allows you to easily scale and optimize using many advanced features. Utilizing files instead of a database, DokuWiki is extremely flexible with the type of system it will run on (no database server required).

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

Install Dokuwiki 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-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 php7.0-xml <code>php7.0-mcrypt php7.0-gd
</code>

Step 3. Installing Dokuwiki.

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

wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz

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

tar xvf dokuwiki-stable.tgz
mv dokuwiki-*/ /var/www/dokuwiki

We will need to change some folders permissions:

chown www-data:www-data -R /var/www/dokuwiki
chmod -R 707 /var/www/dokuwiki

Step 4. Configuring Apache web server for DokuWiki.

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

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

Add the following lines:

ServerAdmin [email protected]
DocumentRoot /var/www/dokuwiki/
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 5. Accessing DokuWiki.

DokuWiki 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. If you are using a firewall, please open port 80 to enable access to the control panel.

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

How To Install Icinga 2 on Ubuntu 16.04

Install Icinga 2 on Ubuntu 16

Icinga 2 is an open source network monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. Its Scalable and extensible, Icinga2 can monitor large, complex environments across multiple locations.

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

Icinga 2 Features:

Monitoring of network services (SMTP, POP3, HTTP, NNTP, ping, etc.)
Monitoring of host resources (CPU load, disk usage, etc.)
Monitoring of server components (switches, routers, temperature and humidity sensors, etc.)
Simple plug-in design that allows users to easily develop their own service checks,
Parallelized service checks.
Ability to define network host hierarchy using “parent” hosts, allowing detection of and distinction between hosts that are down and those that are unreachable.
Ability to define event handlers to be run during service or host events for proactive problem resolution.
Notification of contact persons when service or host problems occur and get resolved (via email, pager, or user-defined method).
Escalation of alerts to other users or communication channels.
Two optional user interfaces (Icinga Classic UI and Icinga Web) for visualization of host and service status, network maps, reports, logs, etc.
Icinga Reporting module based on open source Jasper Reports for both Icinga Classic and Icinga Web user interfaces
Capacity utilization reporting.
Performance graphing via add-ons such as PNP4Nagios, NagiosGrapher and InGraph.

Install Icinga 2 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-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 &lt;code&gt;php7.0-mcrypt
&lt;/code&gt;

Step 3. Installing Icinga 2.

First, enable the add-repository feature and add the repository for Icinga with the below commands:

apt install software-properties-common
add-apt-repository ppa:formorer/icinga

Install Icinga 2 package:

apt update
apt install icinga2

Once the installation is complete. Make sure the service is up and running fine:

systemctl status icinga2.service
systemctl enable icinga2.service
systemctl start icinga2.service

By default, Icinga2 enables the following features. But we can confirm the enabled settings by running this command as below:

icinga2 feature list

Step 3. Installing Icinga2 plugin.

Icinga2 will collect the service information based on the monitoring plugins. So, we need to install nagios plugin using below command:

apt install nagios-plugins

Next, you need to install the IDO module which is crucial for the Icinga 2 web interface. It will export all configuration and status information into its database. Execute the following command:

apt install icinga2-ido-mysql

Then restart Icinga 2 for the changes to take effect:

systemctl restart icinga2.service

Once you enabled the IDO modules, Icinga 2 places the new configuration file at /etc/icinga2/features-enabled/ido-mysql.conf in which we need to update the database credentials manually:

cat /etc/icinga2/features-enabled/ido-mysql.conf

Update the above file shown like below:

root@:wpcademy.com~# nano /etc/icinga2/features-enabled/ido-mysql.conf
/**
* The db_ido_mysql library implements IDO functionality
* for MySQL.
*/
library "db_ido_mysql"
object IdoMysqlConnection "ido-mysql" {
user = "icinga2",
password = "icinga123",
host = "localhost",
database = "icinga2"
}

Step 4. Configuring MariaDB for Icinga 2.

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 Icinga 2. 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 Icinga 2 installation:

MariaDB [(none)]&amp;gt; create database icinga2;
MariaDB [(none)]&amp;gt; grant all privileges on icingaweb.* to icinga2@localhost identified by 'icinga123';
MariaDB [(none)]&amp;gt; flush privileges;
MariaDB [(none)]&amp;gt; \q

Step 5. Installing Icinga 2 Web.

After creating the database, we can install the Web interface plugin and configure it one by one:

apt-get install icingaweb2

Step 6. Accessing Icinga 2.

Icinga2 will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/icingaweb2/setup or http://server-ip/icingaweb2/setup 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.
icingaweb2

Congratulation’s! You have successfully installed Icinga 2. Thanks for using this tutorial for installing Icinga 2 network monitoring on Ubuntu 16.04 LTS systems. For additional help or useful information, we recommend you to check the official Icinga 2 web site.

How To Install Open Source Social Network on Ubuntu 16.04

Install Open Source Social Network on Ubuntu 16

Opensource-Social network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests.

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 Open Source Social Network (OSSN) on a Ubuntu 16.04 (Xenial Xerus) server.

Install Open Source Social Network 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-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 &lt;code&gt;php7.0-mcrypt
&lt;/code&gt;

Step 3. Installing Open Source Social Network.

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

cd /opt/
wget https://www.opensource-socialnetwork.org/downloads/ossn-v4.2-1468404691.zip -O ossn.zip
unzip ossn.zip -d /var/www/html/

We will need to change some folders permissions:

chown -R www-data.www-data /var/www/html/ossn/

Step 4. Configuring MariaDB for Open Source Social Network.

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

MariaDB [(none)]&amp;gt; SET GLOBAL sql_mode='';
MariaDB [(none)]&amp;gt; CREATE DATABASE ossndb;
MariaDB [(none)]&amp;gt; CREATE USER 'ossnuser'@'localhost' IDENTIFIED BY 'y0ur-pAssW0RD';
MariaDB [(none)]&amp;gt; GRANT ALL PRIVILEGES ON ossndb.* TO 'ossnuser'@'localhost';
MariaDB [(none)]&amp;gt; FLUSH PRIVILEGES;
MariaDB [(none)]&amp;gt; \q

Step 5. Configuring Apache web server for Open Source Social Network.

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

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

Add the following lines:

ServerAdmin [email protected]
DocumentRoot /var/www/html/ossn/
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

Next, You can edit the PHP configuration file:

nano /etc/php/7.0/cli/php.ini

And modify these lines:

allow_url_fopen = On
file_uploads = On
upload_max_filesize = 32M

OSSN also needs a directory for storing the uploaded files such as images. For security reasons we will create this directory outside of the document root directory:

mkdir -p /var/www/ossndatadir

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

systemctl restart apache2.service

Step 6. Accessing Open Source Social Network.

Open Source Social Network 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. Log in to the OSSN administration back-end at http://your-domain.com/administrator and configure OSSN according to your needs.

Congratulation’s! You have successfully installed Open Source Social Network. Thanks for using this tutorial for installing Open Source Social Network on Ubuntu 16.04 systems. For additional help or useful information, we recommend you to check the official Open Source Social Network web site.

How To Install Magento on Ubuntu 16.04 LTS

Install Magento on Ubuntu

Magento is one of the worlds most widely used applications for managing E-Commerce sites. Magento is fully customizable to meet the users requirements and allowing them to create and launch a fully functional online store in minutes. Magento employs the MySQL relational database management system, the PHP programming language, and elements of the Zend Framework.

Marry content with commerce to customer demands for flawless brand interactions. Magento Commerce features are ever evolving with the consumer in mind. Own your customer experience, craft personalized content and promotions, and deliver a smooth path to purchase. Page Builder is a simple drag and drop solution to eCommerce website builders.

Page Builder
Customer Segmentation & Personalization
Content Staging & Preview
Instant Purchase
Merchandising

Install Magento on Ubuntu 16.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 Magento 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 imagemagick php7.0-curl php7.0-gd php7.0-mbstring php7.0-mysql libapache2-mod-php7.0 php7.0-mcrypt

Step 3. Installing Magento.

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

wget http://www.magentocommerce.com/downloads/assets/2.1.2/magento-2.1.2.zip

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

unzip magento*.zip
cp -rf magento/* /var/www/html/

We will need to change some folders permissions:

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

Step 4. Configuring MariaDB for Magento.

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

CREATE DATABASE magentodb;
GRANT ALL PRIVILEGES ON magentodb . * TO magento@'localhost' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;
flush privileges;
exit

Step 5. Configuring Apache web server for Magento.

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

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

Add the following lines:

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

Options FollowSymLinks
AllowOverride All

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

Save and close the file. Restart the apache service for the changes to take effects:

systemctl restart apache2

Step 6. Configure PHP for Magento.

Now here we should allow Magento to use enough PHP memory (it is recommended that PHP should be allowed 512 MB of RAM). To do that, run the commands below to open the configuration file:

nano /etc/php5/apache2/php.ini

Search for the line ‘memory_limit‘ in the file:

memory_limit = 128M
### And change the value to 512 ###
memory_limit = 512M

Restart Apache for the changes to take effect using the following command:

systemctl restart apache2

Step 7. Accessing Magento.

Magento 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 Magento. Thanks for using this tutorial for installing Magento eCommerce in Ubuntu 16.04 LTS system. For additional help or useful information, we recommend you to check the official Magento web site.

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

How To Install LimeSurvey on Ubuntu 16.04 LTS

Install LimeSurvey on Ubuntu 16

LimeSurvey (formerly PHPSurveyor) is an open source online survey application. It has been widely used by many big industries to create the survey tasks. It has many powerful features like creating dynamic fields for survey. Supports multilingual, defines userroles, user groups and the more it has been integrated into various CMS. The limesurvey team provides the commercial for those who are seeking.As well as community support for its users.

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

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

Step 3. Installing LimeSurvey.

Download the latest stable version of LimeSurvey, At the moment of writing this article it is version 2.64.1:

wget https://www.limesurvey.org/stable-release?download=2015:limesurvey2641%20170310zip
unzip "stable-release?download=2015:limesurvey2641 170310zip"
mv limesurvey/ /var/www/html/limesurvey/

We will need to change some folders permissions:

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

Step 4. Configuring MariaDB.

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

CREATE DATABASE limesurvey;
GRANT ALL PRIVILEGES ON limesurvey.* TO 'limeuser'@'localhost' IDENTIFIED BY 'your-password';
FLUSH PRIVILEGES;
\q

Step 5. Configuring Apache web server for LimeSurvey.

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

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

Add the following lines:


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

Options FollowSymLinks
AllowOverride 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 LimeSurvey.

LimeSurvey will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/admin or http://server-ip/admin 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 LimeSurvey. Thanks for using this tutorial for installing LimeSurvey leading free online survey app on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official LimeSurvey web site.

How To Install Open Eshop on Ubuntu 16.04 LTS

Install Open Eshop on Ubuntu 16

Open eShop is an open source ecommerce software written in PHP which allows you to sell software, music, ebooks or anything else you may want.

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 Open eShop in Ubuntu 16.04 LTS Xenial Xerus.

Install Open Eshop on Ubuntu 16.04 LTS

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 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-readline php7.0-curl php7.0-gd php7.0-mbstring libapache2-mod-php7.0 php7.0-mcrypt php7.0-bz2 php7.0-zip

Step 3. Installing Open eShop Lite.

First, download the latest stable version of the Open Eshop installation file from their official website with the following command:

mkdir /var/www/html/openeshop
cd /var/www/html/openeshop
wget https://raw.githubusercontent.com/open-classifieds/open-eshop/master/install-eshop.php

Change the owner of the script with the following command:

chown -R www-data:www-data install-eshop.php

Step 4. Configure MariaDB Database for Open eShop.

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 MySQL.

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 Open eShop. 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 the Open eShop software:

CREATE DATABASE openeshop_db;
CREATE USER 'openeshop'@'localhost' IDENTIFIED BY 'usr_strong_pwd';
GRANT ALL PRIVILEGES ON openeshop_db.* TO 'openeshop'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Step 5. Configuring Apache web server for Open eShop.

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

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

Add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/openeshop/
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/openeshop/>
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>

Next step we will need to adjust the some some values in the PHP configuration files as follow:

nano /etc/php/7.0/apache2/php.ini

Update the values for post_max_size, upload_max_filesize, and short_open_tag as follows:

post_max_size = 64M
upload_max_filesize = 64M
short_open_tag = On

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

systemctl restart apache2.service

Step 6. Accessing Open eShop.

Open eShop 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 Open eShop. Thanks for using this tutorial for installing Open eShop open source software for eCommerce platforms on your Ubuntu 16.04 LTS system. For additional help or useful information, we recommend you to check the official Open eShop web site.