Teil 4 – Der NS2 Nameserver – Der perfekte ISPConfig Multi-Server mit Web-, Mail-, Datenbank-, NS1- und NS2- Server

Teil 4 der ISPConfig Multi-Server Anleitung auf Ubuntu 16.04 mit Dediziertem Web-, Mail-, NS1-, NS2-, Datenbank-Server

  1. Einleitung & Vorbereitung der ISPConfig Multi Server
  2. ISPConfig Web Server installieren
  3. ISPConfig NS1 DNS Server installieren
  4. ISPConfig NS2 DNS Server installieren
  5. ISPConfig MariaDB Datenbank Server installieren
  6. ISPConfig Mail Server installieren

Auf dieser Seite beschreibe ich die Installation des sekundären Nameserver NS2. Folgende Inhalte werden hier beschrieben:

Nameserver NS2 vorbereiten

Die Installation für NS2 ist fast identisch zur Installation vom NS1. Auch hier wird nur php, bind9 und dnsutils installiert:

apt install bind9 dnsutils -y
apt install php7.0-cli php7.0-mysql php7.0-mcrypt mcrypt php7.0-mbstring -y

ISPConfig auf sekundärem Nameserver (NS2) installieren

ISPConfig muss auch hier, erst heruntergeladen und entpackt werden.

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

Und dann starte ich die Installation mit:

php -q install.php

Hier einmal wie es bei mir ausgesehen hatte und welche Angaben ich gemacht hatte:

root@ns2:/tmp/ispconfig3_install/install# php -q install.php


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _         ____
|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                              __/ |
                                             |___/
--------------------------------------------------------------------------------


>> Initial configuration

Operating System: Ubuntu 16.04.3 LTS (Xenial Xerus)

    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.


Select language (en,de) [en]:<== Enter
Installation mode (standard,expert) [standard]: <== expert
Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [ns2.ispconfig-server.space]:<== Enter
MySQL server hostname [localhost]:<== Enter
MySQL server port [3306]:<== Enter
MySQL root username [root]:<== Enter
MySQL root password []: <== 92XkeptXQUITEXcontrolX01
MySQL database to create [dbispconfig]:<== Enter
MySQL charset [utf8]:<== Enter
The next two questions are about the internal ISPConfig database user and password.
It is recommended to accept the defaults which are 'ispconfig' as username and a random password.
If you use a different password, use only numbers and chars for the password.

ISPConfig mysql database username [ispconfig]:<== Enter
ISPConfig mysql database password [15bbc8ad11bb95efaf7062383fea7398]:<== Enter
Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: <== y
MySQL master server hostname []: <== host.ispconfig-server.space
MySQL master server port []: <== 3306
MySQL master server root username [root]:<== Enter
MySQL master server root password []: <== 92XkeptXQUITEXcontrolX01
MySQL master server database name [dbispconfig]:<== Enter
[WARN] autodetect for Apache failed
Force configure Apache (y,n) [n]:<== Enter
Skipping Apache
[WARN] autodetect for nginx failed
Force configure nginx (y,n) [n]:<== Enter
Skipping nginx
Adding ISPConfig server record to database.
Configure Mail (y,n) [y]: <== n
[WARN] autodetect for Jailkit failed
Force configure Jailkit (y,n) [n]:<== Enter
Skipping Jailkit
[WARN] autodetect for pureftpd failed
Force configure pureftpd (y,n) [n]:<== Enter
Skipping pureftpd
Configure DNS Server (y,n) [y]:<== Enter
Configuring BIND
[INFO] haveged not detected - DNSSEC can fail
The Web Server option has to be enabled when you want run a web server or when this node shall host the ISPConfig interface.
Configure Web Server (y,n) [y]: <== n
[WARN] autodetect for OpenVZ failed
Force configure OpenVZ (y,n) [n]:<== Enter
Skipping OpenVZ
Configure Firewall Server (y,n) [y]:<== Enter
Configuring Ubuntu Firewall
[WARN] autodetect for Metronome XMPP Server failed
Force configure Metronome XMPP Server (y,n) [n]:<== Enter
Skipping Metronome XMPP Server
Configuring Fail2ban
Install ISPConfig Web Interface (y,n) [n]:<== Enter
_
Configuring DBServer
Installing ISPConfig crontab
Installing ISPConfig crontab
no crontab for root
Detect IP addresses
Restarting services …
Installation completed.

NS2 ist damit auch einsatzbereit. Weiter geht es mit ISPConfig MariaDB Datenbank Server installieren.

Leave a Reply

Your email address will not be published. Required fields are marked *

*