by lifeLinux on August 24, 2011
Using last command to show listing of last reboot / shutdown date and time. Last command which searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty’s can be given, […]
by lifeLinux on August 23, 2011
This is a simple script take to daily backup server files and MySQL databases to FTP server. Make sure you have lftp client installed. Type the following command if you are using Centos/Fedora/RedHat # yum install lftp
by lifeLinux on August 23, 2011
Memcache extension provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. This article will explain how to install the memcache PHP extension on Centos/RedHat/Fedora.
by lifeLinux on August 23, 2011
How do I tell rsync to use a different port for SSH ? # rsync -av -e “ssh -p [port_number]” user@ip:/path/to/source/ /path/to/destination/
by lifeLinux on August 23, 2011
To disable the reboot action taken by pressing the Ctrl+Alt+Delete key combination, comment out the following line in the file /etc/init/control-alt-delete.conf.
by lifeLinux on August 23, 2011
To disable CTRL+ALT+DEL key is configured to use /etc/inittab file. Login as root and edit /etc/inittab file and remove ctrlaltdel entry. Type the following command # vi /etc/inittab
by lifeLinux on August 22, 2011
A master boot record (MBR) is a type of boot sector popularized by the IBM Personal Computer. It consists of a sequence of 512 bytes located at the first sector of a data storage device such as a hard disk. MBRs are usually placed on storage devices intended for use with IBM PC-compatible systems.