Systemadministration
Install latest Broadcom bnx2 linux driver
Install new broadcom driver on Ubuntu or Debian: 1. Download Linux driver http://www.broadcom.com/support/ethernet_nic/downloaddrivers.php 2. Unpack unzip linux-6.2.23.zip cd Server/Linux/Driver tar vfx netxtreme2-6.2.23.tar.gz cd netxtreme2-6.2.23 3. Install build tools and install the driver sudo aptitude install build-essential linux-headers make sudo make install 4. Test before installation: $ ethtool -i eth0 driver: bnx2 version: 2.0.2 firmware-version: 4.6.1 [...]
Install VMware Tools on Debian Squeeze
1. Install required packages aptitude install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc 2. Mount VMware Tools mkdir /tmp/vmtools mount /dev/cdrom /tmp/vmtools 3. Unzip the tools tar -C /tmp -vfx /tmp/vmtools/VMwareTools*.tar.gz 4. Run install script cd /tmp/vmware-tools-distrib ./vmware-install.pl Note: You can also use the “open-vm-tools” instead of installing the VMware Tools. aptitude install [...]
Nginx as reverse proxy cache for wordpress and apache
1. Install Nginx * Install from PPA * Install using self build packages 2. General Nginx Settings Edit “/etc/nginx/nginx.conf” and modify or insert the following settings: [...] http { [...] # Gzip Settings gzip on; gzip_disable “msie6″; gzip_buffers 32 8k; gzip_comp_level 6; gzip_http_version 1.0; gzip_min_length 0; gzip_types text/html text/css image/x-icon application/x-javascript application/javascript text/javascript application/atom+xml application/xml [...]
Install nginx on debian squeeze from PPA
You find currently nginx version 0.7.67-3 in Debian Squeeze. If you want the latest version you have to build your own paket or you can use one from the ubuntu ppa. This installs the latest stable relase of nginx webserver (current 1.0.1) on Debian Squeeze. echo “deb http://ppa.launchpad.net/nginx/stable/ubuntu lucid main” > /etc/apt/sources.list.d/nginx-stable-lucid.list apt-key adv –keyserver [...]
Building a nginx debian package with third party modules
I created this manual on Debian Squeeze (amd64) with the latest version of nginx (stable) an one third party module as example. If you want to build your own package, check for the latest versions of the modules and nginx and modify the version numbers in this manual. 1. Install build debian tools and depending [...]
Nagios 3 with Nginx on Ubuntu Server
1. Install Nagios 3 aptitude install nagios3 2. Test Nagios Installation Open “http://SERVER/nagios3/” in your browser. Login with user “nagiosadmin” and the passwort you have entered during the installation. 3. Switch from Apache to Nginx Nagios has dependencies to the Apache webserver. So Apache was installed with Nagios. Now we replace it with Nginx. 3.1 [...]
Enable SNMP on Citrix XenServer 5.6
Open XenServer Console or open a SSH connection to your XenServer for this howto: 1. Firewall Settings Open “/etc/sysconfig/iptables” with “vi” editor and add the following line to allow SNMP connections: -A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 161 -j ACCEPT Restart iptables service: service iptables restart 2. Configurate SNMPD Edit [...]
Ubuntu Lucid on XenServer 5.6 FP1
Describes howto install Ubuntu Lucid 10.04 LTS (32-Bit or 64-Bit) on a Citrix XenServer 5.6 FP1 and convert the virtual machine into a template. Note: Click to enlarge a picture. 1. Create a new virtual machine Select template “Ubuntu Lucid Lynx 10.04 (64-bit)” and choose name and description for your virtual machine (or 32-Bit if [...]
Change DNS-Server in XenServer 5.6 FP1
Citrix removed the change DNS from their console. But to change DNS-Server in “/etc/resolv.conf” are not solid settings. If you reboot the server the settings will be changed back to the initial configuration. You have to change it with “xe pif-reconfigure-ip”. Change DNS-Server First use xe pif-list to get the UUID of your PIF. You [...]
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 [...]

