Gentoo Wiki


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article

This article is still a Stub. You can help Gentoo-Wiki by expanding it.


About this How-To

This document is intended to be a collaboration between Gentoo IT-professionals with the aim of creating a How-To that will guide users through installing Gentoo in a similar setup to a default Windows 2003 Server installation, based on open software and Gentoo Linux.

This guide is intended for startup to large-scale enterprises. The beauty of Gentoo is its ultra-scalability, and the aim of this How-To is to create anything from a easy-to-manage print server, to a full functional corporate work-server.

Planning with a purpose

First, decide what services are essential to your setup. You hopefully already have these in your head, and have chosen Gentoo Linux because it fits your needs. Before we do anything, make a mental map of your system.

As a guide, start like this:

Main function:

(File server for Windows machines, Router/firewall, Mail server, Web server, etc)

This should be what you design the hardware after... For windows machines, you'll really want gigabit Ethernet for file sharing. As a router, just buy an extra NIC or two. For mail and web servers, make sure its got a lot of RAM and a big HDD.

Secondary function:

(File server for Windows machines, Router/firewall, Mail server, Web server, etc)


You gotta call it something! This is surprisingly important. After a while it becomes MUCH more difficult than editing your HOSTNAME. Look for something biblical or mythological, yet easy to spell. Some good ones: Malachite, Romulan, Enterprise, Voyager, Matthais, Jonias, Jonah, Io, Jupiter, etc. You get the idea

NOTE: Check out for more info. Vsnine 05:08, 17 July 2008 (UTC)

Network Location:

Where the server is on the LAN. This dramatically affects your priorities.

If this is going to be a router, you will need to incorporate (at least) two NICs, and include kernel/software support for NAT, DHCP, and DNS services. Make sure you read .

If this is NOT going to the a router, just make sure you assign it a static internal IP address with your DHCP server.

Web Services

Something Simple


LAMP server How-To

File Services

Tux in a Windows network

Using Gentoo unattended as a Windows Deployment System
Or preferably, this:

Gentoo and Mac


Netatalk: HOWTO Share Directories via AFP

Printer Services

Other Network Services





MyDNS is an excellent choice. It uses mySQL for the backend and is very reliable.

  emerge -av mydns



HOWTO PPP Dial In Server

Retrieved from ""

Last modified: Mon, 08 Sep 2008 06:45:00 +0000 Hits: 25,066