Table of Contents
Details, Installation, & Set-up of Debian based Linux Servers
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.
- Apache2_SSL_PHP5_MySQL5
Apache 2 & SSL - PHP4 - MySQL 4.1 old Etch setup
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.
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
Archive
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:
- Use Debian Etch Xen Install – The current working option with no problems.
- Use Debian Backports – The chosen option, as it worked with least hassle.
- Use Xen Binaries
- Use Debian Testing (etch) Packages
Modify XEN (dom0): Resize Partitions, RAID1 & LVM Howto's
Create & Manage XEN Virtual Servers (domU)
Streamlining Xen
- Automatic domU Installs using xen-tools
Setup of New Xen Server
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:
- _ alias
- _ apache
- _ awstats
- _ bash - shell tips and tricks
- _ cat
- _ chmod
- _ chown
- _ chsh
- _ crontab
- _ dict
- _ dns - General Usage Tips
- _ dnstunnel - Tunnel SSH over DNS
- _ ffmpeg - Audio and Video Editing
- _ find
- _ FTP
- _ getent
- _ gnupg
- _ grep
- _ HEAD
- _ hellanzb
- _ history
- _ htop
- _ kill, killall - End a Process
- _ locale
- _ ldap
- _ ls
- _ lsof
- _ lspci
- _ MySQL
- _ Nikto - Web Server and CGI Scanner Version
- _ ncftp
- _ nmap - Network exploration tool and security scanner
- _ oom - Out of Memory
- _ procmail
- _ rsync
- _ suPHP
- _ pwgen
- _ rename
- _ scp
- _ screen
- _ sed - replace text in files via bash
- _ ssh
- _ sshkeys
- _ script - Record/Log a SSH terminal Session
- _ sendmail
- _ smbmount
- _ sqlite
- _ sshfs - Mounting a remote directory over ssh
- _ strace
- _ synergy
- _ tar
- _ tail
- _ tcpdump
- _ vi/vim
- _ vnstat - Network Traffic Logger and Monitor
- _ vodasms - send Text Messages
- _ wall - write a message to all users
- _ wc
- _ write
- _ zgrep
- _ zip
Scripts OF THE TRADE
Tips and Tricks
TOOLS OF THE TRADE
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
Setup and config of Debian Bullseye as LAMP and Mail Server
Work for the Future:
- Secure Backup (gpg) across Cluster - Done. See: Duplicity - secure incremental backup
- Roll Out LDAP