11 years ago
1- Open a terminal
2- Copy and paste this line :
sudo apt-get install apache2 mysql-server php5 php5-mysql php5-cli php5-imagick php5-gd php5-mcrypt php5-curl phpmyadmin
Go to the
/etc/apache2/ and watch the component files:
apache2.conf conf.d envvars httpd.conf mods-available mods-enabled ports.conf sites-available sites-enabled
Most of these files are more or less specific to Debian / Ubuntu and allow us to separate the configuration into multiple parts.
when adding modules... adding LoadModule headers_module modules/mod_headers.so
to my apache2.conf file is how? as i have no httpd.conf file??? or is there a command i can use to auto do this? i need to secure my webserver as developers are morons and dont nativly protect against todays vulnarabilities properly and expect us all to be experts, for example i need that above module along with a lot of other things to prevent xxs for example!? help someone!!
Thank you... :)
This was great. Easy to follow as it did everything for you. Being new to Linux, I need a little more info. I know what watch means (grey area), but not sure how to use it as you referenced above. I guess I'll figure it out. Even though I'm hanging on this last part, this tutorial has saved me a lot of time.
Thank You Very Much