FeministWiki:Server setup: Difference between revisions

    No edit summary
    Line 148: Line 148:
                     php${php_version}-xml \
                     php${php_version}-xml \
                     php${php_version}-zip
                     php${php_version}-zip
    === Copy over certificates ===
    Copy over the certs from the old server:
    tar -czPf- /etc/fw-certs | ssh feministwiki.dev -p ${SSH_PORT} 'tar -xzf-'
    The {{C|/etc/fw-certs}} directory is owned by the group {{C|ssl-cert}}, and files that contain the private key can only be read by group members.  To allow certain services to read those files, add them to the group:
    adduser ejabberd ssl-cert
    adduser irc ssl-cert


    === Put config files in place ===
    === Put config files in place ===
    Line 172: Line 183:
      a2enconf 99-local
      a2enconf 99-local
      a2ensite fw-account fw-blogs fw-chat fw-files fw-forum fw-mail fw-wiki fw-xmpp
      a2ensite fw-account fw-blogs fw-chat fw-files fw-forum fw-mail fw-wiki fw-xmpp
    === Copy certificates ===
    Copy over the certs from the old server:
    tar -czPf- /etc/fw-certs | ssh feministwiki.dev -p ${SSH_PORT} 'tar -xzf-'
    The {{C|/etc/fw-certs}} directory is owned by the group {{C|ssl-cert}}, and files that contain the private key can only be read by group members.  To allow certain services to read those files, add them to the group:
    adduser ejabberd ssl-cert
    adduser irc ssl-cert


    == Copying over live data ==
    == Copying over live data ==