728x90
반응형
XE = XpressEngine
1. XE 설치에 필요한 패키지 추가
root@ubuntu:~# apt-get -y install php php-gd php-xml Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: php7.2 php7.2-gd php7.2-xml The following NEW packages will be installed: php php-gd php-xml php7.2 php7.2-gd php7.2-xml 0 upgraded, 6 newly installed, 0 to remove and 227 not upgraded. Need to get 151 kB of archives. :
2. apache2 서비스 재실행
root@ubuntu:~# systemctl restart apache2
3. http://www.xpressengine.com 에서 XE core 파일 다운로드 ( Download > XE자료실 > XE Core 다운로드 )
4. 다운로드 받은 파일을 웹 루트 디렉토리에 압축해제
root@ubuntu:~# cd /home/ubuntu/Downloads root@ubuntu:/home/ubuntu/Downloads# ls xe.zip root@ubuntu:/home/ubuntu/Downloads# mv xe.zip /var/www/html/ root@ubuntu:/home/ubuntu/Downloads# cd /var/www/html/ root@ubuntu:/var/www/html# ls index.html phpinfo.php xe.zip root@ubuntu:/var/www/html# unzip xe Archive: xe.zip creating: xe/ : root@ubuntu:/var/www/html# ls -l total 11000 -rw-r--r-- 1 root root 10918 Apr 22 01:40 index.html -rw-r--r-- 1 root root 21 Apr 22 02:22 phpinfo.php drwxrwxr-x 13 root root 4096 Apr 1 20:53 xe -rw-rw-r-- 1 ubuntu ubuntu 11240043 Apr 22 04:26 xe.zip
5. xe 디렉터리 퍼미션을 707로 변경
root@ubuntu:/var/www/html# chmod 707 xe root@ubuntu:/var/www/html# ls -l total 11000 -rw-r--r-- 1 root root 10918 Apr 22 01:40 index.html -rw-r--r-- 1 root root 21 Apr 22 02:22 phpinfo.php drwx---rwx 13 root root 4096 Apr 1 20:53 xe -rw-rw-r-- 1 ubuntu ubuntu 11240043 Apr 22 04:26 xe.zip
6. XE에서 사용할 데이터베이스 사용자와 데이터베이스를 생성
root@ubuntu:/var/www/html# mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.25-0ubuntu0.18.04.2 (Ubuntu) Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> grant all privileges on xedb.* to xeuser@localhost identified by 'xeuser'; Query OK, 0 rows affected, 1 warning (0.04 sec) mysql> exit Bye root@ubuntu:/var/www/html# mysql -u xeuser -pxeuser mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.7.25-0ubuntu0.18.04.2 (Ubuntu) Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database xedb; Query OK, 1 row affected (0.01 sec) mysql> exit Bye
7. http://localhost/xe로 접속해 XE 설정
728x90
반응형
'웹' 카테고리의 다른 글
Ubuntu node.js 설치 (0) | 2019.04.24 |
---|---|
VirtualBox에 Ubuntu 18.04.2 설치 (0) | 2019.04.23 |
XE를 이용한 웹 사이트 구축 2 (0) | 2019.04.22 |
APM 설치 (0) | 2019.04.22 |
댓글