Click on the arrow icon beside each category to display or hide all items within the chosen category. Summaries of each page may be hidden or shown by clicking the plus icon next each item. Use the Options menu to expand or contract all items, display or hide summaries or sort the table of contents.
- Blog Posts:
- Category: CLI Tricks (10)
- Adjust Keyboard Console Layout for Ubuntu 10.10
In order to temporarily change the keyboard layout of an Ubuntu system, the following command from package `kbd` (`aptitude install kbd`) does the trick: …
- Adjust the Number of Loop Devices
If you work intensively with virtualisation, vpns and other stuff that makes use of loopback-devices, the default number of 8 in distros like Debian and Ubuntu…
- AWK: The Linux Administrators' Wisdom Kit
**Disclaimer: This article is written by Emmett Dulaney and published at . All credits on this article go to Emmett Dulaney. Its posted here only for personal…
- Fix a degraded MD Array
Fix a degraded array (example): mdadm --re-add /dev/md0 /dev/sdb2
- OpenSSL Telnet Check
As an example: openssl s_client -connect imap.gmx.de:993 -quiet
- Regex Introduction
**Disclaimer: This article is written by Lara Hopley and Jo van Schalkwyk and published at . All credits on this article go to Lara Hopley and Jo van Schalkwyk.…
- Simple activation of SSL for Apache2 in Ubuntu 10.10
Just a few simple steps are necessary in order to activate ssl on apache-daemon in Ubuntu 10.10: Load module: a2enmod ssl Activate ssl site…
- Tar Cheat Sheet
Tar Segmentation With today's increased flash storage sizes, there may not be many occasions where you need to split files. However, when you do need to do…
- Testing webserver-security with Nikto
A decent tool to test a webserver's security setup is (http://cirt.net/nikto2). It performs comprehensive tests on any given webserver and outputs its…
- Transmission daemon: remove finished torrents
In transmission-daemon, downloaded torrents stay listed as long as they are not manually removed. In order to get them flushed automatically, the following…
- Adjust Keyboard Console Layout for Ubuntu 10.10
- Category: LaTeX (2)
- Adjust texmf-Path in OS X
This tip describes how to adjust the storage location of the texmf-path in a Macports LaTeX installation. The following file needs adjustments accordingly: ~…
- pdf-Tricks in Linux with pdftk
pdftk is a very useful and powerful pdf-toolkit. It is available for Ubuntu with the package `pdftk`. Here are some practical example if its usage. - Merge…
- Adjust texmf-Path in OS X
- Category: Linux (49)
- Adjust Cacti for fine grained Input Data
Cacti is a fine graphing solution for all sorts of use cases. It only has problems with with small range inputs. The result are graphs which lack labels, i.e.…
- Adjust Keyboard Console Layout for Ubuntu 10.10
In order to temporarily change the keyboard layout of an Ubuntu system, the following command from package `kbd` (`aptitude install kbd`) does the trick: …
- Adjust the Number of Loop Devices
If you work intensively with virtualisation, vpns and other stuff that makes use of loopback-devices, the default number of 8 in distros like Debian and Ubuntu…
- AWK: The Linux Administrators' Wisdom Kit
**Disclaimer: This article is written by Emmett Dulaney and published at . All credits on this article go to Emmett Dulaney. Its posted here only for personal…
- Configure German Spamassassin Update Channel in Ubuntu
Spamassassin already ships with the nice feature of running automatic updates to its core rules by using `sa-update`. Customisation of this update process is…
- Configure Spamassassin for Exim 4 in Ubuntu
*: Mail Transfer Agent This article describes the configuration of the spam scanner called `spamassassin` in conjunction with the MTA called `Exim 4` in…
- Detailed Hardware Info
Details on a machine's hardware can be printed by using `lshw`. So information on the bus is collected by: lshw -businfo In order to trigger a…
- Disable Multiarch in Ubuntu Oneiric 11.10
Since Ubuntu 11.10 multiarch support becomes set by default in new systems as well as in upgraded ones. This sounds like a nice feature, but it breaks one of…
- Diskless Boot a Linux System (Debian)
In order to boot a Linux system disklessly from a server on your local network, these steps outline the necessary steps. Beware that this is just a brain…
- Enabling ModSecurity protection in Apache2 on Ubuntu
This post documents how to add ModSecurity protection in Ubuntu's Apache. It has been tested on Ubuntu 11.04 but might work on earlier or latter issues with…
- Exim 4 and ClamAV Malware Scanning in Ubuntu
*: Mail Transfer Agent Although virus scanners are installed on virtually all regular client systems nowadays, it's nice to have the mailserver pre-scanning…
- Fix a degraded MD Array
Fix a degraded array (example): mdadm --re-add /dev/md0 /dev/sdb2
- Fix for unreadable File System of OpenWrt
If the OpenWrt system reports an `unreadable file system` try the following: mtd unlock rootfs_data
- FlexGet Installation in Ubuntu
*: Python Package Index This posts documents the installation of FlexGet in Ubuntu. It uses (http://flexget.com/) v1.0r2301 and by the time of writing it is…
- GnuDIP setup on Ubuntu 10.10
*: GNU Dynamic IP Introduction This article briefly describes the setup of a dynamic dns-server, very similar to those commercial ones from…
- GPG secured Backups
There are some situations in which it becomes useful to store important and crucial data in non-trustworthy environments. One example can be an off-site…
- Greylisting in Exim 4 with Greylistd on Ubuntu Linux
*: Mail Transfer Agent In this article the approach of greylisting as a protection against spam in Exim 4 is being described. The concepts of greylisting…
- Hardening PHP on Ubuntu with Suhosin patches
This post documents how to enable the Suhosin protection system for PHP on Ubuntu installations. It has been tested on Ubuntu 11.04 but might work on earlier…
- Install a new Drive with LUKS Disk Encryption
*: Linux Unified Key Setup This article describes the process of setting up a physical drive with LUKS encrypted filesystem. The process is tested on…
- Install Openmailadmin for Cyrus 2.2 in Ubuntu 10.10
*: Sieve: filtering language *: IMAP management frontend *: Immediate notification of users about any mailbox changes *: IMAP: Internet message access…
- Install Transmission in Ubuntu 10.10 from PPA
This article explains installation of most recent Transmission versions into Ubuntu 10.10. Ubuntu's Personal Package Archive () allows to install packages…
- Installation of Mailman in Ubuntu
*: Mail Transfer Agent (http://www.list.org/) is a powerful mailing list manager. It has a decent web interface for users and admins and offers content…
- KVM: Migrate from qcow2 to raw Format
The qcow2 disk format has some decent features like encryption, compression and -- as its abbreviation indicates -- copy to write support. Yet, its growing…
- Linux Stress Tests
Several aspects of a Linux system may need a stress test at some point. To test the whole system: stress --cpu 16 --io 16 --vm 16 --hdd 16 --timeout…
- Make snmpd's log more silently
A default `snmpd` log a bit too much for my taste. Therefore, `/etc/default/snmpd` can be adjusted. Change the following line from: SNMPDOPTS='-Lsd -Lf…
- Migrate IMAP Accounts from one Server to another
There is a easy to use tool that facilitates the quick'n dirty move of the content of one IMAP account to a new server. Its name is `imapsync`. In Ubuntu, you…
- Migrate KVM Disk Access from IDE to Virtio
This article assumes a KVM guest that runs from raw or qcow2 devices using emulated ide access. Since some time now, full virtualisation for block devices is…
- OpenSSL Telnet Check
As an example: openssl s_client -connect imap.gmx.de:993 -quiet
- OpenWrt System Upgrade
There are two ways of easily upgrading an OpenWrt system. The old and nowadays deprecated way is: mtd -r write linux Newer versions (I assume…
- pdf-Tricks in Linux with pdftk
pdftk is a very useful and powerful pdf-toolkit. It is available for Ubuntu with the package `pdftk`. Here are some practical example if its usage. - Merge…
- Prepping Ubuntu 10.10 for easy KVM-Setup
These are just the basic preparatory steps along with a list of necessary packages. Comprehensive howtos have to be found elsewhere. Fist, one needs to…
- Protection from unintended Reboots in Linux
Handling several servers in different concurrent ssh sessions can lead to confusion. This is explicitly dangerous when it comes to unintended reboots. Here,…
- Quick & Dirty VoIP Conference Room
This note describes the quick & dirty setup of an VoIP conference room using Astisk PBX and Sipgate. Three files have to be adjusted accordingly: sip.conf ~…
- Quickly setup a new Root Server at Hetzner's
Preparations in hetzner robot: - Activate rescue-system - Order automatic hardware reset - Login into rescue system and change password Now, automatic…
- Regex Introduction
**Disclaimer: This article is written by Lara Hopley and Jo van Schalkwyk and published at . All credits on this article go to Lara Hopley and Jo van Schalkwyk.…
- Securing ssh Daemons from Brute-Force Attacks in Ubuntu
- Install fail2ban: ~~~ aptitude install fail2ban ~~~ - Create local configuration: ~~~ cd /etc/fail2ban && cp jail.conf jail.local ~~~ - Edit…
- Settin up a custom Weave Sync Server for Firefox 4
Introduction Starting with Firefox 4 it is really easy to keep your different Firefox browser setups at home, on your mobile or at work in sync. The…
- Setup Cyrus IMAP-Server on Ubuntu 10.10
*: Sieve: filtering language *: IMAP management frontend *: Immediate notification of users about any mailbox changes *: IMAP: Internet message access…
- Setup of Roundcube Webmail 0.5.x on Ubuntu 10.10
*: Sieve: filtering language *: IMAP management frontend *: Immediate notification of users about any mailbox changes *: IMAP: Internet message access…
- Setup of Sun Grid Engine
Sun Grid Engine facilitates computing in distributed computer networks. Its setup is just documented here. Its not nearly complete though. Setup log …
- Simple activation of SSL for Apache2 in Ubuntu 10.10
Just a few simple steps are necessary in order to activate ssl on apache-daemon in Ubuntu 10.10: Load module: a2enmod ssl Activate ssl site…
- Squid config with NCSA Authentication in Ubuntu
*: National Center for Supercomputing Applications This article describes a quick and easy way to implement a web proxy with most basic user authentication.…
- Take over packagelist from one Debian to another
In order to sync the state of installed packages from one Debian or Ubuntu to another one, the following process can be helpful. Make a packagelist on the…
- Tar Cheat Sheet
Tar Segmentation With today's increased flash storage sizes, there may not be many occasions where you need to split files. However, when you do need to do…
- Testing webserver-security with Nikto
A decent tool to test a webserver's security setup is (http://cirt.net/nikto2). It performs comprehensive tests on any given webserver and outputs its…
- Transmission daemon: remove finished torrents
In transmission-daemon, downloaded torrents stay listed as long as they are not manually removed. In order to get them flushed automatically, the following…
- Unattended Security Updates in Ubuntu 10.10
In order to have automatic and unattended security updates in Ubuntu, one needs to install the according package: sudo aptitude install unattended-upgrad…
- Using Ipredator independantly from the default Route
**This article is a copy of the howto from the Ubuntu forum by simonn (). All credit go to him. I'm just copying this for preservational reasons.** I…
- Using vmbuilder with libvirt
In order to use `vmbuilder` (in my case `python-vm-builder 0.12.4`) to generate fully functional Ubuntu kvm-images, the following adjustments to the libvirt-tem…
- Adjust Cacti for fine grained Input Data
- Category: OpenWrt (3)
- Fix for unreadable File System of OpenWrt
If the OpenWrt system reports an `unreadable file system` try the following: mtd unlock rootfs_data
- Fresh install of OpenWrt Backfire from Mac OS X 10.6 by tftp
This article documents flashing OpenWrt Backfire on Linksys WRT54g v2 and on Asus WL-500g Deluxe and Premium. It uses OS X's built-in `tftp` to transmit…
- OpenWrt System Upgrade
There are two ways of easily upgrading an OpenWrt system. The old and nowadays deprecated way is: mtd -r write linux Newer versions (I assume…
- Fix for unreadable File System of OpenWrt
- Category: OS X (15)
- Adjust texmf-Path in OS X
This tip describes how to adjust the storage location of the texmf-path in a Macports LaTeX installation. The following file needs adjustments accordingly: ~…
- Disable Apple Ping
With iTunes 10 Apple introduced a new annoyance: Ping. It's a new music-centric social network, for which at least I don't have a use for. Therefore, the…
- Disable build-in iSight Camera in OS X up to 10.6
Paranoid people might dislike the glaring iSight camera in recent Apple computers. Apart from the option to put a sticker on the camera hole, the following…
- Disable creation of DS_Store files on network volumes
In order to keep OS X from creating DS_Store files on network shares enter the following command in Terminal's CLI: ~~~ defaults write com.apple.desktopservic…
- Flush OS X's DNS Cache
If you need to flush a Mac's DNS cache, the following line will be helpful: ~~~ sudo dscacheutil -flushcache ~~~
- Fresh install of OpenWrt Backfire from Mac OS X 10.6 by tftp
This article documents flashing OpenWrt Backfire on Linksys WRT54g v2 and on Asus WL-500g Deluxe and Premium. It uses OS X's built-in `tftp` to transmit…
- Full restore from Time Capsule with account-authentication
This week the people at Apple released their new OS X-Version called "Lion" (10.7). Some interesting new highlights in terms of UI, backup and encryption…
- Hide Application from OS X's Dock
To hide an application from OS X's dock edit its plist-file and change the according lines to match the following: ~~~ LSUIElement 1 ~~~
- Install Privoxy 3.0.12 on OS X
This is merely an install log which pretty much describes the basic setup and maintenance work in itself: $ sudo port install privoxy Password: …
- List Disks in OS X
A simple but useful command line to find out about hardware names of connected disks in OS X is: ~~~ diskutil list ~~~
- Quick Screenshot in OS X
A very quick screenshot is taken and saved to your Desktop by the following keyboard shortcut: ~~~ CMD+Shift+3 ~~~
- Quick Traffic Shaping in OS X
In order to enable bandwidth limitations in OS X the following can be useful. This example limits port 139/tcp and port 445/tcp to 5 MBit/s: ~~~ ipfw -f pipe…
- Reset a Mac's PRAM and NVRAM
In case you need to reset a Mac's PRAM and NVRAM, do the following steps: 1. Shut down the computer. 2. Locate the following keys on the keyboard: Command,…
- Sleep/Wake Events in OS X
*: http://www.macports.org/ In case you wish for certain events to take place on sleep or wake of you Mac, the software `sleepwatcher` is your friend. You…
- Wifi Analysis in OS X
Aside from all those OS X wifi scanners originating from the Linux world, OS X comes with its own basic tool called `airport`. For quick access do the…
- Adjust texmf-Path in OS X
- Category: Security (9)
- Enabling ModSecurity protection in Apache2 on Ubuntu
This post documents how to add ModSecurity protection in Ubuntu's Apache. It has been tested on Ubuntu 11.04 but might work on earlier or latter issues with…
- GPG secured Backups
There are some situations in which it becomes useful to store important and crucial data in non-trustworthy environments. One example can be an off-site…
- Hardening PHP on Ubuntu with Suhosin patches
This post documents how to enable the Suhosin protection system for PHP on Ubuntu installations. It has been tested on Ubuntu 11.04 but might work on earlier…
- OpenSSL Telnet Check
As an example: openssl s_client -connect imap.gmx.de:993 -quiet
- Protection from unintended Reboots in Linux
Handling several servers in different concurrent ssh sessions can lead to confusion. This is explicitly dangerous when it comes to unintended reboots. Here,…
- Securing ssh Daemons from Brute-Force Attacks in Ubuntu
- Install fail2ban: ~~~ aptitude install fail2ban ~~~ - Create local configuration: ~~~ cd /etc/fail2ban && cp jail.conf jail.local ~~~ - Edit…
- Simple activation of SSL for Apache2 in Ubuntu 10.10
Just a few simple steps are necessary in order to activate ssl on apache-daemon in Ubuntu 10.10: Load module: a2enmod ssl Activate ssl site…
- Unattended Security Updates in Ubuntu 10.10
In order to have automatic and unattended security updates in Ubuntu, one needs to install the according package: sudo aptitude install unattended-upgrad…
- Wifi Analysis in OS X
Aside from all those OS X wifi scanners originating from the Linux world, OS X comes with its own basic tool called `airport`. For quick access do the…
- Enabling ModSecurity protection in Apache2 on Ubuntu
- Category: Uncategorized (5)
- Adding Google Contacts to Roundcube Webmail
This article describes the necessary steps to integrate one's Google-based address book to the (http://roundcube.net/) web-based IMAP client. For people…
- Exim 4 and ClamAV Malware Scanning in Ubuntu
*: Mail Transfer Agent Although virus scanners are installed on virtually all regular client systems nowadays, it's nice to have the mailserver pre-scanning…
- Move Cacti data from one platform to another one
In order to migrate Cacti's rrd-tool data from one system to a different one, that data has to be converted to XML-format first. That is also true if you move…
- Quick setup of Jabber-Server (ejabberd) in Ubuntu
This posts documents the necessary steps to setup a running Jabber-server in Ubuntu. It uses (http://www.ejabberd.im) v2.1.5 and by the time of writing it is…
- Resetting the MySQL root password the dirty way
It happens to me quite often that I forget the root password of a MySQL-setup. In that case, a dirty way to reset the root user's password is to stop the…
- Adding Google Contacts to Roundcube Webmail
- Category: CLI Tricks (10)