最後更新: 2016-04-13
設定步驟
[1] 設定 /etc/hosts
x.x.x.1 web.ispconfig.mydomain x.x.x.2 mail.ispconfig.mydomain
[2] 用 hostname 建立 SQL root user
用 phpmyadmin
[3] 設定 firewall
Master 機:
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="x.x.x.x" port protocol="tcp" port="3306" accept'
[4] MySQL 設定
MySQL 5.7 as this MySQL version is not fully compatible with MySQL dumps that were made for older MySQL releases.
Ensure that MySQL is not running in SQL mode "STRICT_TRANS_TABLES".
SQL mode should be e.g.:
sql_mode=NO_ENGINE_SUBSTITUTION
[5] 安裝 ispconfig
php -q install.php
expert mode
Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y
MySQL master server hostname []: mail.ispconfig.mydomain
........
Install ISPConfig Web Interface (y,n) [n]: n <- Slave