You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/cms/cloud_server_using_nextcloud.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,37 +14,37 @@ tags:
14
14
- Server running Rocky Linux (you can install Nextcloud on any Linux distribution, but this procedure assumes you are using Rocky).
15
15
- A high degree of comfort operating from the command line for installation and for configuration.
16
16
- Knowledge of a command-line editor. Using `vi` for this example, but you can use your favorite editor if you have one.
17
-
- This procedure covers the `.zip` file installation method. You can also install Nextcloud with a snap application.
17
+
- This procedure covers the `.zip` file installation method. You can also install Nextcloud with a snap.
18
18
- This procedure uses the Apache _sites enabled_ document (linked later) for directory setup.
19
19
- This procedure also uses _mariadb-server_ hardening (also linked later) for database setup.
20
-
- Throughout this document the assumption is that you are root, or that you can elevate privileges with `sudo`.
20
+
- Throughout this document, the assumption is that you are root, or that you can elevate privileges with `sudo`.
21
21
- The example domain in use here is "yourdomain.com".
22
22
23
23
## Introduction
24
24
25
-
If you are in charge of a server environment for a large (or even a small) company, you might consider using cloud applications. Doing things in the cloud can free up your own resources for other things, but there is a downside to this, and that is the loss of control of your company's data. If a compromise occurs in the cloud application, you could risk your company's data too.
25
+
If you are in charge of a server environment for a large (or even a small) company, consider using cloud applications. Doing things in the cloud can free up your own resources for other tasks, but there is a downside: the loss of control over your company's data. If a compromise occurs in the cloud application, you could risk your company's data too.
26
26
27
-
Taking the cloud back into your own environment is a way to reclaim security of your data at the expense of your time and energy. Sometimes, this is a cost worth paying.
27
+
Taking the cloud back into your own environment is a way to regain control over your data, but at the expense of your time and energy. Sometimes, this is a cost worth paying.
28
28
29
-
Nextcloud offers an opensource cloud with security and flexibility in mind. Note that building a Nextcloud server is a good exercise, even if you opt to take your cloud off-site in the end. The following procedure deals with setting up Nextcloud on Rocky Linux.
29
+
Nextcloud offers an open-source cloud platform with security and flexibility in mind. Note that building a Nextcloud server is a good exercise, even if you end up taking your cloud off-site. The following procedure deals with setting up Nextcloud on Rocky Linux.
30
30
31
31
## Nextcloud install
32
32
33
33
### Installing and configuring repositories and modules
34
34
35
-
For this installation, you need two repositories. You need to install the EPEL (Extra Packages for Enterprise Linux), and the Remi Repository for 10.
35
+
For this installation, you need two repositories. You need to install the EPEL (Extra Packages for Enterprise Linux) and the Remi Repository for 10.
36
36
37
37
!!! note
38
38
39
-
While Rocky Linux 10 contains the minimum required PHP version of 8.3, the Remi repository contains other PHP packages necessary for Nextcloud.
39
+
While Rocky Linux 10 requires PHP 8.3, the Remi repository provides additional PHP packages necessary for Nextcloud.
In the _Prerequisites and Assumptions_ section, there was a statement that you will be using the [Apache Sites Enabled](../web/apache-sites-enabled.md) procedure for your configuration. Click over to that procedure and set up the basics there, and then return to this document to continue.
120
+
In the _Prerequisites and Assumptions_ section, there was a statement that you would use the [Apache Sites Enabled](../web/apache-sites-enabled.md) procedure for your configuration. Click over to that procedure and set up the basics there, and then return to this document to continue.
121
121
122
122
For Nextcloud, you will need to create the following configuration file:
123
123
@@ -162,7 +162,7 @@ This is where you will install your Nextcloud instance.
162
162
163
163
#### Configuring PHP
164
164
165
-
You need to set the time zone for PHP. To do this, open up `php.ini` with your text editor of choice:
165
+
You need to set PHP'stime zone. To do this, open up `php.ini` with your text editor of choice:
166
166
167
167
```bash
168
168
vi /etc/opt/remi/php84/php.ini
@@ -188,7 +188,7 @@ date.timezone = "US/Central"
188
188
189
189
Then save and exit the `php.ini` file.
190
190
191
-
Note that for the sake of keeping things the same, your time zone in the `php.ini` file should match up to your machine's time zone setting. You can discover what this is by doing the following:
191
+
Note that,forconsistency, your time zonein the `php.ini` file should match your machine's time zone setting. You can discover what this is by doing the following:
192
192
193
193
```bash
194
194
ls -al /etc/localtime
@@ -221,7 +221,7 @@ Again, as indicated earlier, use the setup procedure for [hardening `mariadb-ser
221
221
The next few steps assume that you are remotely connected to your Nextcloud server via `ssh` with a remote console open:
222
222
223
223
- Navigate to the [Nextcloud website](https://nextcloud.com/).
224
-
- Let your mouse hover over 'Download' which will open a drop-down menu.
224
+
- Let your mouse hover over 'Download', which will open a drop-down menu.
Ensure that you have your services running. If you followed the earlier steps, they should already be running. You have had several steps between those initial service starts, so restart them just to be sure:
271
+
Ensure your services are running. If you followed the earlier steps, they should already be running. You have had several steps between those initial service starts, so restart them just to be sure:
272
272
273
273
```bash
274
274
systemctl restart httpd
@@ -285,9 +285,9 @@ Assuming that you have done everything correctly so far, you should see a Nextcl
There are a couple of things that you want to do differently than the defaults:
288
+
There are a couple of things that you want to do differently from the defaults:
289
289
290
-
- At the top of the web page, where it says `Create an admin account`, set the user and password. For the sake of this example, enter `admin` and setting a strong password. Remember to save this somewhere safe (such as a password manager) so that you do not lose it. Even though you have typed into this field, ==do not hit== ++enter++ until you complete**all** the fields.
290
+
- At the top of the web page, where it says `Create an admin account`, set the user and password. For the sake of this example, enter `admin` and set a strong password. Remember to save this somewhere safe (such as a password manager) so you do not lose it. Even though you have typed into this field, ==do not hit== ++enter++ until you complete **all** the fields.
291
291
- Under the `Storage & database` section, change the `Data folder` location from the default document root, to where you moved the data folder earlier: `/var/www/sub-domains/com.yourdomain.nextcloud/data`.
292
292
- Under the `Configure the database` section, change from `SQLite` to `MySQL/MariaDB` by clicking on that button.
293
293
- Type the MariaDB root user and password that you set earlier into the `Database user` and `Database password` fields.
@@ -296,16 +296,16 @@ There are a couple of things that you want to do differently than the defaults:
296
296
297
297
Once you have all this, click `Finish Setup` and you should be up and running.
298
298
299
-
The browser window will refresh fora bit and then usually not reload the site. Enter your URLin the browser window again and you should see the default first pages.
299
+
The browser window will refresh for a bit, and then usually not reload the site. Enter your URL in the browser window again, and you should see the default first page.
300
300
301
-
Your administrative user is already (or should be) logged in at this point, and there are several informational pages designed to get you up to speed. The "Dashboard" is what users will see when they first login. The administrative user can now create other users, install other applications, and many other tasks.
301
+
Your administrative user is already logged in (or should be), and there are several informational pages to help you get up to speed. The "Dashboard" is what users will see when they first log in. The administrative user can now create other users, install other applications, and perform many different tasks.
302
302
303
303
The "Nextcloud Manual.pdf" file is the user manual, so that users can get familiar with what is available. The administrative user should read through or at least scan the high points of the admin manual [On the Nextcloud website](https://docs.nextcloud.com/server/21/admin_manual/)
304
304
305
305
## Next steps
306
306
307
-
At this point, do not forget that this is a server that you will be storing company data on. It is important to get it locked down with a firewall, get the [backupset up](../backup/rsnapshot_backup.md), secure the site with an [SSL](../security/generating_ssl_keys_lets_encrypt.md), and any other needed tasks to keep your data safe.
307
+
At this point, do not forget that this is a server where you will store company data. It is important to lock it down with a firewall, set up [backup](../backup/rsnapshot_backup.md), secure the site with [SSL](../security/generating_ssl_keys_lets_encrypt.md), and complete any other necessary tasks to keep your data safe.
308
308
309
309
## Conclusions
310
310
311
-
You need to evaluate carefully any decision to take the company cloud inhouse. For those that decide that keeping company data locally is preferable over an external cloud host, Nextcloud is a good alternative.
311
+
You need to carefully evaluate any decision to take the company's cloud in-house. For those who prefer keeping company data locally rather than using an external cloud host, Nextcloud is a good alternative.
0 commit comments