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

From Wiki

Jump to: navigation, search

Contents

Server set-up and Associated Details:

Typical SERVER SET-UP

Range of SERVICEs, and INSTALLATION HOW-To's

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. Apache 2 & SSL - PHP4 - MySQL 4.1
  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

APPLICATIONS INSTALLED

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

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.

  1. http://burkesys.com
  2. http://wiki.kartbuilding.net
  3. https://mail.burkesys.com
  4. http://www.kartbuilding.net
  5. http://monitor.burkesys.com


Virtual Server (XEN) set-up and Associated Details

Setup of Base Hosting Server with XEN3 (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

Xen Networking

Streamlining Xen

Setup of New Xen Server

  1. Install and Config Base OS

Linux Tips, Tricks & Commands to be Remembered:


Scripts OF THE TRADE

Tips and Tricks

TOOLS OF THE TRADE

Upgrading Debian Sarge to Debian Etch

Upgrading Debian Etch to Debian Lenny (5)

Setting up a Secure and Stable Linux OS

Work for the Future:

http://wiki.sourcemage.org/Install_under_Xen

Personal tools