Share a remote filesystem over SSH

You may already be familiar with NFS and Samba for sharing files over a network. While these are both great distributed filesystem solutions, they require extra configuration and setup overhead in order to get them to work. If you want quick and easy access to a remote filesystem then SSHFS may be your best shot.
SSHFS [...]

Setup NFS server on Gentoo

Setting up a NFS server on Gentoo doesn’t have to be difficult. Here I will explain how to setup a basic NFS server in just a few steps.
The fist step is to become root.

$ su -

Your Gentoo kernel must be compiled with support for both NFS server and client. You can check for this in [...]

View the status of a long emerge

At certain times while using Gentoo you are going to have to perform a large emerge, for example when you do an update world. It can be challenging to keep track of the status of this emerge with all the output flying by on the screen. It can also become a problem if you want [...]

Download digital camera photos with gphoto2

gphoto2 allows you to directly connect a digital camera over USB and transfer the saved images and videos to your computer. This is very helpful when you don’t have access to a media card reader.
Install the gphoto2 package on your system.
In Gentoo:

# emerge media-gfx/gphoto2

In Ubuntu:

# aptitude install gphoto2

Start off by connecting your digital camera to [...]

Upgrade Gentoo Linux Kernel

Updating your kernel is important if you want to take advantage of new hardware support or bleeding edge features.  Aside from these obvious benefits it also allows you to keep up with security patches, system optimization, and overall stability issues.
The first thing you have to do is emerge the latest gentoo-sources package.

# emerge -u gentoo-sources

The [...]

Set DHCP timeout in Gentoo

The default DHCP timeout is nearly 30 seconds on most Gentoo Linux systems. This can be a frustrating on startup if you already have wireless connected but are forced to wait on an unused ethernet interface. On most networks the DHCP timeout can be safely lowered without problems.
DHCP can be provided by many different modules, [...]

Install Java browser plugin in Gentoo

To run Java code on a Gentoo system you must have a JRE (Java Runtime Environment) installed. The JRE will install a 32-bit browser plugin, among other things, which is necessary to take advantage of Java applets in Firefox.
Before we go any further, it must be noted that this will only work with the 32-bit [...]

Run a command at boot with Gentoo

Normally in Gentoo you would want to create an init script via rc-update to start a service at boot. However if there are a few miscellaneous commands you would like to run you can add them to local.start.
The local.start init script is similar to rc.local in other distributions. It is the last init script [...]

Update your entire Gentoo Linux system

Gentoo Portage makes it fairly easy to update all the installed packages on your system. The emerge and revdep-rebuild tools are powerful and make the process of recompiling everything much less painful than it sounds.
The emerge and revdep-rebuild commands require root privileges so switch to root or use sudo.
The first step is to synchronize your [...]

Speed up Gentoo emerge with “parallel-fetch”

By default when you emerge a long list of packages in Gentoo you have to download each package completely before the build process can begin. This can be a large bottleneck, especially if your internet connection is not very fast.
Luckily Portage has a great solution.
Go to the file /etc/make.conf and add “parallel-fetch” to the [...]