How To Install Varnish Cache 4 on CentOS 7

varnish-cache

For those of you who didn’t know, Varnish Cache is a powerful open source HTTP accelerator that can be installed in front of any Webserver such as Apache or Nginx. Varnish Cache can improve overall performance of your web server by caching contents. The Varnish cache stores the copy of user request’s and serves the same page when the user revisits the webpage. It makes your website really fast and accelerate your web site performance up-to 300 – 1000x (means 80% or more).

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 Varnish Cache 4 on CentOS 7.

Step 1. First, you need to enable EPEL repository on your system.

Step 2. Install Varnish using Yum command.

Start varnish and make varnish start at boot:

To check the status of varnish, run the following command:

Step 3. Configuring Varnish.

Edit the Varnish configuration under /etc/varnish:

Edit default.vcl:

Edit apache web server configuration and change listen port to 8080:

Edit firewall to allow the http service:

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

Step 4. Testing Varnish.

The test consists in making a HTTP request via curl and verifying that it is handled by Varnish:

Congratulation’s! You have successfully installed varnish cache. Thanks for using this tutorial for installing Varnish 4 on CentOS 7 system.

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 ProjectPier on Ubuntu 14.04

Install ProjectPier on Ubuntu 14.04

In this tutorial we will show you how to install ProjectPier on Ubuntu 14.04. For those of you who didn’t know, ProjectPier is an open source community aimed at developing simple, powerful and intuitive software for web-based project management and group collaboration. ProjectPier gives you a flexible system for managing projects involving multiple organizations by providing a central place for all project activity and information while integrating with users’ existing tools. ProjectPier is freely available and licensed under the Gnu Affero General Public License (AGPL), which means you’re welcome to use and modify the software as long as any changes are distributed under the same license restrictions.

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 ProjectPier on an Ubuntu 14.04 server.

Install ProjectPier 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 ProjectPier.

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

Configure your server to support InnoDB, if it is not set by default and increase the max_allowed_packet variable to 128MB:

Step 4. Install ProjectPier.

Download the latest stable version of ProjectPier, At the moment of writing this article it is version 0.8.8:

Step 5. Configure Apache web server for ProjectPier.

Create a new virtual host in Apache:

Restart the Apache service for the changes to take effect:

We will need to change some folders permissions:

Step 6. Accessing ProjectPier.

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

Congratulation’s! You have successfully installed ProjectPier. Thanks for using this tutorial for installing ProjectPier in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official ProjectPier 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 Docker on CentOS 7

Install Docker on CentOS 7

For those of you who didn’t know, Docker is an open-source tool that makes creating and managing Linux containers (LXC) easy. With Docker, the applications resides inside the container on top of the Linux operating system. Docker uses Kernel features such as cgroups and namespace to allow independent container to run on single os instance.

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 Docker on CentOS 7.

Install Docker on CentOS 7

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

Step 2. Install Docker using YUM.

Docker is included by default in the CentOS-Extras repository. To install run the following command:

Start and enable Docker service:

And verify your work by checking the status of Docker:

Step 3. Download Docker Container.

Let’s begin using Docker, Download the centos Docker image:

Verify CentOS images that have been fetched:

Step 4. Run a Docker Container.

As we can see centos container has been started and we got the bash shell. In docker command we have used options like ‘-i attaches stdin and stdout’ and ‘-t allocates a terminal or console’.

Step 5. Configure FirewallD.

FirwallD in CentOS 7 can conflict with Docker, it is recommended to disable the service. Run the following command:

Congratulation’s! You have successfully installed Docker. Thanks for using this tutorial for installing Docker on CentOS 7 system.

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 ProjectPier on CentOS 7

ProjectPier-logo

For those of you who didn’t know, ProjectPier is an open source community aimed at developing simple, powerful and intuitive software for web-based project management and group collaboration. ProjectPier gives you a flexible system for managing projects involving multiple organizations by providing a central place for all project activity and information while integrating with users’ existing tools. ProjectPier is freely available and licensed under the Gnu Affero General Public License (AGPL), which means you’re welcome to use and modify the software as long as any changes are distributed under the same license restrictions.

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 ProjectPier on CentOS 7.

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 MariaDB also enable it to start on boot of the server:

Step 3. Configuring MariaDB for ProjectPier.

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.

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

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 ProjectPier software:

Configure your server to support InnoDB, if it is not set by default and increase the max_allowed_packet variable to 128MB

Step 4. Install ProjectPier.

Download the latest stable version of ProjectPier, At the moment of writing this article it is version 0.8.8:

Step 5. Configure Apache web server for ProjectPier.

Create a new virtual host in Apache:

Restart the Apache service for the changes to take effect:

We will need to change some folders permissions:

Step 6. Accessing ProjectPier.

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

ProjectPier-dashboard

Congratulation’s! You have successfully installed ProjectPier. Thanks for using this tutorial for installing ProjectPier on CentOS 7 system.

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 Redis on Ubuntu 14.04

Install Redis on Ubuntu 14.04

For those of you who didn’t know, Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. Redis also supports datatypes such as Transitions, Publish and Subscribe. ‘Redis ’ is considered more powerful than ‘Memcache’ . It would be smart to bring ‘Redis’ into practice and put ‘Memcache’ down for a while.

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

Install Redis on Ubuntu 14.04

Step 1. First add the Dotdeb repositories to your APT sources.

Create a new list file in /etc/apt/sources.list.d/ and fill it with the following content:

Then you need to authenticate these repositories using their public key:

Step 2. Install Redis using apt-get.

Enable Redis service to start on boot:

Check if Redis is working.

The first thing to do in order to check if Redis is working properly is sending a PING command using redis-cli:

Step 3. Install Redis PHP extension.

Redis provide php extension to work with php. Here we will cover installation of Redis Extension of php from source compilation and using apt repository. Following command will install and setup redis extension with php:

Congratulation’s! You have successfully installed Redis. Thanks for using this tutorial for installing Redis server on Ubuntu 14.04 system.

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 AbanteCart on Ubuntu 14.04

abantecart-logo

For those of you who didn’t know, AbanteCart is an open source PHP-based ecommerce platform for small or medium businesses. AbanteCart enables merchants to set up and manage online businesses selling both products and services via their website. It includes a robust core platform that can be customized by a wide variety of available extensions. AbanteCart includes features such as a shopping cart, support for digital and tangible products, product ratings and reviews, multi-currency and multi-language support, flexible layouts, support for a variety of payment gateways, and it is optimized for SEO, as well as for mobile and tablets.

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

Install AbanteCart on Ubuntu 14.04

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

Step 2. Install LAMP (Apache, PHP and MySQL) on Ubuntu 14.04

Start LAMP service, enable to start on boot:

Step 3. Configuring MySQL for AbanteCart.

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

Step 4. Install AbanteCart.

Download the latest stable version of AbanteCart, At the moment of writing this article it is version 1.2.2-0:

Unzip the downloaded zip file using the command:

Create a directory for AbanteCart in your /var/www/html directory:

Copy the extracted files into the newly created directory:

Change the owner of the files and the directories:

Also, you need to change the permissions of some of the files and some of the directories. For that purpose, you can use the following commands:

Step 6. Accessing AbanteCart.

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

spacewalk-logo

For those of you who didn’t know, Spacewalk is the package and system management solution for Redhat derived Linux operating system such as CentOS, Scientific Linux and Fedora, by the spacewalk community. It is released under GPLv2 license. It offers more flexible way to do. Spacewalk enables you to inventory your systems, manage configuration, act as central repository for your systems, monitor your systems and so on.

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 Spacewalk on CentOS 6.

Step 1. First, you need to enable repository on your system.

Step 2. Install PostgreSQL database.

Spacewalk uses database to store its primary data , it supports either  PostgreSQL  or Oracle RDBMS. In our case we are using postgresql:

Step 3. Install Spacewalk.

Step 4. Configure Spacewalk.

If you have installed embedded database, then use. It will ask you to enter the admin mail and organization details to generate the self signed certificate for secured access:

On complete, start the SpaceWalk service:

Step 5. Accessing Spacewalk.

Spacewalk will be available on HTTPS port 443 by default. Open your favorite browser and navigate to https://hostname.yourdomain.com and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 and 443 to enable access to the control panel.

Congratulation’s! You have successfully installed Spacewalk. Thanks for using this tutorial for installing Spacewalk server on CentOS 6 system.

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 Lychee on Ubuntu 14.04

leechee-image

In this tutorial we will show you how to install and configuration of Lychee on your Ubuntu 14.04 server. For those of you who didn’t know, Lychee is a free and open source photo management app, to be run on your server. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.

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

Install Lychee on Ubuntu 14.04

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

Step 2. Install LAMP (Apache, PHP and MySQL) in Ubuntu.

Start LAMP service, enable to start on boot:

Step 3. Configuring MySQL for Lychee.

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

Step 4. Configure PHP for Lychee.

To use Lychee without restrictions, we recommend to increase the values of the following properties in php.ini:

Step 5. Configure Apache web server for Lychee.

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

Add the following lines:

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

Step 5. Install Lychee.

Clone the latest stable version of Lychee, At the moment of writing this article it is version 3.0:

Change the owner of the folder to the Web server user (www-data):

Step 6. Accessing Lychee.

Lychee will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/lychee or http://server-ip/lychee 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 Lychee. Thanks for using this tutorial for installing Lychee self hosted photo management on Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Lychee 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 VLC Media Player on CentOS 7

vlc-media-player-logo

In this tutorial we will show you how to install and configuration of VLC media player on your CentOS 7 server. For those of you who didn’t know, VLC (VideoLan) is a portable & an open source multimedia player available for like Linux like operating system, Microsoft Windows, Mac OS X and android. VLC plays our favorite audio and video files, it can play various audio & video formats such as mpeg, divx, mov, mp3, mp4, dvd, vcd, wmv and quicktime.

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 VLC media player on CentOS 7.

Install VLC Media Player on CentOS 7

Step 1. First, you need to enable EPEL repository on your system.

Step 2. Install VLC using YUM.

Congratulation’s! You have successfully installed VLC. Thanks for using this tutorial for installing VLC media player on CentOS 7 system. For additional help or useful information, we recommend you to check the official VLC media player 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 VLC Media Player on Ubuntu 14.04

vlc-media-player-logo

In this tutorial we will show you how to install of VLC media player on your Ubuntu 14.04 server. For those of you who didn’t know, VLC (VideoLan) is a portable & an open source multimedia player available for like Linux like operating system, Microsoft Windows, Mac OS X and android. VLC plays our favorite audio and video files, it can play various audio & video formats such as mpeg, divx, mov, mp3, mp4, dvd, vcd, wmv and quicktime.

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 VLC media player on Ubuntu 14.04.

Install VLC Media Player on Ubuntu 14.04

Step 1. Install VLC using apt-get.

VLC is included in the base repositories of Debian-based system, so installing VLC is straightforward with apt-get:

Step 2. Install VLC Mozilla plugin in Ubuntu.

We can also play audio and video files from command Line using VLC. Example is shown below:

Congratulation’s! You have successfully installed VLC. Thanks for using this tutorial for installing VLC media player on Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official VLC 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!