zeldor.biz

Linux, programming and more

Copyright © 2022
Log in

Debian squeeze install OpenVZ

March 30, 2011 by Igor Drobot 1 Comment

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:
[Read more…]

Filed Under: Debian, Kernel, Linux, Virtualization Tagged With: Container, Debian, OpenVZ, Squeeze, virtualization, Xen

Roundcube PHP Update conflict

December 24, 2010 by Igor Drobot Leave a Comment

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

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

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

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

Filed Under: Debian, Linux, Mailing Tagged With: php5, Roundcube, Squeeze, Suhosin

Icinga with Lighttpd

December 22, 2010 by Igor Drobot 3 Comments

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

aptitude install lighttpd aptitude install icinga

To use Icinga we need following modules:

  • mod_cgi
  • mod_auth
  • mod_setenv

[Read more…]

Filed Under: Debian, Linux, Monitoring, Ubuntu Tagged With: Debian, Icinga, Monitoring, Squeeze, Ubuntu