Search:  
Gentoo Wiki

HOWTO_setup_a_corporate_Gentoo_server


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.

Contents

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)


Name:

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 http://www.namingschemes.com 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 http://www.gentoo.org/doc/en/home-router-howto.xml .

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

Apache

LAMP server How-To

File Services

Tux in a Windows network

Using Gentoo unattended as a Windows Deployment System http://unattended.msfn.org/unattended.xp/view/web/1/
Or preferably, this: http://unattended.sourceforge.net/step-by-step.php

Gentoo and Mac

Other

Netatalk: HOWTO Share Directories via AFP

Printer Services

Other Network Services

VPN

OpenVPN

DHCP

DNS

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

  emerge -av mydns

NAT

PPP

HOWTO PPP Dial In Server

Retrieved from "http://www.gentoo-wiki.info/HOWTO_setup_a_corporate_Gentoo_server"

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