Server installation

Prerequisites

Procedure

Follow the official Installation on Linux guide with the following exceptions:

  • During MariaDB no user generantion prompt appeared, so this was done manually instead:

    • Set MariaDB root password (see: Howtogeek):

      mysqladmin -u root password <newpassword>
      mysqladmin -u root -h localhost password <newpassword>
      /etc/init.d/mysql restart

      Ensure to replace <newpassword> with a password of your choice!

    • Create nextcloud admin / password:

      mysql
      CREATE USER 'nextcloudadmin'@'localhost';
      GRANT ALL ON nextcloud.* TO 'nextcloudadmin'@'localhost';
      SET PASSWORD FOR 'nextcloudadmin'@'localhost' = PASSWORD('<NEXTCLOUD-DB PASSWORD>');
      exit

      Ensure to replace <MYSQL PASSWORD> with a password of your choice!

    We skipped Apache Web server configuration from: If you’re running mod_fcgi instead of the standard mod_php- also enable: to Now restart Apache:, because we had nothing to base the choices on so the defaults seemed the most sensible (as we did not customise anything).