||Create your own Debian mirror with debmirror
We will walk through these steps to get the local Debian mirror up and running:
* make sure you have enough space on your harddrive
* install debmirror, configure a cronjob to sync data
* make your mirror available to your clients (via apache or nfs)
||DSH - Distributed Shell / Dancers Shell
Very handy tool if you manage more than a couple of hosts.
My little dsh tidbit: howto dsh with a batch or script file.
You should know that dsh will only be fun if you are using ssh with pulic-key authentication. Otherwise you'll find yourself typing passwords all day. If you don't know what that is, I suggest find out about it and come back once you are familiar with it.
||Flip Symlinks Atomically
... which is something that comes in handy if you need to deploy a new release of software.
What's the deal?
Think of a structure like this:
`-- current -> application-1.0.0
||Install Apache 2.4 from source with openssl and PFC
Quick overview how to install Apache from source on Debian Wheezy, including the latest openssl to achieve perfect forward secrecy with modern browsers.
With the Heartbleed incident in mind there's good reason to build Apache with the latest openssl available - from source. This way we are able to implement the best possible Forward Secrecy when it comes to SSL encryption for HTTPS connections.
Howto build a custom kernel the debian way: I'm going to build the latest 2.6.x kernel from <http://www.kernel.org>.
The actual kernel list:
Get the kernel source
||Linux Software Raid
Howto create, manage, maintain, grow, and finally destroy your linux software raid.
Create new raid
Create the partition tables on one disk (here sda) and copy the disk layout to the second one (here sdb)
(assuming you have two identical SATA-Disks: sda and sdb)
||LVM - Logical Volume Manager
Howto do all the basic LVM tasks you need in every days work: setup, extend, remove, fix and work with snapshots
See LVM section of my server setup howto.
For large disks use a greater PE (physical extend) than the default of 4M:
||Setting up a PXE server
A PXE server is very useful if you need to boot your client over network because you don't have a CD-ROM or floppy installed. This allows you to install your OS without the need of an USB-device attached to your PC. All you need is a network card with PXE functionality included.