Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian Squeeze With ISPConfig 3 - Page 4
5 Installing The Primary DNS ServerEdit the hosts file and add the IP addresses and hostnames for all servers. The hostnames and IP addresses have to be adjusted to match your setup. vi /etc/hosts 127.0.0.1 localhost 192.168.0.105 web.example.tld 192.168.0.106 mail.example.tld 192.168.0.107 db.example.tld 192.168.0.108 ns1.example.tld 192.168.0.109 ns2.example.tld # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Set the hostname of the server: echo ns1.example.tld > /etc/hostname Run... apt-get update ... to update the apt package database; then run... apt-get upgrade ... to install the latest updates (if there are any). It is a good idea to synchronize the system clock with an NTP (network time protocol) server over the Internet. Simply run... apt-get -y install ntp ntpdate ... and your system time will always be in sync. Install MySQL client and server: apt-get -y install mysql-client mysql-server Enter the new password for MySQL when requested by the installer. Then install install the commandline version of PHP to be able to run PHP-based shell scripts for ISPConfig: apt-get -y install php5-cli php5-mysql php5-mcrypt mcrypt Install fail2ban: This is optional but recommended, because the ISPConfig monitor tries to show the log: apt-get install fail2ban Install BIND DNS Server: apt-get -y install bind9 dnsutils Next install ISPConfig 3 on the dns server. To get the download URL of the latest ISPConfig 3 stable release, please visit the ISPConfig website: http://www.ispconfig.org/ispconfig-3/download/ Download the latest ISPConfig 3 stable release: cd /tmp Then start the install script: php -q install.php Select language (en,de) [en]: <-- en Run... rm -f /var/www/ispconfig ... to remove the ISPConfig interface link in the /var/www directory. Clean up the install directories: rm -rf /tmp/ispconfig3_install/install
|



Recent comments
18 hours 10 min ago
1 day 51 min ago
1 day 4 hours ago
1 day 6 hours ago
1 day 14 hours ago
2 days 14 min ago
2 days 1 hour ago
2 days 4 hours ago
2 days 9 hours ago
2 days 9 hours ago