Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

Linux

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 [...]

, , , ,

VMWare Workstation / Player Installer 6.5.3 Hangs

The installer of VMWare Workstation (and Player) hangs on Ubuntu Karmic 9.10. “Cause: the installer runs vmware-modconfig-console which produces enough output with some kernels that the python engine deadlocks is command piplining during the compile.” You need 2 consoles. In the first one type: sudo -i while true; do killall -9 vmware-modconfig-console; sleep 1; done [...]

, , , , ,

Servermanagement with puppet – Part 3

In the 3. part we configurate the puppet clients to reports at the end of every configuration run. This reports are stored on the puppetmaster. Configurate client Enable reporting on the puppet client “/etc/puppet/puppet.conf“: [puppetd] report = true Configurate puppetmaster Activate reporting on the puppetmaster”/etc/puppet/puppet.conf“: [puppetmasterd] templatedir=/var/lib/puppet/templates reports = store,log,rrdgraph Note: See reporttypes below. (reports) [...]

, ,

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 [...]

, , , ,

Servermanagement with puppet – Part 1

The Environment: Hosts: puppetmaster: The puppetmaster pc1: The first testclient pc2: The second testclient Domain: domain.local Note: I used Ubuntu 9.04 in all servers. Puppetmaster installation aptitude install puppetmaster Activate fileserver for the local network (”/etc/puppet/fileserver.conf”): [files] path /etc/puppet/files allow *.domain.local [plugins] path /etc/puppet/files allow *.domain.local Note:You can allow a subnet, too. (”allow 192.168.0.0/24”). Edit [...]

, , ,

VMWare Infrastructure Client with VMWare Server

I had a lot of problems with the new webinterface of VMWare Server 2. The interface is very unstable and not very comfortable for the VMWare configuration. I need an alternative for the browser application. The new VMWare Server 2 is very simular to the ESXi or ESX Server from VMWare so you can use [...]

, , , ,

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