Apr
29
2008
0

Linuxwochen Eisenstadt 2008

On Mai the 30th & 31st the Austrian “Linuxwochen” will again hit my former university in Eisenstadt.
Look ahead for some very interesting talks by several highly skilled people.

One event I’d especially like to draw your attention to is Oliver’s pice about “Linux Server Experience with VServer” on Fr. the 30th. at 17:15 hours.

I’d be happy (and I’m sure, Olli even more) to see a lot of people attending this great event, listening to the talks held there and discuss open source solutions with us :)

Mar
02
2007
2

Installing eAccelerator on Debian

This is a quick HowTo for installing the eAccelerator PHP cache/optimizer on a Debian system (should be applicable to other Linux distros as well).

  1. Download the latest release from SourceForge.net to your server and extract the sources.
  2. Change to the sources directory and type in the following.
    export PHP_PREFIX="/usr"
    $PHP_PREFIX/bin/phpize
    ./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config

    This should set up the environment and compile configuration correctly.
  3. Now compile with make and install with make install (as root) afterwards.
  4. To configure eAccelerator you have to edit your PHP config which resides in /etc/php4/apache2/php.ini on my system.
    Add the following lines at the end: extension="eaccelerator.so"
    eaccelerator.shm_size="16"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"

    The file README in the sources directory gives a pretty good explanation of all those parameters. The only one you should probably alter is the shm.size because 16MB of shared memory might be a little bit too conservative.
  5. Last step is to create the directory where eAccelerator stores the cached scripts which don’t fit into the shared memory. mkdir /tmp/eaccelerator
    chmod 0777 /tmp/eaccelerator

Now you’re done. Further tweaking can be accomplished by altering all the parameters in the php.ini file.

Written by Florian Beer in: linux,server
rel-tag , , , , ,

Oct
18
2006
0

Running A File, Print, Proxy, DHCP, AND Time Server For Small Enterprises

This article shows how to run a file-, print-, HTTP proxy- DHCP-, and time server for small and medium enterprises (SME) on one single Debian Sarge system. It is very easy to set up, and management is done with an easy-to-use web interface called eBox so once the system is set up, you can forget about the command line.

…not that I would “forget about the commandline” but this could actually come in handy sometimes.

read more | digg story

Written by Florian Beer in: linux,security,server
rel-tag , , , , , ,

Dec
28
2005
0

Changing the MySQL root password

just so I don’t forget it …
(still need it EVERYTIME I set up a new server *sigh*)

root@u-1:/home/u-1# mysql -u root mysql
mysql> SET PASSWORD FOR root@localhost=PASSWORD('whatever');

Written by Florian Beer in: linux,server
rel-tag , , , ,