Monday, July 11, 2011

Reseting of Root Password in Linux !

Just follow the simple steps given below in case you have forgotten your root password and need to reset the same :


1. At grub boot screen (after restart) , Select the Kernel.
2. Press the e key to edit the entry .
3. Select second line (the line with the word kernel).
4. Append the letter S or Single or 1(depending on the system) to the end of the (kernel) line.
5. Press ENTER key.
6. Now press the b key to boot the Linux kernel into single user mode.
7. you will be promted a root shell.
8. type passwd root to change the root password.

Monday, June 20, 2011

Installing phpMyAdmin in Ubuntu 10.04

PhpMyAdmin is a nice database management and administration tool,and its easy to install too. The steps are given below :

Type the following line in the Terminal:

apt-get install phpmyadmin

After the installation is over type the following command to open up this file:

gksudo gedit /etc/apache2/apache2.conf

Add the following line of code inside apache2.conf file :

Include /etc/phpmyadmin/apache.conf




Now restart the Apache by typing in the following command:

sudo /etc/init.d/apache2 restart



Now open up the given page in your browser:


 http://localhost/phpmyadmin/


Now you should be able to see the phpMyAdmin landing page !