Systemadministration
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 […]
Install Subversion repository on a nfs share
This howto describes how to install subversion on debian with the repository on a mounted nfs share. 1. Installation aptitude install subversion libapache2-svn 2. Create the repository mkdir /mnt/nfsshare/svn/ svnadmin create –fs-type fsfs /mnt/nfsshare/svn/project1 The path /mnt/nfsshare is the mountpoint of the NFS share, please make sure you use the fsfs filesystem type for your […]
Secure Apache 2 with mod-security 2 on Debian Lenny
This article describes how to install mod_security2 on Debian Lenny. It should work on Etch, too. On the http://www.modsecurity.org website there is a link to the mod_security2 pakets for Debian. (Community-Produced Binary packages) Note: You should check this website for the latest versions and change the example „wget“ commands in this howto. 1. Download the […]
Log Apache2 access log into a MySQL database on Debian Lenny
This article describes how you can log your apache access log entries into a MySQL database. You need a installed and configurated Apache2 webserver and MySQL server. Installation: On the webserver: aptitude install libapache2-mod-log-sql-mysql a2enmod unique_id On the database server: Create a new database „apachelogs“ and a user for this database. Configurate a virtual host: […]
Deploy Adobe Coldfusion 8 on Tomcat 6 in a virtual host environment
This article describes how to deploy the Adobe Coldfusion 8 server on Tomcat in a virtual hosts environment. Please read my Apache Tomcat 6 Article for the base setup. If you install the coldfusion server in seperate virtual hosts, each will have an own coldfusion administrator with own settings. 1. Download First download the coldfusion-801-lin.bin […]
Deploy OpenBlueDragon on Tomcat 6 in a virtual host environment
This article describes how to deploy OpenBlueDragon server on Tomcat in a virtual hosts environment. Please read my Apache Tomcat 6 Article for the base setup. If you install the BlueDragon server in seperate virtual hosts, each will have an own coldfusion administrator with own settings. 1. Download Download „J2EE WAR Distribution“ from http://www.openbluedragon.org/download.cfm. 2. […]
Install Tomcat 6 on Debian (Lenny) with virtual hosts and Apache2 integration
This article is a new version of my Apache Tomcat 5.5 article. In this version i descripe the installation of the open bluedragon in a seperate article. This article only describes how to install Apache Tomcat 6 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 6 is not available over the regular sources on […]
APC UPS on Debian Etch
This article describes, how you can monitor a APC UPS unit on Debian Etch. 1. Install apcupsd aptitude install apcupsd 2. Configuration vim /etc/apcupsd/apcupsd.conf If you connect the server to the UPS unit with an USB cable use: # USB configuration UPSCABLE usb UPSTYPE usb If you connect the server over ethernet use this configuration: […]