Archive for April, 2009

Mit dem Befehl “du” lassen sich auf der Shell bequem Ordnergrössen anzeigen.
Als Beispiel:
~$ du -sh /home
zeigt die Gesamtgrösse von /home an.
Dabei steht Parameter s für summarize und h für human readable,
die Grösse des Ordners wird daher in GB oder MB angezeit und nicht in Blöcken.
Für mehr Infos und Optionen:
~$ du –help

 

Ubuntu 9.04

The new Ubuntu release is scheduled to come on out on April 23th 2009.

To upgrade from Ubuntu 8.10 on a desktop system, press Alt+F2 and type in “update-manager -d” (without the quotes) into the command box. Update Manager should open up and tell you: New distribution release ‘9.04’ is available. Click Upgrade and follow the on-screen instructions.

 

To upgrade from Ubuntu 8.10 on a server system: install the update-manager-core package if it is not already installed; edit /etc/update-manager/release-upgrades and set Prompt=normal; launch the upgrade tool with the command sudo do-release-upgrade; and follow the on-screen instructions.

 

To create a separate php.ini file for Cpanel and Fantastico run:

~$ /scripts/makecpphp

 

Bei Debian Lenny treten häufig Probleme bei der SASL Anmeldung an Postix auf.
Folgenden Code ausführen:

~$ nano /etc/default/saslauth
Die OPTIONS Zeile umändern in
~$ OPTIONS=”-c -m /var/spool/postfix/var/run/saslauthd”
Danach folgenden Code ausführen
~$ dpkg-statoverride –add root sasl 710 /var/spool/postfix/var/run/saslauthd
~$ adduser postfix sasl

Danach noch die Dämonen neu starten
~$ /etc/init.d/saslauthd restart
~$ /etc/init.d/postfix restart

Jetzt sollte es mit dem Mailversand wider klappen

 

I experienced this problem on VPS Debian 5.0  Lenny:

——————————————————————————-
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
——————————————————————————-

Locale is a framework to switch between multiple languages for users who
can select to use their language, country, characters, collation order,
etc.

I noticed that i couldn’t install the Squirrelmail language modules.
How to fix:

~# apt-get update
~# apt-get upgrade
~# apt-get install locales
~# mv /etc/locale.gen /etc/locale.gen_back
~# ln -s /usr/share/i18n/SUPPORTED /etc/locale.gen
~# locale-gen

It takes a little eternity but afterwards your system is updated and
supports multiple languages.