Script For Automatically Setting Up A Perfect Server On OpenSUSE 11.2 And Installing ISPConfig 3

Here’s a little script that automates the task of setting up a , and in the end it also installs.

Please note: do not execute this script on an already working server, because this script may overwrite configuration files and break the running system. It is only meant to be used on a fresh installation of OpenSUSE 11.2.

There are few things missing from the tutorial, as I have found it. I have made a script, based on the tutorial, that prepares a system, and which contains several steps that, if not done, leave the system unfinished in some way.

Notable additions:

* 'mysql' dependency inside mydns script
* fail2ban configuration
* Not turning off firewall
* Pure-ftpd configuration change (allow renames, and change passive ports)
* Postfix certificate generation
* Apache SSL certificate generation, and switching ISPConfig to HTTPS
* Fix of NameVirtualHost apache config with OpenSUSE (important for Apache to recognize multiple domains from ISPConfig)
* Setup of rdiff-backup with cron

The script is imperfect in the fact that requires manual entry twice - when mysql_secure_install is run, and when ispconfig_update_svn is run. (I use svn, because ISPConfig latest SVN looks much nicer, but one can type stable as well - on production systems, you should use stable!)

Source and more details: Script For Automatically Setting Up A Perfect Server On OpenSUSE 11.2 And Installing ISPConfig 3 | HowtoForge - Linux Howtos and Tutorials

More details:

The Perfect Server - OpenSUSE 11.2 x86_64 [ISPConfig 2]

The Perfect Server - OpenSUSE 11.2 x86_64 [ISPConfig 2] | HowtoForge - Linux Howtos and Tutorials

The Perfect Server - OpenSUSE 11.2 x86_64 [ISPConfig 3]

The Perfect Server - OpenSUSE 11.2 x86_64 [ISPConfig 3] | HowtoForge - Linux Howtos and Tutorials

The Perfect Server - OpenSUSE 11.1

The Perfect Server - OpenSUSE 11.1 | HowtoForge - Linux Howtos and Tutorials

Chrooting Apache2 With mod_chroot On OpenSUSE 11.2

Chrooting Apache2 With mod_chroot On OpenSUSE 11.2 | HowtoForge - Linux Howtos and Tutorials

SuSE - HowtoForge

SuSE | HowtoForge - Linux Howtos and Tutorials

What is this “Pefect server” to serve. There are many services available: print, http, database, ftp, ssh, DNS, rsync,…, you name it. One or more of these services can be functioning in a system (most systems run at least a few like CUPS).

Would be nice if the innocent reader of the thread title would have any idea what this is about.

i’m baffled to know how you decide what a “perfect server” is, or is not?

i mean, do you suppose a perfect network print server actually needs
mysql, apache and etc?

but, that aside, did you intend to aim this post to the following
how-to forum?
http://forums.opensuse.org/english/information-new-users/unreviewed-how-faq/


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think you follow the
http://www.howtoforge.com/perfect-server-opensuse-11.1 manual where the
autor install a fresh openSUSE system and then install every server he
know, but in real life, you don’t setup one system for all the services
you use, for example, you should not install the proxy server on the
same machine you have a mail server, file server, etc


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwyWGYACgkQJQ+0ABWtaVmy3ACaApro/aNJ/kynxGVLL3KXyo9J
iesAoK+5bhx1L1o5RUAQ6qkhoWa+0uEp
=vgod
-----END PGP SIGNATURE-----

The perfect server? Ther perfect desktop? For what?

IMHO what comes near to a perfect server is a server that does what it should do, as secure as possible. Most of the times this means disabling as much services as you can, and configuring the needed services to do no more than they should.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I agree


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwzMpgACgkQJQ+0ABWtaVnFxwCfbht0jxOrT0HnBQEEggV+VtgB
nJAAniX0eSzwwNspCpsohK0+04ioerFD
=z0H5
-----END PGP SIGNATURE-----

On Tue, 06 Jul 2010 12:36:02 GMT, Knurpht
<Knurpht@no-mx.forums.opensuse.org> wrote:

>
>The perfect server? Ther perfect desktop? For what?
>
>IMHO what comes near to a perfect server is a server that does what it
>should do, as secure as possible. Most of the times this means disabling
>as much services as you can, and configuring the needed services to do
>no more than they should.

Days late but no money involved, that is my kind of thinking. It is
always an issue how to partition the services you wish to provide over
the available resources you have to implement them. Be it one box or
several clusters or any mix thereof.