1,106
edits
Technician (talk | contribs) |
Technician (talk | contribs) |
||
Line 218: | Line 218: | ||
=== Stop services on the old server === | === Stop services on the old server === | ||
Stop all the services that interface with users and/or are responsible for modifying live data: | |||
systemctl stop apache2 | |||
systemctl stop dovecot | |||
systemctl stop ejabberd | |||
systemctl stop inspircd | |||
systemctl stop mariadb | |||
systemctl stop postfix | |||
systemctl stop slapd | |||
Close all the relevant ports just to be double-sure: | |||
for port in 25 80 443 465 587 993 995 5222 5223 5269 5270 5443 6697 7777 | |||
do ufw delete allow proto tcp to 0.0.0.0/0 port $port | |||
done | |||
=== Copy over the live data one more time === | === Copy over the live data one more time === |