server


Install Nginx 1.6.0 on Debian Wheezy

Wheezy comes by default with Nginx 1.2 which is already quite old. In my case I needed some features that were only available above 1.3.3 – the latest version is currently 1.7.2. To install it you have to add this repo: echo "deb http://dotdeb.netmirror.org/ stable all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://dotdeb.netmirror.org/ stable all" >> /etc/apt/sources.list.d/dotdeb.list Add […]


Installing Chef 11 Server on Debian configuring knife

Having your Debian Squeeze installed you can install Chef Server 11 using the Ubuntu 10.10 package. You can get the package from http://www.opscode.com/chef/install/. The current version is 11.08. Before doing your installation, check that the hostname command is giving a fully qualified domain name. If not, you should modify the contents of /etc/hostname (example: chef.example.net) and add the […]


Activating XDebug in Zend Server

In order for the XDebug Pear/PECL package to find php, we need to create some symbolic links: ln -s /usr/local/zend/bin/zendctl.sh /usr/bin/zendctl ln -s /usr/local/zend/bin/pear /usr/bin/pear ln -s /usr/local/zend/bin/pecl /usr/bin/pecl ln -s /usr/local/zend/bin/php /usr/bin/php ln -s /usr/local/zend/bin/phpize /usr/bin/phpize Then install the Pear/PECL package XDebug: pecl install xdebug Execute the command below – this prepends zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so to the file […]


Configure NFS server and client on Debian or CentOS

NFS (Network File System) erlaubt es, relativ leicht, Shares zwischen Linux-Servern und -Clients zu erstellen.     Zunächst installieren wir die benötigen Pakete auf dem Server:   Auf einem Debian-System genügt ein: apt-get install nfs-kernel-server nfs-common portmap   Auf CentOS: yum install nfs-server nfs-utils portmap       Jetzt installieren wir die erforderliche Pakete auf […]


Creating screenshots with kwebdesktop on Linux

There are not a lot of ways automating the creation of screenshots from a linux console. One is using kwebdesktop. First of all we need to install the needed packages:   On a Debian Etch you can do this by executing: apt-get install vncserver kdesktop xfonts-base xfonts-100dpi xfonts-75dpi xfonts-intl-european xfonts-scalable xfonts-terminus xfonts-terminus-dos   In Debian […]