Archive for August, 2011

Install Amarok in Linux

Amarok is a powerful music player for Linux and Unix, MacOS X and Windows with an intuitive interface. It makes playing the music you love and discovering new music easier than ever before.

Create RAMDISK on the fly

RAMDISK is part of system memory which user can use as a normal disk space. The advantage of RAMDISK is faster read and write access in comparison of Hard Disk.

Access Remote File System through SSH

SSH (Secure Shell) is a network protocol that allows secure communication between two network devices. Normally, we use ssh to access Linux and Unix based system shell remotely. But we can also use ssh to mount remote machine file system on local machine. For that you need to install SSHFS packaged on your machine. SSHFS is a filesystem client based on the SSH File Transfer Protocol.

Shell Script : Checking MySQL Slave Server(Replication) Status

MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync. This is not a backup policy because an accidentally issued DELETE command will also be carried out on the slave; but replication can help protect against hardware failures though.

WordPress: Recovering from permalinks hack

We have seen quite a few blogs hacked because WordPress was NOT updated on a timely manner. If you are seeing strange links in URL with eval, that means your blog is hacked.

MySQL – CREATE TABLE examples

A very basic CREATE TABLE statement which should work in any SQL database:

Change console font in Fedora

Ever had the need to change the console font in fedora? Sometimes you need to change it based on your requirements and font support like Greek fonts. The fonts that can be used by the console are kept in the /lib/kbd/consolefonts/ directory.

Change Linux timezone

Usually, the only time I make a change to the timezone setting of the operating system is during the installation time. But it may happen that a change to that setting is necessary. Often /etc/localtime is a symlink to the file localtime or to the correct time zone file in the system time zone directory.

Assigning multiple Virtual IPs to a NIC

Assigning a virtual IPs to a NIC is a very easy task either you use the system-config-network tool or just do some text file editing. The script ifconfig can also be used to create a virtual network interface, but this would not be permanent since the changes ifconfig makes do not survive a reboot. Here we will use text based method to assign multiple IPs.