All

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.

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.

Enable IP forwarding on Linux

To enable IP packet forwarding please edit /etc/sysctl.conf with your editor of choice – vim/gedit

Upgrade PHP 5.1 to PHP 5.2

Here I will show you that, how to upgrade the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.2.x.

Recover MySQL root Password

Do you lost or forgot mysql root password ? No problem…! You can recover MySQL database server password with following steps. First Stop mysql service. # /etc/init.d/mysqld stop Start MySQL server without password: # mysqld_safe   – -skip-grant-tables & Connect to mysql server using mysql client: # mysql -u root Setup new MySQL root user password…

mysqladmin – To change root password

To setup root password for first time, use mysqladmin command at shell prompt as follows: