How To Install LAMP on Ubuntu 14.04

lamp-logo

For those of you who didn’t know, LAMP represents a full featured stack containing the most popular web server known as Apache, the most popular database server MySQL and the most popular open-source web programming language known as PHP. All components are free and open-source software, and the combination is suitable for building dynamic web pages.

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 LAMP (Linux Apache, MySQL and PHP) on Ubuntu 14.04.

Install LAMP on Ubuntu 14.04

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

Step 2. Installing Apache on Ubuntu 14.04.

We will be installing Apache with apt-get, which is the default package manager for ubuntu:

Start Apache and add it to automatically start on your system start-up using:

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

Apache Default Page
Apache Default Page

Step 3. Installing MySQL on Ubuntu 14.04.

Install MySQL with the following command to begin the install:

You can verify the MySQL server status using command:

By default, MySQL is not hardened. You can secure MySQL 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:

To log into MySQL, use the following command (note that it’s the same command you would use to log into a MySQL database):

Step 4. Installing PHP on Ubuntu 14.04.

Finally, run the commands below to install PHP along with other good-to-have modules:

Your server should restart Apache automatically after the installation of both MySQL and PHP. If it doesn’t, execute this command:

To test PHP, create a test file named info.php with he content below. Save the file, then browse to it to see if PHP is working:

Try to access it at http://your_server_ip/info.php . If the PHP info page is rendered in your browser then everything looks good and you are ready to proceed further.

phpinfo-LAMP-ubuntu

Congratulation’s! You have successfully installed LAMP stack. Thanks for using this tutorial for installing LAMP (Linux Apache, MySQL and PHP) in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Apache, MySQL and PHP web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install osTicket on Ubuntu 14.04

Install osTicket on Ubuntu 14.04

In this tutorial we will show you how to install and configuration of osTicket on your Ubuntu 14.04 server. For those of you who didn’t know, os-Ticket is a widely-used and trusted open source support ticket system. It seamlessly routes inquiries created via email, web-forms and phone calls into a simple, easy-to-use, multi-user, web-based customer support platform. Generally Used for Help Desk services.

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 osTicket on Ubuntu 14.04.

Install osTicket on Ubuntu 14.04

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

Step 2. Install LAMP server and include some PHP extension.

Start service Apache web server and MySQL also enable it to start on boot of the server:

Step 3. Configuring MySQL for osTicket.

By default, MySQL is not hardened. You can secure MySQL 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:

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

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

Step 4. Install osTicket.

Download the latest stable version of osTicket, At the moment of writing this article it is version 1.9.8:

We will need to change some folders permissions:

Restart the Apache service for the changes to take effect:

Now as you can See the Installation wizzard has been started, and its confirmed that our OS-ticket installation, Open your favorite browser and navigate to http://yourdomain.com/osticket or http://server-ip/osticket.

Install osTicket on Ubuntu 14.04

Next step, copy file ost-sampleconfig.php and rename to ost-config.php:

Now change proper permisson:

Install osTicket on Ubuntu 14.04

Step 5. Accessing osTicket.

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

Congratulation’s! You have successfully installed osTicket. Thanks for using this tutorial for installing osTicket (Open source ticketing tool) on Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official osTicket web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install GlassFish on Ubuntu 14.04

Install GlassFish on Ubuntu 14.04

For those of you who didn’t know, 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.

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 GlassFish in Ubuntu 14.04 server.

Install GlassFish on Ubuntu 14.04

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

Step 2. Install Java JDK 8 on Ubuntu 14.04.

Verify Installed Java Version:

Result:

Step 3. Install GlassFish.

GlassFish should not run under root privileges, to run it as a non-root user we will create a user glassfish. If you wish to run glassfish as root simply skip this step and perform everything as root, however I strongly discourage that. The user’s home directory will be glassfish directory:

Download the latest stable version of GlassFish, At the moment of writing this article it is version 4.1:

Create init script for the GlassFish service:

Add the following code lines:

Make the ‘glassfish’ script executable:

To start GlassFish service daemon, use the following command:

To turn the remote administration on and access the GlassFish admin console via web browser, execute the following commands:

Step 4. Accessing GlassFish.

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

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

How To Install XFCE Desktop on Ubuntu 14.04

Install XFCE Desktop on Ubuntu 14.04

For those of you who didn’t know, XFCE is one of the most popular desktop environment for linux desktop. XFCE is a free lightweight, fast and easy to use software desktop environment for Unix/Linux like operating systems. It is designed for productivity and aims to be fast and low on system resources. Unlike GNOME and KDE desktops which are heavier, but XFCE uses fewer system resources. Furthermore, it offers better modularity and less dependencies to install and takes less time and low disk space on your hard drive.

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 Zabbix on Ubuntu 14.04.

Step 1. Install Xfce in Ubuntu systems using a PPA.

The latest stable version of xfce, At the moment of writing this article it is version 4.12:

If you already running, want to upgrade it to latest version, issue following commands:

To uninstall and remove the PPA and downgrade, run:

After installation there is no need to restart the system you can get the XFCE desktop. Now log off from current user and login back once again but click on ubuntu logo which is at right corner at user login box. On clicking the ubuntu logo, menu will appear select the XFCE one.

Congratulation’s! You have successfully installed XFCE Desktop. Thanks for using this tutorial for installing XFCE desktop environment on Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official XFCE web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Zabbix on Ubuntu 14.04

Install Zabbix on Ubuntu 14.04

This tutorial will show you how to install Zabbil on Ubuntu 14.04. For those of you who didn’t know, Zabbix is an open source monitoring tool that is ideal for monitoring your cloud servers. Zabbix is very flexible, information can be retrieved using HTTP/SNMP or by installing a Zabbix agent on the machines to monitor, and allows a lot of customization.

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 Zabbix on Ubuntu 14.04.

Install Zabbix on Ubuntu 14.04

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

Step 2. Install LAMP server and include some PHP extension.

Start service Apache web server and MySQL also enable it to start on boot of the server:

Step 3. Install Zabbix

Adding apt repository:

After adding zabbix apt repository in your system, Now update package lists and install Zabbix using commands:

Step 4. Zabbix Configuration.

Adjust the following values and make a note of the password you’ve chosen. You’ll need it later too.

Step 5. Configure MySQL Database for Zabbix.

By default, MySQL is not hardened. You can secure MySQL 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.

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

This will prompt you for a password, so enter your MySQL root password and hit Enter. Once you are logged in to your database server you need to create a database for the Zabbix software:

Next we’ll import the schemas into the newly created database:

Step 6. Configure Apache web server for Zabbix.

First, we’ll move the Zabbix apache file from the package directory:

Edit the Zabbix init file to ensure that it performs the correct action:

We should adjust php.ini file as per zabbix recommended settings:

Next copy the example config to the /etc/zabbix directory. Then make the necessary adjustments too:

Restart the Apache and zabbix service for the changes to take effect:

Step 7. Accessing Zabbix.

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

Install Zabbix on Ubuntu 14.04
Install Zabbix Monitoring Tool on Ubuntu 14.04

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Adobe Flash Player 11.2 on Ubuntu

Install Adobe Flash Player 11.2 on Ubuntu

For those of you who didn’t know, 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 11.2 on Ubuntu 14.04.

Install Adobe Flash Player 11.2 on Ubuntu

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

Step 2. Installing Adobe Flash on Ubuntu

Now install the flash player for 32 bit system using the below command:

Now install the flash player for 64 bit system using the below command:

Add the following lines:

Update repositories and installing flash plugin:

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Drupal on Ubuntu 14.04

drupal-logo

This tutorial will show you how to install Drupal on Ubuntu 14.04. For those of you who didn’t know, Drupal is an open-source and one of the most popular PHP based content Management System (CMS) platform for building personal blogs or big corporate websites. It has thousands of templates and plugins that are mostly free to download and install. Due to the stability of the base, the adaptability of the platform, and its active community, Drupal remains a popular choice after more than a decade on the scene.

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 Drupal on Ubuntu 14.04.

Install Drupal on Ubuntu 14.04

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

Step 2. Install LAMP server and include some PHP extension.

Start LAMP service, enable to start on boot:

Step 3. Configuring MySQL for Drupal.

By default, MySQL is not hardened. You can secure MySQL 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:

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

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

Step 4. Install Drupal.

Download the latest stable version of Drupal, At the moment of writing this article it is version 7.37:

We will need to change some folders permissions:

Step 5. Configuring Apache web sever.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file ‘drupal.conf’:

Then, add the following lines:

There are also few tweaks recommended by the Drupal development team that can be implemented. To do that edit your PHP configuration file:

Set the “expose_php” and the “”allow_url_fopen”” directives to “Off”:

Restart the Apache service for the changes to take effect:

Step 6. Accessing Drupal.

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

install-drupal
Drupal start up installation page

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Apache Hadoop on Ubuntu 14.04

Install Apache Hadoop on Ubuntu 14.04

This tutorial will show you how to install Apache Hadoop on Ubuntu 14.04. For those of you who didn’t know, Apache Hadoop is a an open-source software framework written in Java for distributed storage and distributed process, it handles very large size of data sets by distributing it across computer clusters. Rather than rely on hardware to deliver high-availability, the library itself is designed to detect and handle failures at the application layer, so delivering a highly-available service on top of a cluster of computers, each of which may be prone to failures.

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 Apache Hadoop on Ubuntu 14.04.

Install Apache Hadoop on Ubuntu 14.04

Step 1. Install Java (OpenJDK).

Since hadoop is based on java, make sure you have java jdk installed on the system. If you don’t have Java installed on your system, use following link to install it first.

Step 2. Disabling IPv6.

As of now Hadoop does not support IPv6, and is tested to work only on IPv4 networks. If you are using IPv6, you need to switch Hadoop host machines to use IPv4:

Add these 3 lines at the end of the file:

Step 3. Install Apache Hadoop.

To avoid security issues, we recommend to setup new Hadoop user group and user account to deal with all Hadoop related activities, following command:

After creating user, it also required to set up key based ssh to its own account. To do this use execute following commands:

Download the latest stable version of Apache Hadoop, At the moment of writing this article it is version 2.7.0:

Step 4. Configure Apache Hadoop.

Setup Hadoop environment variables. Edit ~/.bashrc file and append following values at end of file:

Apply environmental variables to current running session:

Now edit $HADOOP_HOME/etc/hadoop/hadoop-env.sh file and set JAVA_HOME environment variable:

Hadoop has many of configuration files, which need to configure as per requirements of your hadoop infrastructure. Lets start with the configuration with basic hadoop single node cluster setup:

Edit core-site.xml:

Edit hdfs-site.xml:

Edit mapred-site.xml:

Edit yarn-site.xml:

Now format namenode using following command, do not forget to check the storage directory:

Start all hadoop services use the following command:

You should observe the output to ascertain that it tries to start datanode on slave nodes one by one. To check if all services are started well use ‘jps‘ command:

Step 5. Accessing Apache Hadoop.

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

Install Apache Hadoop on Ubuntu 14.04

Browse the web interface for the ResourceManager by default it is available at http://yourdomain.com:8088 or http://server-ip:8088:

Install Apache Hadoop on Ubuntu 14.04

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Sandstorm on Ubuntu 14.04

Sandstorm on Ubuntu 14.04

For those of you who didn’t know, Sandstorm is an open source hosting platform for personal instances of web apps. Users can upload and install arbitrary software. In addition to improving privacy and control, this is the only way to make Open Source web apps viable. A few examples of the apps that can be installed using Sandstorm are WordPress, GitLab, MediaWiki, Apache Wave, and RoundCube webmail.

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 Sandstorm on Ubuntu 14.04.

Install Sandstorm on Ubuntu 14.04

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

Step 2. Install Sandstorm.

To install on your own Linux machine, just do:

Or, if you don’t like piping directly to shell, download first:

Step 3. Accessing Sandstorm.

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

Sandstorm on Ubuntu 14.04
sandstorm

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Adminer on Ubuntu 14.04

adminer-logo

In this tutorial we will show you how to install and configuration of Adminer on your Ubuntu 14.04 server. For those of you who didn’t know, Adminer is a database management tool written in PHP. It is similar to phpMyAdmin and it is developed to improve security, user experience, performance etc. It is very lightweight and at the same time it is very powerful. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL and Oracle.

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 Adminer on Ubuntu 14.04.

Install Adminer on Ubuntu 14.04

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

Step 2. Install LAMP server and include some PHP extension.

Start LAMP service, enable to start on boot:

Step 3. Install Adminer for Ubuntu.

Adminer is now part of the standard Ubuntu repositories. This means that you can install it with apt-get.

Install Adminer manually, Download the latest stable version of Adminer, At the moment of writing this article it is version 4.2.1:

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

Step 4. Accessing Adminer.

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!