ILIAS-7-Install-Tutorial for Ubuntu 20.04
Install NC
- Make shure your server ist configured like described in the chapter Install and setup basic software
Install NextCloud-Database
mysql
- Create Database: mysql>
CREATE DATABASE ncdb1 CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
- Create Databaseuser mysql>
CREATE USER 'ncuser1'@'localhost' IDENTIFIED BY 'USER_PASSWORD';
- Give user "dbuser1" rights to database "Ilias": mysql>
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, DROP, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON ncdb1.* TO 'ncuser1'@'localhost';
exit
Install NexCloud-Server
mkdir /opt/ncdata
mkdir /opt/tmp
cd /opt/tmp
- Download the newsest version. Example:
wget https://download.nextcloud.com/server/releases/nextcloud-18.0.3.zip
unzip nextcloud-18.0.3.zip
mv nextcloud nc
mv nc /var/www/html/
- Adjust rightsettings:
chown -R www-data:www-data /var/www/html/nc
chown -R www-data:www-data /opt/ncdata
chmod -R 774 /var/www/html/nc
- Call the site and install the service:
https://bbs-ilias.de/nc
Filling out the installation form
- Refresh the site
- Fill out the form with your credentials
- Do not forget to give the path
/opt/ncdata
for the Datadirectory
- This helps to find the logfile:
ln -s /opt/ncdata/nextcloud.log /var/log/nextcloud.log