This shows you the differences between two versions of the page.
unix:ubuntu [2015/10/20 12:39] bajeluk created |
unix:ubuntu [2015/10/20 12:42] (current) bajeluk Web server section started |
||
---|---|---|---|
Line 7: | Line 7: | ||
update-rc.d -f tomcat remove | update-rc.d -f tomcat remove | ||
+ | ===== Web server ===== | ||
+ | |||
+ | sudo apt-get install lamp-server^ | ||
+ | echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf && sudo a2enconf fqdn | ||
+ | sudo vim /etc/mysql/my.cnf -- comment line with "bind-address = 127.0.0.1" | ||
+ | |||
+ | ==== Enabling userdir MOD ==== | ||
+ | |||
+ | sudo a2enmod userdir | ||
+ | sudo service apache2 restart | ||
+ | |||
+ | comment out in ''/etc/apache2/mods-available/php5.conf'' lines with | ||
+ | <IfModule mod_userdir.c> | ||
+ | ... | ||
+ | </IfModule> | ||