The Perfect Server - OpenSUSE 12.2 x86_64 (Apache2, Dovecot, ISPConfig 3)

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 09/06/2012

This is a detailed description about how to set up an OpenSUSE 12.2 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.2 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.

Click on Edit Partition Setup... to change the proposed partitions. As this is a server setup, we need a large /srv partition instead of the /home partition:

Share this page:

7 Comment(s)

Add comment


From: at: 2012-09-10 20:57:23

The docuument refers to the installation of Ruby, while this is actually not documented.

OpenSuse 12.2 is not able to compile mod_ruby successfully (neither is the latest fedora actually) and no solution has been found.


Please remove the reference to Ruby from the document and place a warning in the document that this OS cannot be configured to use Ruby as a module inside ISPConfig 3.0.46!




René Camies

From: at: 2012-10-11 12:33:33


I have the OpenSuse 12.1 x86_64 installed in a VMWare Workstation 9 machine. 2CPUs, 2 Cores and 3GB RAM allocated to the machine. 

So far so good until the fstab modification. I always end up with error:

mount: /etc/fstab: parse error: ignore entry at line 3.
mount: /etc/fstab: parse error: ignore entry at line 4.

I only tried the / partition first. Here is my fstab:

osuse1:~ # cat /etc/fstab
/dev/sda1 swap swap defaults  0 0
/dev/sda2 /  ext4 acl,user_xattr,usrjquota=aquota.user,,jqfmt=vfsv0 1 1
/dev/sda3 /srv ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

Thanks for helping me find the problem.

From: Anonymous at: 2012-12-15 04:08:01

change text editor. I have this same problem with vi and nano, but in mc(midnight commander) all is ok.

From: Dorin at: 2012-10-18 10:48:00

You need to add postmaster_address = in protocol lda field, or else you will receive this error when sending mail: "Error reading configuration: Invalid settings: postmaster_address setting not given lda: Fatal: Internal error occurred. Refer to server log for more information."


vi /etc/dovecot/dovecot.conf

 protocol lda {

  mail_plugins = sieve quota

add this line here >  postmaster_address =


From: Waqar at: 2013-12-31 10:36:04

The person above is a genius!


From: Anonymous at: 2013-06-07 20:40:03

don't forget after clamv installation:

# freshclam -v 

From: Anonymous at: 2012-12-15 05:10:29

I have problem with this config. Problem is with address. With IP address (eg. works ok, but with domain name dont.