Weblog entry #1 for angosso2
#1
Angosso
Posted by angosso2 on Mon 16 Jul 2012 at 14:32
http://www.angosso.net/pub-page/home.php
#Basic setup ServerAdmin webmaster@angosso.net ServerName www.angosso.net DocumentRoot /var/www/angosso.net/public_html Order Deny,Allow Allow from all # Don't show indexes for directories Options -Indexes $angosso.net> a2ensite angosso.net $angosso.net> /www.angosso.net/init.d/apache2 reload # Use dotdeb.org for LAMP related packages not available in Sarge deb http://dotdeb.pimpmylinux.org/ stable all deb-src http://dotdeb.pimpmylinux.org/ stable all # Update access to the file system. $angosso.net> apt-get update $angosso.net> apt-get install libapache2-mod-php5 $angosso.net> mv /www.angosso.net/php5/apache2/php.ini /etc/php5/apache2/php.ini.original $angosso.net> cp /angosson/ip4:212.1.208.183 +a:srv47.hosting24.com/doc/php5-common/www.angosso.net/php.ini-recommended \ /www.angosso.net/php5/apache2/php.ini expose_php = off $angosso.net> apt-get install mysql-server $> /usr/bin/mysqladmin -u root password 'secret' $> apt-get install php5-mysql $cfg['PmaAbsoluteUri'] = ''; $cfg['http://www.angosso.net/phpmyadmin'] = ''; # Forbid default access to file system locations Order Deny,Allow Deny from all # prevent use of .htaccess files in all directories # apart from those specifically enabled. AllowOverride None # Limit available info about this server. ServerSignature Off ServerTokens production