LAMP Auto Installer

This is my LAMP(Linux+Apache+MySQL+PHP) auto installer v11.09.10PB which installs and auto configures following.

  • Apache 2.4.1
  • MySQL 5.1.57
  • PHP 5.3.8
  • vsftp 2.3.2

Currently it only supports Ubuntu systems which is completely tested and already in production.

 

Except for the above major packages, this LAMP auto installer installs following by default.

  • libiconv
  • phpmyadmin

 

Installation instructions

=====================

  1. Log into SSH as the root user. Or the install will fail.
  2. Download LAMP auto installer.

    wget -c http://perfectz.info/lamp/ubuntu.sh

  3. Change file permission so the script can execute.

    chmod +x ubuntu.sh

  4. Execute the installation.

    ./ubuntu.sh

  5. Enter the details you are asked for.LAMP Screenshot

It takes some time because we are building packages from sources which takes a lot of time than a .deb packages.

Take a coffe, goto bed or have a chat on Facebook. (you will need it)

 

When you are back, the installation is completed. Visit www.yourdomain.com

And, “It works!”

 

Paths to some useful dirs:
MySQL dir:   /usr/local/mysql
PHP dir:     /usr/local/php
Apache dir:   /usr/local/apache
WWW dir :     /home/htdocs

 

Username for default FTP user: ftpuser

Password for default FTP user: your mysql password chosen at the beginning

 

Hope to see you with new updated version…

Credits to RuchiraBlog and LNMP

7 comments

  1. dmmcintyre3 says:

    How much RAM does this use? I bet it uses more than the 24mb VPS I have running WordPress.

  2. admin says:

    It uses about ~125MB on fresh install since it uses Apache instead of Nginx. But I could reduce the load with few tweaks to Apache and MySQL. But it’s not the time for that. I will release next release with tweaks to minimize the RAM usage..

  3. admin says:

    Added PHP PEAR into the installation. So you are able to use SMTP with no problems from now on.

  4. faozam says:

    hi

    may i know after installation of this script i notice that htdocs folder in red and i cant cd htdocs may i know if i need to do further step.

    another thing i notice i cant go to phpmyadmin folder and phpinfo. is there any method i miss there?

  5. faozam says:

    oh ya when i try to check folder apache its not available, and it seem like apache is not being install from the script. may i know how can check the problem make some adjustment on it.

  6. admin says:

    @faozam: I’ve added the latest Apache to the script and it should work now if it didn’t earlier.

Leave a Reply

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.