DokuWiki

It's better when it's simple

User Tools

Site Tools


install:centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install:centos [2018-09-07 08:50] giziinstall: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 /var/www/html/dokuwiki/conf   sudo restorecon -Rv /var/www/html/dokuwiki/conf
   sudo restorecon -Rv /var/www/html/dokuwiki/data   sudo restorecon -Rv /var/www/html/dokuwiki/data
- 
  
 Using the Wiki Upgrade Plugin & the Extension Manager \\ Using the Wiki Upgrade Plugin & the Extension Manager \\
Line 46: Line 44:
    
 check with ''getsebool -a | grep httpd_can_network_connect'' check with ''getsebool -a | grep httpd_can_network_connect''
 +
 +Allowing apache to send mail using postfix \\
 +If you get error : **open /etc/postfix/main.cf: Permission denied** in /var/log/maillog, you have to grant apache to send e-mails:
 +
 +  sudo setsebool -P httpd_can_sendmail on
 +
 +check with ''getsebool -a | grep httpd_can_sendmail''
  
 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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki