Linux
Zend Server Community Edition on Ubuntu Server
The best way to install Zend Server is to follow the instructions on http://files.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#deb_installation.htm. Here the short version: 1. Installation: 1.1 Define a repository by opening the following file: “/etc/apt/sources.list” and adding the line: deb http://repos.zend.com/zend-server/deb server non-free 1.2 Add Zend’s repository public key by running: wget http://repos.zend.com/deb/zend.key -O- |apt-key add – If you are [...]
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 4
Puppet facts Note: This article based on Part 1 – Part 3 of my puppet articles. Please read them first ! Factor allows to you add information from your nodes to your puppet configuration. Facts are available as variables. Execute the “facter” command and you get a full list of facts an their values: sebastian@pc1:~$ [...]
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) [...]
Google Chrome (Chromium) on Ubuntu
Installing Google Chrome browser on ubuntu: Chromium is an open source browser project. Google Chrome is a browser from Google, based on the Chromium project. First add the following sources to your “/etc/apt/sources.list” depending on your ubuntu version: For Hardy: deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main For Intrepid: deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main deb-src [...]
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 [...]
MySQL command line import of file with UTF-8 encoding
A Post-It note for me … Importing an UTF-8 encoded MySQL Database export file with MySQL command line interface: mysql -D databasename -h hostname -p -u db_username –default_character_set utf8 < sqlfile.sql If you don’t add the “–default_character_set utf8″ flag you will get very funny characters in your database
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 Server 2 – RuntimeFault: Database temporarily unavailable or has network problems
If you add a new User (New Permission) to the VMWare Server 2 via the VMware Infrastructure Web Access you may get the message “The server response included one or more errors” with the details “RuntimeFault: Database temporarily unavailable or has network problems”. To fix this you first have to stop the VMWare management service: [...]

