Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

debian

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/lang/de-de/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 [...]

, , , ,

Install Coldfusion 8 Multiserver on Debian 5.0 Lenny with Apache 2

This article describes, how to install Adobe Coldfusion 8 with Multiserver configuration. You can use this configuration for an ISP like coldfusion setup. Each instance/virtual host will have its own Coldfusion administrator with custom settings. 1. Prerequirements: * Apache 2 is installed and running correctly. * libstdc++5 is installed. aptitude install libstdc++5 * You have [...]

, , , , , ,

Create an iCalendar server with debian 5.0 lenny

First you need an working apache2 webserver with mod “dav_fs”. If you want iCal over SSL you need a configurated “mod_ssl” on your apache2 webserver. a2enmod dav_fs Next step is the apache configuration: Insert this in your “virtualhost” configuration. Alias /iCalendar /your/path/to/iCalendar <location /iCalendar> DAV On </location> Now you can create a new calendar with [...]

, , , , , , , , ,

Greylisting with sqlgrey, postfix and mysql on Debian Lenny

This article describes howto setup sqlgrey with postfix and mysql on Debian Lenny. The normal graylisting with postgrey store the whitelist in a berkeley database which needs to be replicated on a mailserver cluster. With sqlgrey you can do that replication with a mysql database. First create a Database “sqlgrey” with an user “sqlgrey” on [...]

, , , , , , , , ,

Authenticate ejabberd with an mysql database

This is a small script to authenticate Jabber users with an external MySQL database. You can free define table and columns for username and password in the settings part of the script. The password should be stored with the ENCRYPT() function in the database. First edit the Jabber configuration file (\etc\ejabberd\ejabberd.conf) and change the authentication [...]

, , , , ,

Previous Posts Next posts