Archive for August, 2011

Linux:how to clone hardrive over network

Wednesday, August 24th, 2011

Purpose : I want to clone a hardrive “/dev/sda” over network. Server A will get the clone data and Server B will will sent the clone data. disk space of Server B is : fdisk -l   Disk /dev/sda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * [...]

How to install apache2 php mysql in debian

Thursday, August 18th, 2011

Install apache2 and php modules apt-get install apache2 php5 libapache2-mod-php5 php5-mysql Install mysql server apt-get install mysql-server Restart apache2 /etc/init.d/apache2 restart

How to allow root to login in debian desktop

Wednesday, August 17th, 2011

(a) edit gdm3 file nano /etc/pam.d/gdm3 (b) disable bellow line auth required pam_succeed_if.so user != root quiet_success