Posts Tagged ‘Gentoo’

Gentoo update (list of short commands)

Friday, November 14th, 2008

I’m often looking for the right command when i start with Gentoo, so I’ve post here a shortlist of commands that i found on some sites. The first entire will recompile all ports, so keep in mind that will take a long time.

(more…)

Network traffic & bandwidth monitoring with darkstat on Gentoo

Wednesday, October 29th, 2008

Darkstat captures network traffic, calculates statistics about usage, and serves reports over HTTP.

Darkstat provides the following features:

  • Traffic graphs, reports per host, shows ports for each host.
  • Embedded web-server with deflate compression.
  • Asynchronous reverse DNS resolution using a child process.
  • Small. Portable. Single-threaded. Efficient. Uncomplicated.

Follow the bellow steps to update the portage tree and install darkstat on Gentoo:

(more…)

Setup a Rsync server on Gentoo

Tuesday, October 28th, 2008

rsync is an open source utility that provides fast incremental file transfer, available in multiple platforms such as Linux, *BSD and Solaris.

The goal of this tutorial is to detail the needed steps to setup a general purpose rsync server on Gentoo. Note: this guide doesn’t focus on setting up your own Gentoo local rsync mirror, for that please consult Gentoo’s official documentation on the matter, namely Gentoo Linux rsync Mirrors Policy and Guide.

Let’s begin by becoming the superuser, synchronize the portage tree and install rsync:

(more…)

Making Sense of Gentoo’s USE Flags

Saturday, June 21st, 2008

One of the best features of the Gentoo Linux Distribution is the fact that you can customize it to suit whatever needs your Operating System should provide. This stems from the fact that, because it is a “source-based” distribution, you can enable or disable different features in certain programs before the source code gets built into “binaries”.

For example, say you need to use Samba to connect to a Windows based computer, you probably do not need to have LDAP support built into Samba (which would be used as a database backend to hold user accounts, passwords, etc. if you want to use Samba as a Primary Domain Controller). So when you build Samba on a Gentoo Linux System, you “tell” it to build it without LDAP support to make the resultant binaries both smaller in size and possibly a little more robust.

Unfortunately, most Gentoo users don’t take the time to tackle various USE flags, which results in a very unorganized /etc/make.conf file, as well as a system that either has too much “bloat” or doesn’t provide all the features that are possibly available to the user.

(more…)