summaryrefslogtreecommitdiff
path: root/content/nextcloud.md
diff options
context:
space:
mode:
authorMatthew Evan <mattmadness@420blaze.it>2022-07-01 12:03:03 -0400
committerMatthew Evan <mattmadness@420blaze.it>2022-07-01 12:03:03 -0400
commit5bba14f5cf4465e82fc0f315e99021cd251883a5 (patch)
treef4cf84dfc8ee317b083dd82e85c3eb9b75883ee5 /content/nextcloud.md
parent22ce93e6d45be5474780328ba77d0e530f2067c9 (diff)
parent8059ffa3d2179bf675936b3658d6ff6e9cbd8f7c (diff)
Merge branch 'master' of https://github.com/MattMadness/landchad
I don't know.
Diffstat (limited to 'content/nextcloud.md')
-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