web server setup with Debian 7 (Wheezy)
Setup bash and update the system cp /etc/skel/.bashrc /root/.bashrc apt-get update apt-get dist-upgrade Configure hostname correctly Make sure to have the following two lines (with the same format) at the top of your /etc/hosts file 127.0.0.1 localhost.localdomain localhost xxx.xxx.xxx.xxx web1.myserver.com web1 Note: xxx.xxx.xxx.xxx is the public IP address assigned to your server. Install all needed packages apt-get install php5 mysql-server mysql-client apache2 iptables phpmyadmin varnish shorewall vsftpd php5-cli php5-curl php5-dev php5-gd php5-idn php5-imagick php5-imap php5-memcache php5-ming php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xcache php5-xmlrpc php-apc php-pear php-xml-rpc postfix apg ca-certificates heirloom-mailx MySQL/PhpMyAdmin: mysql root password: xxx repeat mysql root password: xxx web server to reconfigure automatically: apache2 configure database for phpmyadmin with dbconfig-common? Yes Password of the database’s ...