install:centos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:centos [2018-09-07 08:50] – gizi | install:centos [2023-04-27 16:18] (current) – fix 96.225.177.69 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== CentOS ===== | ===== CentOS ===== | ||
CentOS 7.x with firewallcmd | CentOS 7.x with firewallcmd | ||
- | |||
==== Firewall Rules ==== | ==== Firewall Rules ==== | ||
Incoming traffic on port 80 may be blocked by default. If so, we must create a permanent firewall rule to accept incoming traffic to our DokuWiki website. | Incoming traffic on port 80 may be blocked by default. If so, we must create a permanent firewall rule to accept incoming traffic to our DokuWiki website. | ||
Line 8: | Line 7: | ||
==== Apache ==== | ==== Apache ==== | ||
- | Ensure apache service always starts on boot. | + | Ensure apache service always starts on boot. |
sudo systemctl enable httpd.service | sudo systemctl enable httpd.service | ||
mod_rewrite must be enabled so the .htaccess file which locks down the ///data// directory can be executed. | mod_rewrite must be enabled so the .htaccess file which locks down the ///data// directory can be executed. | ||
Line 38: | Line 37: | ||
sudo restorecon -Rv / | sudo restorecon -Rv / | ||
sudo restorecon -Rv / | sudo restorecon -Rv / | ||
- | |||
Using the Wiki Upgrade Plugin & the Extension Manager \\ | Using the Wiki Upgrade Plugin & the Extension Manager \\ | ||
Line 46: | Line 44: | ||
check with '' | check with '' | ||
+ | |||
+ | Allowing apache to send mail using postfix \\ | ||
+ | If you get error : **open / | ||
+ | |||
+ | sudo setsebool -P httpd_can_sendmail on | ||
+ | |||
+ | check with '' | ||
Additionally you need to modify the SElinux context for the extension manager: | Additionally you need to modify the SElinux context for the extension manager: |
install/centos.1536303032.txt.gz · Last modified: 2018-09-07 08:50 by gizi