Der Perfekt Server – Debian Squeeze (Debian 6.0) mit BIND und Courier [ISPConfig 3]

18 Installation von ISPConfig 3

ISPConfig 3 kann von der letzten erschienen Version installiert werden (.tar.gz).

Um es von der letzten erschienen Released zu erstellen, gehe wie folgt vor:

cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install/

Wir starten nun den Installer von ISPConfig3:

php -q install.php

>> Initial configuration
          Operating System: Debian 6.0 (Squeeze/Sid) or compatible
          Following will be a few questions for primary configuration so be careful.
          Default values are in [brackets] and can be accepted with .
          Tap in "quit" (without the quotes) to stop the installer.
          Select language (en,de) [en]: de
          Installation mode (standard,expert) [standard]:
          Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [testispconfig.cneurope.de]:
          MySQL server hostname [localhost]:
          MySQL root username [root]:
          MySQL root password []: supergeheimespasswort
          MySQL database to create [dbispconfig]:
          MySQL charset [utf8]:
          Generating a 2048 bit RSA private key<
          ……………………………………+++
          ……………..+++
          writing new private key to 'smtpd.key'
          -----
          You are about to be asked to enter information that will be incorporated
          into your certificate request.
          What you are about to enter is what is called a Distinguished Name or a DN.
          There are quite a few fields but you can leave some blank
          For some fields there will be a default value,
          If you enter '.', the field will be left blank.
          -----
          Country Name (2 letter code) [AU]:DE
          State or Province Name (full name) [Some-State]:
          Locality Name (eg, city) []:
          Organization Name (eg, company) [Internet Widgits Pty Ltd]:
          Organizational Unit Name (eg, section) []:
          Common Name (eg, YOUR name) []:testispconfig.cneurope.de
          Email Address []:chef@vomserver.de
          Configuring Jailkit
          Configuring SASL
          Configuring PAM
          Configuring Dovecot
          Configuring Spamassassin
          Configuring Amavisd
          Configuring Getmail
          Configuring Pureftpd
          Configuring BIND
          Configuring Apache
          Configuring vlogger
          Configuring Apps vhost
          Configuring Firewall
          Installing ISPConfig
          ISPConfig Port [8080]:
          Configuring DBServer
          Installing Crontab
          no crontab for root
          no crontab for getmail
          Restarting services …
          Stopping MySQL database server: mysqld.
          Starting MySQL database server: mysqld.
          Checking for corrupt, not cleanly closed and upgrade needing tables..
          Stopping Postfix Mail Transport Agent: postfix.
          Starting Postfix Mail Transport Agent: postfix.
          Stopping SASL Authentication Daemon: saslauthd.
          Starting SASL Authentication Daemon: saslauthd.
          Stopping amavisd: amavisd-new.
          head: cannot open `/etc/mailname' for reading: No such file or directory
          Starting amavisd: amavisd-new.
          Stopping ClamAV daemon: clamd.
          Starting ClamAV daemon: clamd.
          Restarting IMAP/POP3 mail server: dovecot.
          Restarting web server: apache2 … waiting ..
          Restarting ftp server: Running:   /usr/sbin/pure-ftpd-mysql-virtualchroot -l   mysql:/etc/pure-ftpd/db/mysql.conf -l pam -b -E -p 4000:4020 -u 1000 -A   -O clf:/var/log/pure-ftpd/transfer.log -Y 1 -H -B
          Installation completed.
          server1:/tmp/ispconfig3_install/install#

Der Installer konfiguriert alle untergeordneten Services, sodass es keiner manuellen Konfiguration bedarf.

Anschließend kannst du ISPConfig 3 unter http://server1.example.com:8080/ oder http://192.168.0.100:8080/ erreichen. Logge dich mit dem Benutzernamen admin und dem Passwort admin (Du solltest den Standard nach dem ersten log-in ändern) ein:

bild

bild

Das System kann nun benutzt werden.

19. Hinweiss für Debian unter OpenVz

a)

VPSID=101
          for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID   NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH   SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
          do
          vzctl set $VPSID --capability ${CAP}:on --save
          done

b) Pureftp

PureFTPD greift auf gewisse Schnittstellen zurück, die der virtuellen Maschine nicht vom Standard aus gegeben sind.

Hierzu muss im Host die Config der virtuellen Maschine bearbeitet bzw. ergänzt werden.

Die Configs liegen unter /etc/vz/config

vi /etc/config

CAPABILITY="CHOWN:on DAC_READ_SEARCH:on SETGID:on SETUID:on NET_BIND_SERVICE:on NET_ADMIN:on SYS_CHROOT:on SYS_NICE:on "

20 Links

Das könnte Dich auch interessieren …