Author: Kenn
-
Create a database for Nextcloud
Create a database Here is the example settings Database Name : nextclouddb User Name : nextclouduser Password : xxxxxxxx
-
Install Nextcloud
Download Nextcloud Extract Nextcloud Configure Apache2 Setup nextcloud.conf nextcloud.conf file would be like below.
-
Configure php.ini
Write a page to output the phpinfo Make a file named phpinfo.php and place it in the document root. The contents of the file is below. Display phpinfo Visit http://192.168.10.108/phpinfo.php IP address should be modified to yours. Find out the item “Loaded Configuration File”. In this section, you can find the path of php.ini that…
-
Let’s Encrypt
Install Certbot Add a Certification Renew Certbot Make a script to renew the certification. In the certbot-renew script, you should write like that. Then you must change the permission.
-
Install Redis
Install Redis module Enable socket communications In redis.conf file Redis Bug fix Redis have a bug on loading the service. So fix the bug by editing the service file. Edit the redis.service file like following. Reload deamon Permission modify Reload redis-server Check the configuration If you got “OK”, settings are correct.
-
Install MariaDB
Install MariaDB Initialize MariaDB Notice: First root password is not set.(none). So you should only type Enter when you are prompted to enter that. On all other questions, it is recommended to answer “yes”.