aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2022-03-23-nextcloud-on-ubuntu.org
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
committerChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
commit51a7a02f0c96d49b68fbcc155414c218207fa270 (patch)
tree845af8aad0e8769352efc02fcd1044eed9cc1ec1 /content/blog/2022-03-23-nextcloud-on-ubuntu.org
parent7d3e80ebf1dc770eac0e21890b74f18ba2d15a6b (diff)
downloadcleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.gz
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.bz2
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.zip
fix grammar in 2022 posts
Diffstat (limited to 'content/blog/2022-03-23-nextcloud-on-ubuntu.org')
-rw-r--r--content/blog/2022-03-23-nextcloud-on-ubuntu.org61
1 files changed, 28 insertions, 33 deletions
diff --git a/content/blog/2022-03-23-nextcloud-on-ubuntu.org b/content/blog/2022-03-23-nextcloud-on-ubuntu.org
index 2d85c23..0409f12 100644
--- a/content/blog/2022-03-23-nextcloud-on-ubuntu.org
+++ b/content/blog/2022-03-23-nextcloud-on-ubuntu.org
@@ -7,8 +7,8 @@
:PROPERTIES:
:CUSTOM_ID: what-is-nextcloud
:END:
-[[https://nextcloud.com/][Nextcloud]] is a self-hosted solution for
-storage, communications, editing, calendar, contacts, and more.
+[[https://nextcloud.com/][Nextcloud]] is a self-hosted solution for storage, communications, editing,
+calendar, contacts, and more.
This tutorial assumes that you have an Ubuntu server and a domain name
configured to point toward the server.
@@ -29,16 +29,14 @@ sudo apt install php7.4-gmp php7.4-bcmath php-imagick php7.4-xml php7.4-zip
:PROPERTIES:
:CUSTOM_ID: set-up-mysql
:END:
-Next, you will need to log in to MySQL as the =root= user of the
-machine.
+Next, you will need to log in to MySQL as the =root= user of the machine.
#+begin_src sh
sudo mysql -uroot -p
#+end_src
-Once you've logged in, you must create a new user so that Nextcloud can
-manage the database. You will also create a =nextcloud= database and
-assign privileges:
+Once you've logged in, you must create a new user so that Nextcloud can manage
+the database. You will also create a =nextcloud= database and assign privileges:
#+begin_src sql
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
@@ -52,15 +50,12 @@ quit;
:PROPERTIES:
:CUSTOM_ID: download-install-nextcloud
:END:
-To download Nextcloud, go the
-[[https://nextcloud.com/install/#instructions-server][Nextcloud
-downloads page]], click on =Archive File= and right-click the big blue
-button to copy the link.
+To download Nextcloud, go the [[https://nextcloud.com/install/#instructions-server][Nextcloud downloads page]], click on =Archive File=
+and right-click the big blue button to copy the link.
-Then, go to your server and enter the following commands to download,
-unzip, and move the files to your destination directory. This example
-uses =example.com= as the destination, but you can put it wherever you
-want to server your files from.
+Then, go to your server and enter the following commands to download, unzip, and
+move the files to your destination directory. This example uses =example.com= as
+the destination, but you can put it wherever you want to server your files from.
#+begin_src sh
wget https://download.nextcloud.com/server/releases/nextcloud-23.0.3.zip
@@ -73,9 +68,9 @@ sudo cp -r nextcloud /var/www/example.com
:PROPERTIES:
:CUSTOM_ID: configure-the-apache-web-server
:END:
-Now that the database is set up and Nextcloud is installed, you need to
-set up the Apache configuration files to tell the server how to handle
-requests for =example.com/nextcloud=.
+Now that the database is set up and Nextcloud is installed, you need to set up
+the Apache configuration files to tell the server how to handle requests for
+=example.com/nextcloud=.
First, open the following file in the editor:
@@ -83,8 +78,8 @@ First, open the following file in the editor:
sudo nano /etc/apache2/sites-available/nextcloud.conf
#+end_src
-Once the editor is open, paste the following information in. Then, save
-and close the file.
+Once the editor is open, paste the following information in. Then, save and
+close the file.
#+begin_src config
<VirtualHost *:80>
@@ -113,14 +108,14 @@ Once the file is saved, enable it with Apache:
sudo a2ensite nextcloud.conf
#+end_src
-Next, enable the Apache mods required by Nextcloud:
+Next, enable the Apache modules required by Nextcloud:
#+begin_src sh
sudo a2enmod rewrite headers env dir mime
#+end_src
-Finally, restart Apache. If any errors arise, you must solve those
-before continuing.
+Finally, restart Apache. If any errors arise, you must solve those before
+continuing.
#+begin_src sh
sudo systemctl restart apache2
@@ -137,20 +132,20 @@ sudo chown -R www-data:www-data /var/www/example.com/nextcloud/
:PROPERTIES:
:CUSTOM_ID: dns
:END:
-If you do not have a static IP address, you will need to update your DNS
-settings (at your DNS provider) whenever your dynamic IP address
-changes.
+If you do not have a static internet protocol (IP) address, you will need to
+update your DNS (Domain Name System) settings (at your DNS provider) whenever
+your dynamic IP address changes.
-For an example on how I do that with Cloudflare, see my other post:
-[[../updating-dynamic-dns-with-cloudflare-api/][Updating Dynamic DNS
-with Cloudflare API]]
+For an example on how I do that with Cloudflare, see my other post: [[https://cleberg.net/blog/cloudflare-dns-api.html][Dynamic DNS
+Record Updates via Cloudflare API]].
* Certbot
:PROPERTIES:
:CUSTOM_ID: certbot
:END:
-If you want to serve Nextcloud from HTTPS rather than plain HTTP, use
-the following commands to issue Let's Encrypt SSL certificates:
+If you want to serve Nextcloud from HTTPS (Hypertext Transfer Protocol Secure)
+rather than plain HTTP (Hypertext Transfer Protocol), use the following commands
+to issue Let's Encrypt SSL (Secure Socket Layer) certificates:
#+begin_src sh
sudo apt install snapd
@@ -165,5 +160,5 @@ sudo certbot --apache
:PROPERTIES:
:CUSTOM_ID: results
:END:
-VoilĂ ! You're all done and should be able to access Nextcloud from your
-domain or IP address.
+VoilĂ ! You're all done and should be able to access Nextcloud from your domain
+or IP address.