FeministWiki:Server setup: Difference between revisions

    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 <ssh_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 <ssh_port> 'sudo -u openldap slapadd -n 0 -F /etc/ldap/slapd.d'
      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 <ssh_port> 'sudo -u openldap slapadd -n 1'
      slapcat -n 1 | ssh feministwiki.dev -p ${SSH_PORT} 'sudo -u openldap slapadd -n 1'


    ==== Breaking changes in OpenLDAP ====
    ==== Breaking changes in OpenLDAP ====