Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

Systemadministration

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

, , , ,

Puppet Dashboard / Reports – Ubuntu

Puppet reports with “Puppet Dashboard“: Installation: Add the following lines to your “/etc/apt/sources.list” file: deb http://apt.puppetlabs.com/ubuntu lucid main deb-src http://apt.puppetlabs.com/ubuntu lucid main Run aptitude update to updates your packet list. If you get an “GPG error” because the public key is not available than add the Puppet Labs repository key to APT. (NO_PUBKEY 1054B7A24BD6EC30) run: [...]

, , ,

Next posts