diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2024-07-16 08:34:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 08:34:57 -0400 |
| commit | 83e37569fead9d82c9e875ee2f65077f82776701 (patch) | |
| tree | 7c83a9dbea46866fbef0c0d1094a44920f551ad6 | |
| parent | 7c5e26ccb1c1b401880bf7e22c74b92c86df7e5e (diff) | |
| parent | ed19e0e808720f72659601fb6c65d5741c726770 (diff) | |
Merge pull request #273 from teodorocolombo/master
Fix nextcloud version
| -rw-r--r-- | content/nextcloud.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/nextcloud.md b/content/nextcloud.md index dd73d2d..c7a2976 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 '<your_username>'@'localhost' IDENTIFIED BY '<your_password>'; 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 Nextcloud 25 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 ``` |
