How to Install the latest LEMP Stack on CentOS 6.5

In this tutorial,we’ll learn that how we can install the latest LEMP (Nginx, MySQL & PHP) Stack and it’s initial configuration on CentOS 6.5, because Base and EPEL repo are containing really old version of LEMP Stack. Please add the required repos by using the following commands: sudo rpm –import http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6 sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm… Continue reading How to Install the latest LEMP Stack on CentOS 6.5

How To Install WordPress with Nginx in Ubuntu Server 14.04 LTS

Install the LEMP stack(Linux, Nginx, Mysql, PHP) with the command below: sudo apt-get install nginx mysql-server php5-fpm php5-mysql Note: Please set the MySQL root password, when it will prompt for it during the installation of MySQL-Server. Secure the PHP by editing the php.ini file: sudo vi /etc/php5/fpm/php.ini Uncomment the cgi.fix_pathinfo and change it from 1 to 0: cgi.fix_pathinfo=0 Create the new… Continue reading How To Install WordPress with Nginx in Ubuntu Server 14.04 LTS

OpenVPN server on CentOS 6.4 behind NAT

This tutorial describes that how to configure the OpenVPN Server in CentOS 6.4 and clients in Windows XP/7. I am taking the scenario of SOHO network, which is protected by Firewall, we’ll implement the OpenVPN on internal CentOS 6.4 server to access the internal SOHO network (Server and PCs) through the internet from anywhere securely. Before… Continue reading OpenVPN server on CentOS 6.4 behind NAT

How to Enable SSL in Apache2 on Ubuntu

In this tutorial, I’ll explain you that how to enable the SSL for your website under Apache2 on Ubuntu Server. For this, I’m assuming: 1. That you have a working apache2 setup on your Ubuntu Server. 2. You have correctly configured the dns records for your domain. 3. You already got a certificate from a… Continue reading How to Enable SSL in Apache2 on Ubuntu

How to configure Postfix to send mail via Google Apps

In this tutorial, we’ll configure Postfix to send an email through Google’s SMTP on Ubuntu 12.04 LTS Server for Google Apps. We can use the exact same setup for Gmail account also: Install Postfix and command line mail utility using the following command: sudo apt-get install postfix mailutils Backup the default configuration file for postfix:… Continue reading How to configure Postfix to send mail via Google Apps

How to connect to an EC2 instance using Putty

You created an EC2 instance and got private key (with PEM extension)from Amazon. Now, how you can login to your instance with PuTTY? For this, you need to convert the .PEM to .PPK format using Puttygen. Run Puttygen: Click on the Load button: Locate your PEM file that you want to convert: Putty will convert… Continue reading How to connect to an EC2 instance using Putty

How to Mount EC2 EBS Storage To EC2 Linux Instance

Login to your AWS management console,click on EC2 in the list of AWS products and from there, identify the correct region of EC2 instance because EC2 EBS volume must be in the same location as the EC2 instance: Click Volumes located under Elastic Block Store then click on Create Volume button, which will launch the… Continue reading How to Mount EC2 EBS Storage To EC2 Linux Instance

Apache Virtual Hosts in Ubuntu

In this tutorial, I’ll show you the steps to configure 3 Apache virutal hosts running on a single EC2 Ubuntu Instance. The three domains, that I’ll use in this tutorial are: 1) linuxsoft.tk 2) rbgeek.tk 3) tendo.tk DNS setting for these 3 domains are as follows: Create three folders inside the /var/www folder, they will… Continue reading Apache Virtual Hosts in Ubuntu

How to connect a domain name to an EC2 instance

Launch an EC2 instance and set up the web server (In my case, I setup the Ubuntu12.04 instance and install the Apache web server on it): At this point my website is up and running but with the long amazon url(i.e. ec2-53-245-237-89.compute-1.amazonaws.com): Each EC2 server is assigned a dynamic IP. If a server has to… Continue reading How to connect a domain name to an EC2 instance

Part-4: Restore disk from Clonezilla Auto Restore CD/DVD

Please read the Part-1,2 and 3 before starting this tutorial, in order to get the better understanding. 1) At first, Clonezilla auto restore CD/DVD comes up with this screen just press ENTER: 2) Before starting the restoration process, Clonezilla will confirm from you TWICE, If you are sure that everything is fine, than just type… Continue reading Part-4: Restore disk from Clonezilla Auto Restore CD/DVD