« FeministWiki:Server setup » : différence entre les versions

Ligne 309 : Ligne 309 :
=== Deactivate again ===
=== Deactivate again ===


After we're done testing, we can "deactivate" the server again to prepare it for the final switch-over:
After we're done testing, we can "deactivate" the new server again to prepare it for the final switch-over:


  for port in 25 80 443 465 587 993 995 5222 5223 5269 5270 5443 6697 7777
  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
  do ufw delete allow proto tcp to 0.0.0.0/0 port $port
  done
  done
systemctl stop apache2
systemctl stop dovecot
systemctl stop ejabberd
systemctl stop inspircd
systemctl stop mailman
systemctl stop postfix
systemctl stop slapd


== Finishing up ==
== Finishing up ==