debian
Resize images (folder) with imagemagick (mogrify)
Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI. First install imagemagick: aptitude install imagemagick Now „cd“ into the directory with your images and execute: […]
Upgrade Debian Lenny to Squeeze on Citrix XenServer
1. Update your Lenny installation Make sure that your current Lenny is up-2-date. aptitude update aptitude upgrade 2. Change sources to Squeeze Open „/etc/apt/sources.list“ and replace „Lenny“ with „Squeeze“ here is an example: # Debian Squeeze deb http://ftp.de.debian.org/debian/ squeeze main deb-src http://ftp.de.debian.org/debian/ squeeze main # Debian Squeeze Security deb http://security.debian.org/ squeeze/updates main 3. Upgrade your […]
Install VirtualBox 4.0 on Ubuntu / Debian
1. Add new software repository Edit the file “/etc/apt/sources.list“ with your favorite editor and add the following line depending on your Ubuntu version: Ubuntu 10.10 (Maverick Meerkat) deb http://download.virtualbox.org/virtualbox/debian maverick contrib Ubuntu 10.04 (Lucid Lynx LTS) deb http://download.virtualbox.org/virtualbox/debian lucid contrib Ubuntu 9.10 (Jaunty Jackalope) deb http://download.virtualbox.org/virtualbox/debian karmic contrib 2. Add the GPG-Key […]
Install Tomcat 7 on Debian (Lenny) with virtual hosts and Apache2 integration
Please see new version Tomcat 8 on Debian 7 here ! This article is a new version of my Apache Tomcat 6 article. This article describes how to install Apache Tomcat 7 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 7 is not available over the regular sources on Debain Lenny (and Etch) it […]
Monitoring the Nagios process with monit
Monitoring the Nagios process with monit Howto to install monit on Debian or Ubuntu to monitor the nagios process. Installation aptitude install monit Configuration Edit the monit configuration file /etc/monit/monitrc and make the following changes: Generall settings: set daemon 120 set logfile syslog facility log_daemon set mailserver localhost set mail-format { from: monit@myserver.de } set […]
Adobe Coldfusion 9 – Debian 5.0 Lenny – Ubuntu 9.10 or 10.04
Install Apache2 webserver: aptitude install apache2 Install required libraries: aptitude install libstdc++5 Install coldfusion: Download the coldfusion installation paket (Linux bin-file) from www.adobe.com. You can use the Trial Edition and upgrade later to the full version by enter the serial number in the administration webinterface Make the downloaded file executeable and run the installer: chmod […]
VMWare Server 2 – Unable to build the vsock module
Just a quick Post, the solution for the „Unable to build the vsock module“ error message if you install VMWare Server 2 on Debian or Ubuntu: tar xvf /usr/lib/vmware/modules/source/vsock.tar cd vsock-only sed -i ’s/^\#include //‘ autoconf/*.c make cp vsock.o /lib/modules/$(uname -r)/misc ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko depmod -a invoke-rc.d vmware restart
Linux Software RAID 5 on Debian Lenny or Ubuntu
This is an update Post for my old Howto http://www.mogilowski.net/2008/05/09/linux-software-raid-5-unter-debian-etch for Debian Lenny and Ubuntu. In this configuration i created a raid 5 with the drives sda, sdb, sdc and sdc. (Change it to your configuration if you need it.) 1. Installation aptitude install mdadm 2. Create Raid Insert this line in the mdadm config […]
Add swap file to a linux server (Debian or Ubuntu)
This article describes how you can add a swap file on Debian or Ubuntu. You can use this to add additional swap space or to add swap to a server without any swap space. (You can use this as temporary swap space, too) 1. Create the swap file: Use „dd“ to create the swap file. […]
Servermanagement with puppet – Part 2
Now we want to create a clear strukture for the puppet configuration files. The config in Part 1 is only a simple example to test the configuration. In this example we want to create the user „sebastian“ and „demo“ on all servers with a specific password. 1. Templates “/etc/puppet/manifests/templates.pp“: This files defines various classes of […]