“Linux Server – Perfect Setup” is a manual that will walk you through setting up a perfect server, step by step. It is based on Ubuntu and tested on 8.04 LTS and the newest at the point of writing – 9.10. It will turn your box into an all-in-one server (something like M$ Windoz 2003 Small Business Edition – but without the limitations
).
The configuration contains the following components:
- postfix
- dspam
- courier
- maildrop
- clamav
- sasl, tls
- squirrelmail
- virtual users
- proftpd
- bind9
- apache2
- mysql
- php5
- monit
- munin
Right, now I know that it’s a lot and so I have decided to create separate manuals for each one of the points and then join them here by providing links in order of execution. This way you can choose what you want your server to do and what not
Before we being with the load of links, I would like to let you know that you do not have to follow the manual. A version for the lazy (and a bit experienced, so that you can use the configuration after it is installed) has an automated installation script! You can find the script here: http://www.glonek.co.uk/auto-install/install.sh.
All you need to do is download it, set executable permissions and run it. Ok, let me help you (although you should know how to do it):
sudo su - aptitude install wget cd /tmp wget http://www.glonek.co.uk/auto-install/install.sh chmod 755 /tmp/install.sh /tmp/install.sh
That’s it. Just follow prompts and answer questions from now on
Anyways, now for those who actually want to learn something: the manual!
- Install ssh, configure sshdfilter and iptables firewall
- Install and configure DNS server – BIND9
- Install LAMP – linux apache mysql php
- Install ProFTPd with MySQL virtual users
- UNDOCUMENTED YET CONFIGURATION OF: postfix, courier, monit, munin, clamav, dspam, squirrelmail, crontab, databases, asterisk pbx, torrent server-client, lxc, backups.