Tuesday, November 22, 2011

Greatly improve the speed of Firefox 3

1. Open Firefox and in the address bar type about:config.
2. Click on “I’ll be careful, I promise“
3. Use the search bar above to look for network.http.pipelining and double click on it to set it’s value to True.
4. Create a new boolean value named network.http.pipelining.firstrequest and set that to True, as well.
5. Find network.http.pipelining.maxrequests, double click on it, and 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. Restart your browser.

All done. You should feel the browser is 5x more responsive than before while navigating websites.

Wednesday, August 17, 2011

Webmin web based interface

Webmin download url:


http://sourceforge.net/projects/webadmin/files/webmin/1.560/webmin-1.560-1.noarch.rpm/download

#rpm -ivh webmin-1.560.1-noarch.rpm

then start httpd service

#service httpd start

In your browser type url:
https://< your ip address>:10000

you can access webmin web based interface,through this interface can manage all the services and server configration in remote place

Thursday, July 14, 2011

How to edit (find-and-replace) in a file without opening it?

I needed to edit couple of files in a directory in order to find and replace one name/string with another one. Here is what I did using vi:
$ cat test_file
This is a test file.
Today is Monday.

$ vi -c "%s/Monday/Tuesday/g|wq" test_file
"test_file" 2 lines, 38 characters "test_file" 2 lines, 39 characters

$ cat test_file
This is a test file.
Today is Tuesday.

How to install Flash player plugin for Linux 64-bit version

Step by step: (Good for Linux 64-bit OS + Firefox 64 bit combination)

1) Download flash player plugin from Adobe site. To get a link to flash player, open http://www.youtube.com and try to play a video. If it does not play, then click on link provided to download flash player.

2) Go to ~/.mozilla/plugins directory and copy the plugin file in user's home directory/.mozilla/plugins. In my case, plugin directory was not created hence I created it manually for root user.

Shutdown/close firefox and restarted it. Voila!!! It worked like a charm!!! :)

Note (1) : The name of plugin file in this case was libflashplayer.so
Note (2) : In case of multiple users on the system, it has to be repeated for all users.