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
=====================
- Log into SSH as the root user. Or the install will fail.
- Download LAMP auto installer.
wget -c http://perfectz.info/lamp/ubuntu.sh
- Change file permission so the script can execute.
chmod +x ubuntu.sh
- Execute the installation.
./ubuntu.sh
- Enter the details you are asked for.

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
How much RAM does this use? I bet it uses more than the 24mb VPS I have running WordPress.
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..
Added PHP PEAR into the installation. So you are able to use SMTP with no problems from now on.
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?
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.
@faozam: I’ve added the latest Apache to the script and it should work now if it didn’t earlier.