From 43f02cd3e45a3888bc66444b888b959bf2b80ea3 Mon Sep 17 00:00:00 2001 From: Teodoro Colombo Date: Fri, 9 Jun 2023 01:05:25 -0300 Subject: Fix nextcloud version: https://help.nextcloud.com/t/on-the-roadmap-deprecation-of-php-7-4/149848 --- content/nextcloud.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'content/nextcloud.md') diff --git a/content/nextcloud.md b/content/nextcloud.md index dd73d2d..a9c07c4 100644 --- a/content/nextcloud.md +++ b/content/nextcloud.md @@ -74,7 +74,7 @@ below and change some of the placeholders as you wish: ```mysql CREATE DATABASE nextcloud; -GRANT ALL ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password'; +GRANT ALL ON nextcloud.* TO ''@'localhost' IDENTIFIED BY ''; FLUSH PRIVILEGES; EXIT; ``` @@ -94,7 +94,7 @@ In `/etc/nginx/sites-available/` we need to make a new configuration for Nextcloud (example: `/etc/nginx/sites-available/nextcloud`). -Add the following content [based of Nextcloud's recommendations](https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html) to the file, **remembering to replace `nextcloud.example.org` with your Nextcloud domain**. +Add the following content [based of Nextcloud's recommendations](https://docs.nextcloud.com/server/25/admin_manual/installation/nginx.html) to the file, **remembering to replace `nextcloud.example.org` with your Nextcloud domain**. ```nginx upstream php-handler { @@ -204,11 +204,11 @@ ln -s /etc/nginx/sites-available/nextcloud /etc/nginx/sites-enabled/ ## Installing Nextcloud Itself We should have all the moving pieces in place now, so we can download and -install Nextcloud itself. First, download the latest Nextcloud version and we will extract into `/var/www/` and ensure Nginx has the authority to use it. +install Nextcloud itself. First, download the latest-25 Nextcloud version and we will extract into `/var/www/` and ensure Nginx has the authority to use it. ```sh -wget https://download.nextcloud.com/server/releases/latest.tar.bz2 -tar -xjf latest.tar.bz2 -C /var/www +wget https://download.nextcloud.com/server/releases/latest-25.tar.bz2 +tar -xjf latest-25.tar.bz2 -C /var/www chown -R www-data:www-data /var/www/nextcloud chmod -R 755 /var/www/nextcloud ``` -- cgit v1.2.3