Exercises
Set up a Nextcloud server based on Apache and Mysql following Complete NC Installation on Debian 9 Stretch and manual update. Mind the following hints:
-
Use
https://sdiXY.mi.hdm-stuttgart.de/nextcloud
rather thanhttps://sdiXY.mi.hdm-stuttgart.de
as base URL to your server reusing your existing Apache server installation. This should be mapped to a Nextcloud root directory/var/www/nextcloud
outside e.g./var/www/html/nextcloud
denying attackers getting access to sensitive configuration data. -
If you've already configured a Mysql server use that one instead of the installation manual's MariaDB server.
-
Depending on the
/etc/passwd
home directory settings of userwww-data
you may have to use sudo -u www-data php /var/www/html/nextcloud/occ ... rather than simply sudo -u www-data ./occ ....
After this step log in as user ncadmin
and follow User
authentication with LDAP configuring LDAP
access. Use ldap1.hdm-stuttgart.de as LDAP
provider.
Tip
The default LDAP attribute displayName has to be changed to cn.
Test your installation by logging in using your own HdM account credentials.