blog.up-link.ro
15Feb/100

How To Improve the Speed of Firefox 3 in Linux

We all know Firefox is a memory hog. To speed things up, do the following:

Open Firefox and type about:config in the address bar.
Click the “I’ll be careful, I promise“ button
Use the search bar above to look for network.http.pipelining and double click on it to set it’s value to True.
Create a new boolean value named network.http.pipelining.firstrequest and set it to True.
Find network.http.pipelining.maxrequests and change its value to 8.
Look for network.http.proxy.pipelining and set it to True.
Create two new integers named nglayout.initialpaint.delay and content.notify.interval, set them to 0.
Restart your browser.

Enjoy!

Print This Post Print This Post
12Feb/100

10 Linux Tips and Tricks

Here you will find a collection of usefull tips and tricks for Linux-based Operating Systems.

1. How to remove a file with a dash as first character?

If you accidentally created a file with a "-" in the beginning then you want to remove it, you have to do :

# rm ./-filename

or

# rm -- -filename

2. How to set-up nice welcome messages?

It's not actually a tip, it's just a nice thing that will make every login more cooler.
Go to http://www.fi

Print This Post Print This Post
12Feb/100

How To Recover the root Password in FreeBSD

The password cannot be recovered. The following procedure will allow you to change the root password.

Do the following:

- when the following boot message appears

Hit [ENTER] to boot immediately, or any other key for command prompt.
Booting [kernel] in 10 seconds...

hit a key, just pick one EXCEPT the ENTER key. You'll get a prompt like:

disk1s1a:>

- type the following commands:

disk1s1a:>unload all
disk1s1a:>load kernel
disk1s1a:>boot -s

The boot process will now start, just wait until it asks you for a shell. Just hit
ENTER and 'sh' will be used as shell.

If you type 'mount' you will see that only your root partition ( / ) is mounted, you will have to mount  'usr' partition as well.

#mount /dev/ad0s1f /usr

Now you have to mount root partition as read-write enabled. Use the following command:

#mount -u /

The root partition should now be mounted read-write. Now you can use 'passwd' program to
change the root password.

#passwd

That's all, reboot the system and login with the new password.

Print This Post Print This Post
12Feb/100

FreeBSD: How To Upgrade FreeBSD 7 to 8 Stable Release

FreeBSD 7.x allows upgrade of existing installation to FreeBSD 8.0-STABLE. Since this is a major version upgrade, it is recommended that you backup your data, database and configuration files.

This guide will walk a user through updating his source to follow FreeBSD's stable branch.  Please make a full backup of the current system before following this guide.

STEP 1: Syncing the source tree

- cvsup installation and configuration

# cd /usr/ports/net/cvsup-without-gui

# make install clean

OR

# pkg_add -r cvsup-without-gui

Copy the sample supfile for Stable to /usr/local/etc/stable-supfile:

# cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/

Edit file and set host name which specifies the server host which will supply the file updates to your system.

*default host=cvsup1.us.FreeBSD.org

Set release tag to stable 8:

*default release=cvs tag=RELENG_8

Run cvsup to download the latest stable source:

# cvsup -L 2 /usr/local/etc/stable-supfile

When the cvsup has completed, change to the /usr/src directory

Print This Post Print This Post
12Feb/100

FreeBSD: How To boot kernel.old

If you want to boot with an old kernel, because the current one is not working properly, this is what you have to do:
During boot you get a message like:
"Booting kernel in 10 seconds or press enter..."
Just hit any key except the ENTER key and you'll get a prompt.
Type 'unload all' and then 'boot [kernel file]' where [kernel file] is the kernel you want
to boot e.g. 'kernel.old' .

Your FreeBSD machine will boot with the kernel you specified.

Print This Post Print This Post
12Feb/100

Google acquires Aardvark

When you need an answer to a very specific question, sometimes the information just isn't online in one simple place. For example, let's say you want to know if there's snow on Skyline Boulevard on a given day or the best time of year to plant beans in the Bay Area. You might find weather reports and planting guides on many different sites, but for these kinds of questions, a person with the right expertise can be a lot more useful than a webpage.

read more from Google

Print This Post Print This Post