Archive for the ‘ Linux Distributions ’ Category

If ClamAV is refusing to work on your Cpanel Box
it’s probably caused by a missing perl module. Type:
~# perl -MCPAN -e shell
cpan> install File::Scan::ClamAV
exit

 

To untar multiple files in a directory type:
~ # $ for i in *.tar; do tar -xvf $i; done
This command creates a loop to extract all archives.

 

Beim Installieren erhält man die folgenden Fehlermeldung:
dpkg: Fehler beim Parsen, in Datei »/var/lib/dpkg/available
Lösung: Paketmanager neun initialisieren:
~#dpkg –clear-avail
~#dpkg -reconfigure apt

 

At read commands from standard input or a specified file
which are to be executed at a later time, using /bin/sh.
To schedule a computer shutdown with atd:
~# echo “/sbin/shutdown -h now” | at 22:15 01.06.2010
Your computer will shutdown on first June at 22:15

 

To configure a new graphic card on Debian or related distributions ( Ubuntu/Kubuntu etc. ) type:
~#dpkg-reconfigure xserver-xorg
and follow the interactive menu.

 

Ubuntu has announced the release of Version 10.04 LTS ( Long Term Support )
The new version is again available for both desktop and server applications.
http://www.ubuntu.com

 

Wenn Sie Debian als Plattform für einen lokalen Fileserver benutzen
solten Sie hdparm aktivieren um den Zugriff auf die Festplatte wesentlich zu
beschleunigen.

~#apt-get install hdparm
~#hdparm -d1 /dev/hda

Ersetzen Sie “hda” ( Hier eine IDE Festplatte ) durch den entsprechenden Festplattentyp.

Zum Testen:
~# hdparm -t /dev/hda

 

If you want unmount a partition and get a message ” device is busy ” type:
#~ fuser -vu mountpoint
( replace mountpoint with your real mountpoint )
The system will respond with one or more process pid(s)
You can send then a kill or a kill -9 if needed to stop
the process and unmount your partition.

 

If you .want your Linux system starting with numlock enabled at startup,
you need only install the package numlockx from your package manager

 

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