This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dokuwiki_on_centos7 [2015/03/04 09:30] – created herwarth | dokuwiki_on_centos7 [2015/06/15 15:29] (current) – [Permission and SElinux] herwarth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | ======Dokuwiki installation on CentOS 7====== |
| - | ====Dokuwiki installation on CentOS 7==== | + | =====Installation===== |
| Installation will be done in the document-root of the webserver. This makes reverse-proxying easier. | Installation will be done in the document-root of the webserver. This makes reverse-proxying easier. | ||
| Line 6: | Line 6: | ||
| Download latest stable release from [[http:// | Download latest stable release from [[http:// | ||
| - | < | + | |
| - | cd /var/tmp | + | tar -xvzf / |
| - | tar -xvzf / | + | mv / |
| - | mv / | + | mv / |
| - | mv / | + | |
| - | </ | + | |
| - | ===Permission and SElinux=== | + | =====Configuration===== |
| - | < | + | ====Permission and SElinux==== |
| - | chown -R apache. / | + | chown -R apache. / |
| - | chown -R apache. / | + | chown -R apache. / |
| - | chown -R apache. / | + | chown -R apache. / |
| - | chown -R apache. / | + | chown -R apache. / |
| - | </ | + | |
| - | < | + | |
| - | semanage fcontext -a -t httpd_sys_rw_content_t "/ | + | semanage fcontext -a -t httpd_sys_rw_content_t "/ |
| - | semanage fcontext -a -t httpd_sys_rw_content_t "/ | + | semanage fcontext -a -t httpd_sys_rw_content_t "/ |
| - | semanage fcontext -a -t httpd_sys_rw_content_t "/ | + | semanage fcontext -a -t httpd_sys_rw_content_t "/ |
| - | semanage fcontext -a -t httpd_sys_rw_content_t "/ | + | |
| - | </ | + | |
| restorecon -Rv / | restorecon -Rv / | ||
| - | ===httpd settings=== | + | setsebool -P httpd_anon_write 1 |
| - | <code> | + | setsebool -P httpd_can_connect_ldap 1 |
| - | cat << EOF > / | + | setsebool -P httpd_can_sendmail 1 |
| + | |||
| + | ====When enabling upgrade plugin==== | ||
| + | semanage fcontext -a -t httpd_sys_rw_content_t "/ | ||
| + | chown -R apache. / | ||
| + | restorecon -Rv / | ||
| + | |||
| + | ====Apache | ||
| + | < | ||
| LocationMatch "/ | LocationMatch "/ | ||
| order allow,deny | order allow,deny | ||
| Line 37: | Line 40: | ||
| | | ||
| </ | </ | ||
| - | EOF | ||
| - | </ | ||
| - | |||
| - | ===SElinux booleans=== | ||
| - | < | ||
| - | setsebool httpd_anon_write 1 | ||
| - | setsebool httpd_can_connect_ldap 1 | ||
| - | setsebool httpd_can_sendmail 1 | ||
| </ | </ | ||
| + | ====Enabled plugins==== | ||
| + | * add new page | ||
| + | * ldap auth | ||
| + | * changes plugin (zoeken op changelog) | ||
| + | * pagelist | ||
| + | * toc | ||
| + | * tag | ||
| + | * dokuwiki upgrade | ||
| + | * wrap | ||
| + | {{tag> | ||