Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 2.48 KB

File metadata and controls

56 lines (47 loc) · 2.48 KB

Description

Nextcloud

Nextcloud server, a safe home for all your data.

Table of contents

  1. Service requirements
  2. Installation instructions

Service requirements

Installation instructions

  1. Follow the docs of
  2. Configuration inside ldap pod
    dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost user create --uid nextcloud_db --cn databases --displayName "Nextcloud Database" --uidNumber 1001 --gidNumber 1001 --homeDirectory /home/nextcloud_db
    dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost account reset_password uid=nextcloud_db,ou=people,${DS_SUFFIX_NAME}
    
    # Add nextcloud accounts as needed
    dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost user create --uid username --cn users --displayName "Max Mustermann" --uidNumber 1002 --gidNumber 1002 --homeDirectory /home/username
    dsidm --basedn ${DS_SUFFIX_NAME} --binddn "cn=Directory Manager" --bindpw ${DS_DM_PASSWORD} localhost account reset_password uid=username,ou=people,${DS_SUFFIX_NAME}
  3. Configuration inside database pod
    psql -U postgres -h localhost -c "CREATE ROLE nextcloud_db WITH CREATEDB LOGIN;"
  4. Start the pod
    podman kube play nextcloud-pvc.yaml
    podman kube play nextcloud-secret.yaml
    cp nextcloud-pod.kube ~/.config/containers/systemd/
    systemctl --user daemon-reload
    systemctl --user start nextcloud-pod.service
  5. Setup https container
  6. Setup LDAP
    • Host: ldap
    • Port: 3389
    • Basis-DN: dc=exploding-hamster,dc=duckdns.org
    • Anmeldeattribute
      • ↓ LDAP-Abfrage bearbeiten
        • Hinzufügen von `(cn=users)
          • Beispiel: (&(|(objectclass=posixAccount))(uid=%uid)) zu (&(|(objectclass=posixAccount))(uid=%uid)(cn=users))
  7. Add the persistent volumes to the borg backup client