0xCAFEFACE
October 27th, 2010, 10:03 PM
On ubuntu server 9.10, the installation offers pre-set setups for different services such as LAMP, samba, etc... I skipped LAMP on the server but now I want it.
When I went to install with apt-get, I noticed all ownership for the web was under root and I'm not experienced enough to know all the things this option did to ensure security (such as create a user and give ownership to "WWW-DATA" instead).
Is there a simple option for me to go back and get this process to install a second time, or if not, is there a great tutorial that provides a step-by-step example of the best way to secure LAMP on a fresh install?
(side-note, when I installed, I typed in sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server )
Thanks!
When I went to install with apt-get, I noticed all ownership for the web was under root and I'm not experienced enough to know all the things this option did to ensure security (such as create a user and give ownership to "WWW-DATA" instead).
Is there a simple option for me to go back and get this process to install a second time, or if not, is there a great tutorial that provides a step-by-step example of the best way to secure LAMP on a fresh install?
(side-note, when I installed, I typed in sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server )
Thanks!