The Perfect Server - OpenSUSE 12.1 x86_64 With Apache2 [ISPConfig 3]

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 11/18/2011

This is a detailed description about how to set up an OpenSUSE 12.1 64bit (x86_64) server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable) with PHP, CGI and SSI support, Postfix mail server with SMTP-AUTH, TLS and virtual mail users, BIND DNS server, Pureftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, Mailman, etc. Since version 3.0.4, ISPConfig comes with full support for the nginx web server in addition to Apache; this tutorial covers the setup of a server that uses Apache, not nginx.

I will use the following software:

  • Web Server: Apache 2.2 with PHP 5
  • Database Server: MySQL
  • Mail Server: Postfix with virtual users
  • DNS Server: BIND
  • FTP Server: pureftpd
  • POP3/IMAP: Dovecot
  • Webalizer and AWStats for web site statistics

In the end you should have a system that works reliably and is easily manageable with the ISPConfig 3 control panel. The following guide is for the 64bit version of OpenSUSE.

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!

Notice: This guide is for ISPConfig 3.0.1 or newer. It is not suitable for ISPConfig 2.x!


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 12.1 DVD and select Installation:

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

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

Select New Installation:

Select the region and timezone:

We select Other > Minimal Server Selection (Text Mode) here as we want to install a server without X-Window desktop. The X-Window system is not necessary to run the server and would slow down the system. We will do all administration tasks on the shell or through an SSH connection, e.g. via PuTTY from a remote desktop.

Share this page:

8 Comment(s)

Add comment


From: at: 2012-01-02 15:51:37

The setup given by this tutorial does not quite work. The error messages are not set up properly. For example, I get:

File does not exist: /usr/share/apache2/error/404.html

but in /usr/share/apache2/error, I have

/usr/share/apache2/error # ls
contact.html.var HTTP_GONE.html.var HTTP_NOT_FOUND.html.var HTTP_REQUEST_TIME_OUT.html.var HTTP_UNSUPPORTED_MEDIA_TYPE.html.var

From: Andrea Ghirardini at: 2012-02-23 15:50:38

You wrote:

Create the following symlink:

ln -s /usr/lib64/dovecot/modules /usr/lib/dovecot

 But the right command should be :

Create the following symlink:

ln -s /usr/lib64/dovecot/modules /usr/lib/dovecot/modules

 Otherwise dovecot doesn't start since config file is wrong!

From: glOOmyART at: 2012-02-26 13:41:22

Also the suPHP adress has changed, it's

now, so the correct line to install suPHP is

zypper install

From: at: 2012-03-20 18:21:07

suphp have changed ...

 zypper install

From: at: 2012-02-25 14:58:48

The p.15 should include this:

systemctl enable fail2ban.service
systemctl start fail2ban.service

From: Anonymous at: 2012-03-07 01:21:11


Usei o seguinte comando para instala o Jailkit:

zypper install


From: glOOmyART at: 2012-02-26 14:04:08

The Jailkit url seems to have changed... i installed it this way:

  1. Add the openSUSE Security repository:
    # zypper addrepo opensuse-security-x86_64
  2. Install jailkit rpm package:
    # zypper install jailkit 

 taken from ->

From: alex at: 2012-06-21 11:24:37

Thanks for putting this all together it has helped me understand a lot about setting up web server for the first time under opensuse.