Details, Installation, & Set-up of Debian based Linux Servers

From Wiki

Jump to: navigation, search


Server set-up and Associated Details:



All these services are based on a Debian base install using the current stable Debian Sarge, unless specifically stated otherwise. Similiarly, all these services are installed from Debian Packages from the Stable Repository using APT, unless specifically stated otherwise. It may be the case that the order of installation, or sequence of installing various packages may change, however APT & Debian Packages will take care of *any* dependencies.

A Service is typically one which typically requires ROOT permission to install, runs as a Special User on the server, starts up at boot time, and provides a key base service, with which applications run on top of.

  1. Manual setup of Iptables Firewall rules & startup scripts
  2. Shorewall Firewall
  3. DNS - Bind9
  4. Apache2_SSL_PHP5_MySQL5 Apache 2 & SSL - PHP4 - MySQL 4.1 old Etch setup
  5. Postfix SMTP
  6. Courier IMAPS Server - Maildir
  7. Secure Outgoing SMTP via Postfix, Courier, TLS and SASL -- 7.5 - Authed Outgoing SMTP with Postfix and MySQL
  8. Squid Proxy
  9. Samba
  10. Snmpd & mrtg
  11. Munin Statistics
  12. Netsaint / Nagios
  13. ntp - Network Time Protocol
  14. ProFTPd Server
  15. Quota
  16. SMART
  17. NFS
  18. Anyterm
  19. Ajaxterm - Web SSH Terminal, alternative to Anyterm
  20. Trac and SVN
  21. Mailman
  22. Dante Socks Server
  23. Spamassassin setup and config
  24. Duplicity - secure incremental backup
  25. Procmail - setup with postfix
  26. Wine
  27. openvpn
  28. PPTP - vpn
  29. smokeping
  30. Graphical Desktop and VNCserver
  31. Reverse Proxy with apache mod_proxy


An application is one which can be installed by a User with limited permissions, runs ontop of a set of required services, e.g. MySQL, PHP, and is only run when accessed/required by a user.

  1. Squirrelmail
  2. Webalizer
  3. Awstats
  4. Mediawiki
  5. sun_jdk
  6. Rootkit Detection
  7. snort Network Intrusion Detection
  8. vnstat Network Traffic Logger and Monitor
  9. roundcube
  10. planet RSS News Feed Aggregator

Typical VHOSTS

VHOSTS - Virtual Hosts, are typically Web addresses which apache handles and serves out. Virtual Hosts require a DNS entry pointing to an IP Address where Apache is located. See the example of setting up these VHOSTS in Apache.


Virtual Server (XEN) set-up and Associated Details

Xen and Debian Squeeze

Setup of Xen Xen 4.0.1 on Debian Squeeze


Setup of Base Hosting Server with XEN3.0 (dom0)

There are a number of routes that can be taken when installing Xen on a Server, in order to prepare it to run Virtual Servers. These routes/options are as follows:

  1. Use Debian Etch Xen Install -- The current working option with no problems.
  2. Use Debian Backports -- The chosen option, as it worked with least hassle.
  3. Use Xen Binaries
  4. Use Xen Source and Compiling
  5. Use Debian Testing (etch) Packages

Modify XEN (dom0): Resize Partitions, RAID1 & LVM Howto's

  1. Resize & Create Partitions in Debian
  2. RAID 1 and Xen (dom0)
  3. LVM on XEN (dom0)

Create & Manage XEN Virtual Servers (domU)

  1. Create DomU
  2. Create Centos5 DomU on Debian Etch Dom0
  3. Manage XEND
  4. Ongoing Experiences with Xen
  5. Resize/Increase the Size of a File Based DomU Xen Filesystem

Streamlining Xen

Setup of New Xen Server

  1. Install and Config Base OS

Upgrade of Xen through the years

Setup of Xen 3.2 (dom0) on Debian Lenny

Xen Networking

KVM Setup

Setup of KVM Guest VMs

Other KVM Info

Linux Tips, Tricks & Commands to be Remembered:


Tips and Tricks


Remove Management of Servers

Upgrades and Other Installations

Upgrading Debian Sarge to Debian Etch

Upgrading Debian Etch to Debian Lenny (5)

Upgrading Ubuntu Hardy LTS to Ubuntu Lucid LTS

Setting up a Secure and Stable Linux OS

Work for the Future:

Personal tools