Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 879 Bytes

README.md

File metadata and controls

18 lines (18 loc) · 879 Bytes

migrate-ispconfig

MIgrate ISPconfig
This tool helps to migrate a ispconfig server to another server with all dns config, clients, emails, and webpages.

TODO: clients database, properties file,
sed -i 's/OLD_DNS/NEW_DNS/g' /var/named/pri*
sed -i 's/OLD_IP/NEW_IP/g' /var/named/pri*
cp /etc/named.conf.local
sudo firewall-cmd --add-port 53/tcp --permanent//BINDNS
sudo firewall-cmd --add-port 53/udp --permanent//BINDNS
sudo firewall-cmd --add-port 25/tcp --permanent//SMTP
sudo firewall-cmd --add-port 143/tcp --permanent//IMAP
sudo firewall-cmd --reload
cp /etc/postfix( sin configuración sql)
cp /etc/mailman( sin configuración sql)
cat "nameserve 8.8.8.8" > /etc/resolv.conf
cat "nameserve 4.4.4.4" > /etc/resolv.conf
cat "$config['smtp_port'] = 465;" > /var/www/html/roundcubemail/config/config.inc.php