Tag Archive for 'Squeeze'

Debian squeeze install OpenVZ

I have a tiny embedded server (acrosser model) Intel Celeron with only 400MHz and 512MB Mem total. Before I upgraded debian to squeeze I used Xen, now its time to use OpenVZ.

Reasons:
- My tiny hardware:)
- Container virtualization – I can use more virtual machines
- Less memory usage – Container cannot boot

OpenVZ kernel and the vzctl and vzquota packages are available in the Debian repositories, so we can install them as follows:
Continue reading ‘Debian squeeze install OpenVZ’

Roundcube PHP Update conflict

Another tricky error after Debian squeeze upgrade:
ERROR: Wrong ‘suhosin.session.encrypt’ option value. Read REQUIREMENTS section in INSTALL file or use Roundcube Installer, please!

The fix is very trivial:

1
2
3
4
vim /etc/php5/apache2/php.ini
# Add this lines to the bottom of the config:
[suhosin]
suhosin.session.encrypt = Off

Solution for php5-fpm:

1
php_admin_value[suhosin.session.encrypt] = Off

To upgrade the database style to roundcube version 0.9.0 I used a little workaround to prevent suhosin error reporting:

1
php -d suhosin.session.encrypt=off -d date.timezone=Europe/Berlin bin/updatedb.sh --package=roundcube --version=0.8.2 --dir=`pwd`/SQL

Icinga with Lighttpd

Some days ago I wrote a similar post about nagios and lighty, now I decided to test Icinga on Debian Squeeze.

The installation was pretty easy:

1
2
aptitude install lighttpd
aptitude install icinga

To use Icinga we need following modules:

  • mod_cgi
  • mod_auth
  • mod_setenv
  • Continue reading ‘Icinga with Lighttpd’