-
cssh – cluster ssh
This package is used to manage multiple pc, servers at once. I use it, for updating multiple servers at once. # cssh computer-group # vim /etc/clusters (configuration file for computer groups) computer-group user@host1 user@host2 user@host3 user@host4 user@host5 From now on all commands that I use are executed on all defined computers.
-
Mount ntfs on linux (debian)
# aptitude install ntfs-3g # mount -t ntfs-3g /dev/xzy /mnt/xzy
-
Reset root password on linux
What do you need? Linux live cd (Ubuntu, Fedora,…) What to do? 1. Boot with linux live cd 2. Start terminal and type; # sudo su # mount /dev/sdaX /mnt X – root partition # chroot /mnt # passwd…
-
Debian 6 + pcman 0.9.7 unable to mount usb drive
PROBLEM debian 6 + pcman 0.9.7 — unable to mount usb drive SOLUTION Install gvfs # aptitude install gvfs
-
Zimbra statistical daemon doesnt running
PROBLEM (zmstatd doesnt run) [zimbra@mail ~]$ zmstatctl status Running: zmstat-cpu Running: zmstat-mysql Running: zmstat-io-x process 16010 in /opt/zimbra/zmstat/pid/zmstat-fd.pid not running Running: zmstat-proc Running: zmstat-df Running: zmstat-vm Running: zmstat-mtaqueue Running: zmstat-allprocs Running: zmstat-io SOLUTION [zimbra@mail ~]$ mv /opt/zimbra/zmstat/pid/zmstat-fd.pid /opt/zimbra/zmstat/pid/zmstat-fd.pid.old [zimbra@mail ~]$ zmcontrol stop && zmcontrol start << restart zimbra server
-
Reset gnome 2 panel
rm -r ~/.gconf/apps/panel or just move the folder elsewhere if you want to back it up. Log out of Gnome, then back in. URL: http://www.celsius1414.com/2006/08/31/how-to-reset-gnome-panel-to-default-in-ubuntugnome2
-
Debian upgrade (lenny to squeeze)
1. Install from debian 5 (net install) – only the minimum packages (without desktop) 2. After reboot change /etc/apt/sources.list to point to squeeze repositories. (I added contrib and non-free repositories) my example: deb http://ftp.si.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.si.debian.org/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib…
-
Zimbra restore
INSTALLATION 1. Clean install Centos 5.5 (minimal) # my anaconda-ks.cfg # Kickstart file automatically generated by anaconda. install cdrom lang en_US.UTF-8 keyboard slovene network –device eth0 –bootproto static –ip *** –netmask *** –gateway *** –nameserver ***,*** –hostname host.domain.com rootpw –iscrypted $********************************** firewall –enabled –port=22:tcp authconfig –enableshadow –enablemd5 selinux –enforcing timezone –utc Europe/*************** bootloader –location=mbr –driveorder=hda…
-
Zmstatd doesn´t start
Check the permission of the /opt/zimbra/zmstat directory: # ls -la /opt/zimbra/zmstat drwxr-xr-x 2 root root 4096 Apr 26 00:00 2010-04-25 drwxr-xr-x 2 root root 4096 Apr 27 00:00 2010-04-26 drwxr-xr-x 2 root root 4096 Apr 28 00:00 2010-04-27 drwxr-xr-x 2 root root 4096 Apr 29 00:00 2010-04-28 drwxr-xr-x 2 root root 4096 Apr 30 00:00…
-
Change kvm guest configuration
1. login as root 2. change configuration # virsh dumpxml guestname > /root/guestname.xml (backup configuration) # vim /root/guestname.xml (change configuration) # virsh define /root/guestname.xml (enable changes) 3. shutdown guest # virsh shutdown guest or with virt-manager 4. start guest # virsh start guestvm URL: https://help.ubuntu.com/community/KVM/Managing