Sebastian Mogilowski's Blog

Just another blog about administration, linux and other stuff

Fix Ubuntu 11.10 Oneiric Ocelot dbus Problem

After uprade to Ubuntu 11.10 Oneiric Ocelot i get the following message during the system boot:Nach dem Update zu Ubuntu 11.10 Oneiric Ocelot bekam ich folgende Meldung wärend des Systemstarts: Waiting for network configuration It takes a long time and leads to a black screen.Es dauerte eine Weile und führte zu einem schwarzen Bildschirm. You […]

, ,

Convert PDF to Image

Using „convert“ from „imagemagick“ to convert a PDF to Image. Example: convert -geometry 1024×768 -density 200 -colorspace RGB input.pdf output.jpg Or use a other geometry, quality and no color: convert -geometry 2048×1536 -density 400 -colorspace gray input.pdf output.jpg Links: * http://www.imagemagick.org/script/convert.php

, , ,

System Administrator Appreciation Day – 2011

To all other system adminstrators „HAPPY SYSADMIN DAY !“ http://www.sysadminday.com and, of course Sources: http://www.userfriendly.org http://xkcd.org

Install Sun Java with Puppet on Ubuntu

Sun wants you to agree to its license before installing the JRE/JDK. For an unattended install you need a preseed file. You get the content of this file with „debconf-get-selections | grep sun-„ on a system where you have already installed the required packages. Create a file „/etc/puppet/files/sun-java6.preseed“ with the following example content: sun-java6-bin shared/accepted-sun-dlj-v1-1 […]

, , ,

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 PPAPPA Installation * Install using self build packagesInstallation mit selbstgebauten Paket 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 […]

, , , , ,

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

, ,

Previous Posts Next posts