1 개요[ | ]
- 리눅스 XpressEngine 설치; XE 설치
- 보통 xe는 다음 중 하나에 설치한다.
위치 | 예시 | URL |
---|---|---|
웹루트/ | /var/www/html/ | http://서버주소 |
웹루트/xe/ | /var/www/html/xe/ | http://서버주소/xe |
- 여기서는 웹루트인 /var/www/html/ 에 설치하도록 한다.
2 사전작업[ | ]
3 웹루트 정리[ | ]
- 아파치 설치시에 기본 제공된 웹루트 폴더는 삭제하거나 따로 보존해두자...
Console
Copy
root@zetawiki:~# cd /var/www/html/
root@zetawiki:/var/www/html# ll
total 20
drwxr-xr-x 2 root root 4096 May 30 09:51 ./
drwxr-xr-x 4 root root 4096 May 29 20:46 ../
-rw-r--r-- 1 root root 11510 May 28 17:19 index.html
root@zetawiki:/var/www/html# cd ..
root@zetawiki:/var/www# mv html html.origin
4 다운로드[ | ]
- https://www.xpressengine.com/download 접속
- [XE Core 다운로드]
- [다운로드 ver. 1.8.20] 클릭하여 xe.zip 다운로드(11.1MB)
5 업로드 및 압축해제[ | ]
- xe.zip 업로드
Console
Copy
root@zetawiki:/var/www# ll xe.zip
-rw-r--r-- 1 root root 11683336 May 30 09:16 xe.zip
- 압축 해제
Console
Copy
root@zetawiki:/var/www# unzip xe.zip
... (생략)
inflating: xe/m.layouts/default/mx.css
creating: xe/m.layouts/default/conf/
inflating: xe/m.layouts/default/conf/info.xml
- xe 폴더를 html(웹루트)로 이름변경
Console
Copy
root@zetawiki:/var/www# mv xe html
root@zetawiki:/var/www# cd html
root@zetawiki:/var/www/html# ll
total 120
drwxr-xr-x 13 root root 4096 May 16 14:40 ./
drwxr-xr-x 8 root root 4096 Jun 9 22:49 ../
drwxr-xr-x 15 root root 4096 May 16 14:40 addons/
drwxr-xr-x 3 root root 4096 May 16 14:40 admin/
drwxr-xr-x 22 root root 4096 May 16 14:40 classes/
-rw-r--r-- 1 root root 270 May 16 14:40 codeception.dist.yml
drwxr-xr-x 8 root root 4096 May 16 14:40 common/
-rw-r--r-- 1 root root 388 May 16 14:40 composer.json
drwxr-xr-x 2 root root 4096 May 16 14:40 config/
-rw-r--r-- 1 root root 1427 May 16 14:40 CONTRIBUTING.md
-rw-r--r-- 1 root root 46 May 16 14:40 COPYRIGHT
-rw-r--r-- 1 root root 347 May 16 14:40 .editorconfig
-rw-r--r-- 1 root root 2358 May 16 14:40 .htaccess
-rw-r--r-- 1 root root 2185 May 16 14:40 index.php
-rw-r--r-- 1 root root 178 May 16 14:40 .jshintignore
-rw-r--r-- 1 root root 1457 May 16 14:40 .jshintrc
drwxr-xr-x 6 root root 4096 May 16 14:40 layouts/
drwxr-xr-x 8 root root 4096 May 16 14:40 libs/
-rw-r--r-- 1 root root 25396 May 16 14:40 LICENSE
drwxr-xr-x 5 root root 4096 May 16 14:40 m.layouts/
drwxr-xr-x 33 root root 4096 May 16 14:40 modules/
-rw-r--r-- 1 root root 3052 May 16 14:40 README.md
drwxr-xr-x 7 root root 4096 May 16 14:40 widgets/
drwxr-xr-x 3 root root 4096 May 16 14:40 widgetstyles/
6 퍼미션 폴더 설정[ | ]
Console
Copy
root@zetawiki:/var/www/html# mkdir files
root@zetawiki:/var/www/html# chown www-data:www-data files
7 설치진행[ | ]
- http://서버주소 접속
- "Select language" --- 한국어 --- [다음 >]
- "사용권 동의" --- ☑ 사용권에 대해 이해했으며, 이에 동의합니다. --- [다음 >]
- 설치 조건 확인 (비정상)
퍼미션 : ⃠ 불가능 | [필수] XE의 설치 경로 또는 ./files 디렉토리의 퍼미션이 707이어야 합니다. |
GD 라이브러리 : ⃠ 불가능 | 이미지변환 기능을 사용하기 위해 GD라이브러리가 설치되어 있어야 합니다. |
DB : ⃠ 불가능 | (php-mysql 드라이버가 있으면 통과됨) |
짧은 주소를 사용할 수 없습니다. 웹 서버 담당자에게 rewrite_mod지원 여부를 확인 바랍니다. |
- 확인 (정상)
text
Copy
XE 1.8.20 설치가 가능합니다.
PHP Version(Ver. 5.5.9-1ubuntu4.17) : 가능
퍼미션 : 가능
XML 라이브러리 : 가능
Session.auto_start 설정 : 가능
ICONV 라이브러리 : 가능
GD 라이브러리 : 가능
DB : 가능
- [설치를 진행합니다. >]
- "DB 선택" --- (O) mysqli --- [다음 >]
- "mysqli 정보 입력" --- DB 접속정보 입력 --- [다음 >]
- "환경 설정" --- [GMT +09:00] ... --- [다음 >]
- "관리자 정보 입력" --- 이메일주소 등 입력 -- [v 완료]
8 확인[ | ]
- http://서버주소 로 연결되고 XE 첫화면이 나온다.
- http://서버주소/admin 에서 필요한 설정 진행...
9 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.