This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:nextcloud [2023/12/16 17:41] – oemb1905 | computing:nextcloud [2023/12/17 00:27] – oemb1905 | ||
---|---|---|---|
Line 13: | Line 13: | ||
This tutorial is for a Nextcloud instance on Debian GNU/ | This tutorial is for a Nextcloud instance on Debian GNU/ | ||
- | sudo apt install apache2-utils php-xml php-curl php-gd php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-fpm php-apcu php-gmp php-imagick php-bcmath wget unzip libapache2-mod-php | + | sudo apt install apache2-utils php-xml php-curl php-gd php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-fpm php-apcu php-gmp php-imagick php-bcmath |
| | ||
Or ... | Or ... | ||
| | ||
- | sudo apt-get install php-{xml, | + | sudo apt-get install php-{xml, |
| | ||
Once these are installed, make sure you can enable them and that you have no errors in your configurations: | Once these are installed, make sure you can enable them and that you have no errors in your configurations: | ||
Line 244: | Line 244: | ||
sudo -u www-data php updater.phar | sudo -u www-data php updater.phar | ||
| | ||
- | Use redis for everything except local memcache which uses apcu. Also, in this configuration, | + | Use redis for everything except local memcache which uses apcu. Also, in this configuration, |
- | sudo apt install | + | sudo apt install |
+ | sudo apt install | ||
+ | sudo apt-get install | ||
+ | sudo apt-get install | ||
Then, right underneath the ''' | Then, right underneath the ''' | ||
Line 268: | Line 271: | ||
RewriteRule ^\.well-known/ | RewriteRule ^\.well-known/ | ||
RewriteRule ^\.well-known/ | RewriteRule ^\.well-known/ | ||
+ | | ||
+ | Enable rotation of logs | ||
+ | |||
+ | ' | ||
+ | |||
+ | Delete the log contents (removes errors from admin settings GUI) | ||
+ | | ||
+ | sudo -u www-data truncate nextcloud.log | ||
+ | |||
+ | This will put the logs on a schedule and remove old errors in due time. | ||
- | --- // | + | --- // |