The Perfect Server - OpenSUSE 11

Version 1.0
Author: Till Brehm <t [dot] brehm [at] ispconfig [dot] com>, Falko Timme
Last edited 06/23/2008

This is a detailed description about how to set up an OpenSUSE 11 server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of OpenSUSE 11, but should apply to the 64-bit version with very little modifications as well.

I will use the following software:

  • Web Server: Apache 2.2
  • Database Server: MySQL 5.0
  • Mail Server: Postfix
  • DNS Server: BIND9
  • FTP Server: proftpd (ISPConfig will not work with vsftpd on OpenSUSE 11)
  • POP3/IMAP: I will use Maildir format and therefore install Courier-POP3/Courier-IMAP.
  • Webalizer for web site statistics

In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel ISPConfig (i.e., ISPConfig runs on it out of the box).

I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!


1 Requirements

To install such a system you will need the following:


2 Preliminary Note

In this tutorial I use the hostname with the IP address and the gateway These settings might differ for you, so you have to replace them where appropriate.


3 The Base System

Boot from your OpenSUSE 11 DVD and select Installation:

The installer is booting the initial Linux system:

Select your language, keyboard layout and accept the licence terms:

The installer analyzes your hardware and builds the software repository cache:

Select the region and timezone:

We select "Other > Minimal Server selection" here as we want to install a server without X-Window desktop. The X-Window system is not nescessary to run the server and would slow down the system. We will do all administration tasks on the shell or trough a SSH connection e.g. via PuTTY from a remote desktop.

Share this page:

5 Comment(s)

Add comment


From: dmgrant at: 2009-05-15 05:32:04

The correction Jeff submitted (libdb-devel) did not work for me.  I did notice no installation of "db-devel" on my system so Jeff's statement "db-devel will silently fail to download anything" seems correct.  What I have to offer on my system that sounds like it should fit the bill is called "db43-devel" (Files and Libraries for Berkeley DB Library).

 Just a make a note of it.  I could certainly be wrong.

From: Geoff P at: 2009-05-04 00:23:32

In Step 5: Install Some Software db-devel should be *libdb-devel* (Berkeley DB development tools). Found via Google search with results subsequently inserted into an RPM search.  db-devel will silently fail to download anything.

From: Anonymous at: 2009-11-30 02:14:18

I'm a nOOb so to run yast2 do the following:

1. type "su" (without quotes duh!)

2. type in your password

3. then type "yast2" (booyah!!!)

From: at: 2008-07-08 19:58:48

If you want this to take more time sure use 'yast -i' , but  I highly recommend using 'zypper in'.  So,

yast -i [package] launches the yast package management stuff and then installs the software (zypper in the background)

zypper in [package] just calls zypper and installs the package(s) and in 11.0 this is blazingly fast even with tons of repos (I have about 15)

From: dmgrant at: 2009-05-15 06:27:31

All references on this page to "mod_ruby-1.2.6." should be changed to "mod_ruby-1.3.0." since the older version fails to produce a makefile.

(on my system anyway)