Adsense Link 728 X 15;

Install LNMP Easily (Centos)

Posted by tigis Thursday, February 3, 2011 0 comments
Adsense Content. recommended 336 X 300
 
A newer version of LNMP (Linux + Nginx + MySQL + PHP) has been released. The installation is pretty much the same as what I introduced on How to Set Up LNMP on Debian, CentOS or Ubuntu except the software version.
To make it short, I just need to point out the difference here. In the last post, you will need to grab the software package first with the following command line:
wget -c http://www.Rockia.com/dl/lnmp0.4.tar.gz
However, with the new software, what you need to do is just change the version 0.4 to 0.5 as shown below:
wget -c http://www.rockia.com/dl/lnmp0.5.tar.gz
And you will need to change the version respectfully from 0.4 to 0.5.
But what exactly is the change?
  • Nginx updated to 0.7.67
  • MySQL updated to 5.1.48
  • PHP updated to 5.2.14
  • PHPMyAdmin updated to 3.3.7
  • Optimized eAccelerator
  • Added ionCube application

Special Tips:

Most of the VPS users use just use Terminal (Mac) or Putty (Windows) to proceed the installation remotely. However, sometimes it’s inevitable that connection will be dropped and the installation was forced to be stopped. Unexpected discontinued connection might cost the software installation failed. In this case, you might want to use “Screen” to get avoid of it.

What is Screen?

Screen is a moderately complex program that emulates a terminal. The feature it is best known for is the ability to disconnect and reconnect to screen sessions, which very gracefully survive logoffs. Screen has many more useful features, which are beyond the scope of this guide.
(Source: http://en.gentoo-wiki.com/wiki/Screen)

How to install Screen?

Most of the Linux system has Screen installed by default. If this is not the case, you can use follow the simple guide to get it installed on your Linux.
For CentOS: yum install screen
For Debian/Ubuntu:apt-get install screen

How to use Screen?

I am not going to explain the full syntax of the usage, but I will show you how Screen is useful while you are installing LNMP or any other software that take a bit of patience from you.
  1. Type in “screen -S lnmp” to create a session for LNMP installation;
  2. “wget -c http://www.rockia.com/dl/lnmp0.5.tar.gz ” to download the file ;
  3. “tar zxvf lnmp0.5.tar.gz” to unzip the package ;
  4. cd lnmp0.5/ ;
  5. For CentOS users run “./centos.sh” and for Debian and Ubuntu users, run “./debian.sh”;
  6. And now you just wait, if for somehow the internet was dropped or your remote computer is not responding, you can simply type in “screen -r lnmp” to check the installation progress again.
Alright, I hope you all are enjoying the easy installation of LNMP tutorial. Too bad the developer doesn’t have a upgrade package from LNMP 0.4 to 0.5, but it’s still a very simple server set up.
Adsense Content. bottom of article

0 comments:

Post a Comment