summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/nextcloud.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/content/nextcloud.md b/content/nextcloud.md
index 7d6912d..8a6f47f 100644
--- a/content/nextcloud.md
+++ b/content/nextcloud.md
@@ -19,16 +19,21 @@ cloud experience (in the likes of Google Services, anyways).
## Instructions
-We should upgrade the system and then install the MariaDB server. Run the following command:
+Before beginning this tutorial, it is required that you have
+[set up NGINX](/basic/nginx/) and [obtained SSL certificates](/basic/certbot/).
+
+We should upgrade the system and then install the MariaDB server. Run the following commands:
```sh
-apt-get full-upgrade -y && apt-get install mariadb-server -y
+apt update
+apt full-upgrade -y
+apt install mariadb-server -y
```
Next, we need PHP 7.4 and several server side dependencies for Nextcloud. Run the following command:
```sh
-apt-get install php7.4 php7.4-{fpm,bcmath,bz2,intl,gd,mbstring,mysql,zip,xml,curl}
+apt install php7.4 php7.4-{fpm,bcmath,bz2,intl,gd,mbstring,mysql,zip,xml,curl}
```
*Optionally*, you can improve the performance of your Nextcloud server by adjusting the child processes that are used to execute PHP scripts. That way, more PHP scripts can be executed at once. Make the following adjustments to `/etc/php/7.4/fpm/pool.d/www.conf`:
@@ -251,11 +256,11 @@ chown -R www-data:www-data /var/www/nextcloud
chmod -R 755 /var/www/nextcloud
```
-Start and enable the php-fpm and the nginx service:
+Start and enable php-fpm and reload nginx:
```sh
systemctl enable php7.4-fpm --now
-systemctl enable nginx --now
+systemctl reload nginx
```
Now we need to head to Nextcloud\'s web interface. Go to your web