1,106
edits
Technician (talk | contribs) |
Technician (talk | contribs) No edit summary |
||
Line 36: | Line 36: | ||
apt-get install ufw | apt-get install ufw | ||
ufw allow proto tcp to 0.0.0.0/0 port | ufw allow proto tcp to 0.0.0.0/0 port ${SSH_PORT} | ||
ufw enable | ufw enable | ||
Line 203: | Line 203: | ||
Then copy over the config and data by running these commands from the old server: | Then copy over the config and data by running these commands from the old server: | ||
slapcat -n 0 | ssh feministwiki.dev -p | slapcat -n 0 | ssh feministwiki.dev -p ${SSH_PORT} 'sudo -u openldap slapadd -n 0 -F /etc/ldap/slapd.d' | ||
slapcat -n 1 | ssh feministwiki.dev -p | slapcat -n 1 | ssh feministwiki.dev -p ${SSH_PORT} 'sudo -u openldap slapadd -n 1' | ||
==== Breaking changes in OpenLDAP ==== | ==== Breaking changes in OpenLDAP ==== |