Monday, March 7, 2011

Root Password Recovery

If you forget the root password, you can change it by entering the system in single user mode, as shown below.

1.) To enter in single user mode, restart the system, and select your Linux OS
     (do  not press Enter on it).
2.) Now, press 'e' on the kernel line to edit the kernel parameters.
3.) Add 'S' as the kernel parameter ( do not add quotes).
4.) Press Enter to escape from editing; Now, press 'b' to boot.
5.) You'll on the root shell. Now It's time to change the password.

#passwd

You'll now be asked for the new password.


If you have forgotten the grub password, then use any Linux Live CD. Go to the specific drive that has your Linux/boot and edit grub.conf and comment out the password line to remove the password.

Restor Linux booting

If you are in the habit of trying out the various flavours of Linux, then there may be times when the boot sector is lost or overwritten by Windows. Even the SUSE Repair or Rescue option do not help. I've always followed this method to restore booting.
Using the Linux installation CD/DVD, go to Shell and type grub. Then issue the following commands :

#root(hd0,X)                  // where X is one minus the Linux Root Partition number
#setup(hd0)
#quit

After rebooting, you will be back to Linux.

View Information about the motherboard and CPU

Use the following command as root or sudo


# dmidecode | more

dmidecode's purpose is to report  information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard.

Making Mozilla Firefox faster

We all know Firefox is a memory hogger. To speed up Firefox, however, you can follow the steps shown below :

  1. Open Firefox and in the address bar, type in 'about:config'.
  2. Click on the button : "I'll be careful, I promise".
  3. Use the search bar located on the page to look for 'network.http.pipelining' and double click on it to set its value to 'True'.
  4. Create new Boolean value named 'network.http.pipelining.firstrequest' and set that to 'True', as well.
  5. Find "network.http.pipelining.maxrequests" and double click on it. Then change its value to 8.
  6. Look for "network.http.proxy.pipelining" and set it to "True".
  7. Create two new integers named "nglayout.initialpaint.delay" and "content.notify.interval"  ; set them to "0".
  8. Now, restart your browser to experience the difference.

Sunday, March 6, 2011

Softwares for Linux

Browsers:
We all know that Mozilla Firefox is default and one of the powerful browser.
But there are some other browsers are available for Linux.
You can download from site links given with browsers name.
  1. Google Chrome
  2. Sea Monkey
  3. Opera 
Softwares:
  1. Wine:
          For Fedora Users : yum install wine
  2. Blue Fish:
         Download file from here.
  3. DosBox :
         Download file from here.
  4. Filezilla  and Gftp :
        Search Fedora Users from Add/Remove software. It's easy to find out.

I'll update this post later with new softwares. If you want any software and have new software then post them in comment.