문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
dokuwiki [2010/11/25 21:36] kwon37xi |
dokuwiki [2021/12/04 15:17] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
Ubuntu에서의 [[dokuwiki]] 설치에 대해 정리한다. | Ubuntu에서의 [[dokuwiki]] 설치에 대해 정리한다. | ||
- | ====== 기본 설치 문서 | + | * [[dokuwiki: |
+ | * [[ssl: | ||
+ | |||
+ | ===== 기본 설치 문서 ===== | ||
* http:// | * http:// | ||
- | ====== 파일 정리 | + | ===== 파일 정리 ===== |
* /var/www/ 에 dokuwiki 파일 압축을 푼다. | * /var/www/ 에 dokuwiki 파일 압축을 푼다. | ||
* $ mv / | * $ mv / | ||
* $ chown -R www-data: | * $ chown -R www-data: | ||
- | ====== Apache 기본 설정 | + | ===== Apache 기본 설정 ===== |
* / | * / | ||
- | * [[ApacheSecurity|ApacheSecurity]] 보안사항 적용 | + | * [[apache: |
+ | * / | ||
+ | < | ||
+ | Alias /wiki / | ||
+ | < | ||
+ | AllowOverride All | ||
+ | </ | ||
+ | </ | ||
+ | * **AllowOverride All**은 .htaccess 파일 접근 권한 때문에 필요하다. | ||
+ | * / | ||
+ | |||
+ | ===== 파일 업로드 용량 변경 ===== | ||
+ | * ''/ | ||
+ | upload_max_filesize = 5M | ||
+ | </ | ||
+ | * nginx 의 해당 site 설정파일에서< | ||
+ | server { | ||
+ | client_max_body_size 5m; | ||
+ | } | ||
+ | </ | ||
+ | ===== 서버 설정 마무리 ===== | ||
+ | * http:// | ||
+ | * 완료후 install.php는 삭제해버린다. | ||
+ | * '' | ||
+ | sudo apt-get install php7.0-xml | ||
+ | sudo service php7.0-fpm restart | ||
+ | </ | ||
+ | |||
+ | ===== 보안 | ||
+ | * dokuwiki 아래의 bin, | ||
+ | * 만약 위 디렉토리에서 접근 가능한 파일이 있다면 그것은 아파치 설정에서 **AllowOverride All**이 빠져있기 때문일 수 있다. | ||
+ | * 사용자 Register 방지 : 나 외의 다른 사용자는 가입 불가이며, | ||
+ | * conf/ | ||
+ | |||
+ | ===== 예쁜 URL 만들기 ===== | ||
+ | * http:// | ||
+ | * .htaccess에서 주석 풀어주고, | ||
+ | * conf/ | ||
+ | * < | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | </ | ||
+ | |||
+ | ===== Template Hook ===== | ||
+ | * 템플릿 코드 변경없이 특정 위치에 HTML을 삽입할 수 있게 해줌. | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * 템클릿 코드는 '' | ||
+ | * 템플릿이 include 하는 HTML 파일들은 '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ^ Filename | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | ===== Plugins ===== | ||
+ | * 플러그인은 '' | ||
+ | * 플러그인 관리자에서 직접 다운로드해 설치할 수도 있고, 파일을 받아서 해당 디렉토리에 압축을 풀어도 된다. | ||
+ | |||
+ | ==== 현재 | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * 사용자 정의 명령 추가. | ||
+ | * '' | ||
+ | * [[https:// | ||
+ | ===== AccessKey 충돌 변경 ===== | ||
+ | * [[dokuwiki: | ||