에러 화면

 

The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. 

에러가 계속 뜬다면... 

SELinux 때문입니다. ( 리눅스 보안기능 ) 

https://www.dokuwiki.org/install:centos 페이지에 찾아가면 됩니다.

해결 가능한 옵션이 2개 있는데
그중에서 1번을 참고하면 됩니다.(아래글에 표시)

아래 빨간색 명령어를 사용하면 됩니다. 

Option 1

Switch SELinux to permissive mode, only for the httpd(Apache) service. This will leave SELinux enforcing for the rest of the system. This is the easier solution, but arguably also the less safe, as SELinux does not provide any protection for httpd.

  • sudo yum install policycoreutils-python
  • sudo semanage permissive -a httpd_t

 

참고로 저는
AWS EC2에서 
CentOS 7버전,
php 버전 7.0.33 을 사용하였고, 

dokuWIKI는 옵션을 모두 포함한 것을 사용했습니다.

 

결과화면

+ Recent posts