Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions docs/guides/cms/cloud_server_using_nextcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ We also need a special empty file so that we can install Nextcloud. This file re
#### Configuring PHP
<a name="confphp"></a>

We need to set the timezone for PHP. To do this, open up php.ini with your text editor of choice:
We need to set the time zone for PHP. To do this, open up php.ini with your text editor of choice:

`vi /etc/php.ini`

Then find the line:

`;date.timezone =`

We need to remove the remark (;) and set our timezone. For our example timezone, we would put in either:
We need to remove the remark (;) and set our time zone. For our example time zone, we would put in either:

`date.timezone = "America/Chicago"`

Expand All @@ -175,11 +175,11 @@ OR

Then save an exit the php.ini file.

Note that for the sake of keeping things the same, your timezone in the _php.ini_ file should match up to your machine's timezone setting. You can find out what this is set to by doing the following:
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 find out what this is set to by doing the following:

`ls -al /etc/localtime`

Which should show you something like this, assuming you set your timezone when you installed Rocky Linux and are living in the Central time zone:
Which should show you something like this, assuming you set your time zone when you installed Rocky Linux and are living in the Central time zone:

`/etc/localtime -> /usr/share/zoneinfo/America/Chicago`

Expand Down Expand Up @@ -219,9 +219,9 @@ There are a couple of things that we want to do differently than the defaults th

* At the top of the web page, where it says "Create an admin account", set the user and password. For the sake of this document, we are entering "admin" and setting a strong password. Remember to save this somewhere safe (like a password manager) so that you don't lose it! Even though you have typed into this field, don't hit 'Enter' until we have done all of the setup fields!
* Under the "Configure the database" section, change from "SQLite" to "MySQL/MariaDB" by clicking on that button.
* Type the MariaDB root user and password that you set earlier into the "Database user" and "Database password" fields
* In the "Database name" field, type "nextcloud"
* In the "localhost" field, type "localhost:3306" (3306 is the default _mariadb_ connect port)
* Type the MariaDB root user and password that you set earlier into the "Database user" and "Database password" fields.
* In the "Database name" field, type "nextcloud".
* In the "localhost" field, type "localhost:3306" (3306 is the default _mariadb_ connect port).

Once you have all this, click `Finish Setup` and you should be up and running.

Expand Down Expand Up @@ -319,10 +319,10 @@ This install method for Nextcloud uses the server install .zip file.

The next few steps assume that you are remotely connected to your Nextcloud server via _ssh_ with a remote console open:

* Navigate to the [Nextcloud web site](https://nextcloud.com/)
* Let your mouse hover over "Get Nextcloud" which will bring up a drop down menu.
* Navigate to the [Nextcloud web site](https://nextcloud.com/).
* Let your mouse hover over "Get Nextcloud" which will bring up a drop-down menu.
* Click on "Server Packages".
* Right-click on "Download Nextcloud" and copy the link address. (the exact syntax of this is different browser to browser)
* Right-click on "Download Nextcloud" and copy the link address (the exact syntax of this is different browser to browser).
* In your remote console on the Nextcloud server, type "wget" and then a space and paste in what you just copied. You should get something like the following: `wget https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip`
* Once you hit enter, the download of the .zip file will start and will be completed fairly quickly.

Expand Down Expand Up @@ -374,11 +374,11 @@ And you should see this screen:
There are a couple of things that we want to do differently than the defaults that show up:

* At the top of the web page, where it says "Create an admin account", set the user and password. For the sake of this document, we are entering "admin" and setting a strong password. Remember to save this somewhere safe (like a password manager) so that you don't lose it! Even though you have typed into this field, don't hit 'Enter' until we have done all of the setup fields!
* Under the "Storage & database" section, change the "Data folder" location from the default document root, to where we moved the data folder earlier: `/var/www/sub-domains/com.yourdomain.nextcloud/data`
* Under the "Storage & database" section, change the "Data folder" location from the default document root, to where we moved the data folder earlier: `/var/www/sub-domains/com.yourdomain.nextcloud/data`.
* Under the "Configure the database" section, change from "SQLite" to "MySQL/MariaDB" by clicking on that button.
* Type the MariaDB root user and password that you set earlier into the "Database user" and "Database password" fields
* In the "Database name" field, type "nextcloud"
* In the "localhost" field, type "localhost:3306" (3306 is the default _mariadb_ connect port)
* In the "Database name" field, type "nextcloud".
* In the "localhost" field, type "localhost:3306" (3306 is the default _mariadb_ connect port).

Now cross your fingers and click "Finish Setup".

Expand Down
10 changes: 5 additions & 5 deletions docs/guides/cms/dokuwiki_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:
## Prerequisites And Assumptions

* A Rocky Linux instance installed on a server, container, or virtual machine.
* Comfort with modifying configuration files from the command line with an editor (our examples here will use _vi_, but you can substitute your favorite editor)
* Comfort with modifying configuration files from the command line with an editor (our examples here will use _vi_, but you can substitute your favorite editor).
* Some knowledge about web applications and setup.
* Our example will use the [Apache Sites Enabled](../web/apache-sites-enabled.md) for setup, so it is a good idea to review that routine if you plan on following along.
* We will be using "example.com" as the domain name throughout this example.
Expand All @@ -26,7 +26,7 @@ Documentation can take many forms in an organization. Having a repository that y

DokuWiki is a mature, fast, wiki that runs without a database, has built in security features, and is relatively easy to deploy. For more information on what DokuWiki can do, check out their [web page](https://www.dokuwiki.org/dokuwiki).

DokuWiki is just one of many wiki's available, though it's a pretty good one. One big pro is that DokuWiki is relatively lightweight and can run on a server that is already running other services, provided you have space and memory available.
DokuWiki is just one of many wikis available, though it's a pretty good one. One big pro is that DokuWiki is relatively lightweight and can run on a server that is already running other services, provided you have space and memory available.

## Installing Dependencies

Expand Down Expand Up @@ -235,8 +235,8 @@ First, modify or create the _/etc/firewall.conf_ file:
```
#IPTABLES=/usr/sbin/iptables

# Unless specified, the defaults for OUTPUT is ACCEPT
# The default for FORWARD and INPUT is DROP
# Unless specified, the default for OUTPUT is ACCEPT
# The default for FORWARD and INPUT is DROP
#
echo " clearing any existing rules and setting default policy.."
iptables -F INPUT
Expand Down Expand Up @@ -301,7 +301,7 @@ trusted (active)

### SSL

For the best security, you should consider using an SSL so that all web traffic is encrypted. You can purchase an SSL from an SSL provider or use [Let's Encrypt](../security/generating_ssl_keys_lets_encrypt.md)
For the best security, you should consider using an SSL so that all web traffic is encrypted. You can purchase an SSL from an SSL provider or use [Let's Encrypt](../security/generating_ssl_keys_lets_encrypt.md).

## Conclusion

Expand Down