1,106
edits
Technician (talk | contribs) |
Technician (talk | contribs) No edit summary |
||
Line 98: | Line 98: | ||
The decryption script will prompt you for a password the first time it's used. Enter the password stored in <code>/root/pwd/meta</code> on the old server. | The decryption script will prompt you for a password the first time it's used. Enter the password stored in <code>/root/pwd/meta</code> on the old server. | ||
=== Create vmail user === | |||
groupadd -g 5000 vmail | |||
useradd -u 5000 -g vmail -s /usr/sbin/nologin -d /home/vmail -m vmail | |||
=== Put config files in place === | === Put config files in place === | ||
Line 105: | Line 110: | ||
There's one special thing to remember, which is that after copying in the new <code>/etc/aliases</code> file, you have to run the <code>newaliases</code> command for the changes to take effect. | There's one special thing to remember, which is that after copying in the new <code>/etc/aliases</code> file, you have to run the <code>newaliases</code> command for the changes to take effect. | ||
=== | === Make feministwiki.dev point to the new server === | ||
This is a good time to change the DNS record for feministwiki.dev to point to the new IP address. | |||
=== Initialize LetsEncrypt === | === Initialize LetsEncrypt === | ||
Line 168: | Line 172: | ||
do ufw allow proto tcp to 0.0.0.0/0 port $port | do ufw allow proto tcp to 0.0.0.0/0 port $port | ||
done | done | ||
=== Reboot === | === Reboot === | ||
Line 176: | Line 178: | ||
reboot | reboot | ||
After that, you might want to do some testing with the '''feministwiki.dev''' domain. | |||
=== Update DNS entries === | === Update DNS entries === |