HOW CAN WE HELP YOU TODAY?

1
Knowledgebase: VPS Hosting
Setup LAMP stack in VPS with Centos 6 using SSH
Posted by on 30 June 2014 02:08 PM

Setting up a Linux server with the basic services like Apache with PHP support and MySQL is easy and can be done in less than 5 minutes using our super script ‘install-lamp.sh’.

This script will install Apache(httpd), MySQL and PHP in your Linux VPS. Before proceeding make sure you have a plain VPS without any third party installations like cPanel or Plesk. Let’s get to the installation:

  1. Login to VPS via SSH as 'root' user. (Click here know how)

  2. Execute the command:

rm -rf Install-lamp.sh && wget https://support.bigrock.com/kbimages/scripts/Install-lamp.sh && sed -i 's/\r//g' Install-lamp.sh && bash Install-lamp.sh

        

 Just hit 'Enter'. The script will start doing its job. You will to need to enter the choices while the installation is on going. Hence, you’ll need to monitor it while the installation is in progress.

  That’s it. You’ve got the LAMP stack installed on your VPS servers successfully.

Once it’s done, your next step for hosting a website is to create Apache Virtual Host

 

(3 vote(s))
This article was helpful
This article was not helpful