Get Started

설치하기

by XEJapan posted Nov 22, 2015
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

Getting Start

XpressEngine3은 install 커맨드를 제공하��� 있습니다. install 커맨드를 통해 설치 하는 것을 권장합니다. 문제��� 있으신���요? XE체험하기�� 통해 XpressEngine3 설치를 미리 경험해 보세요.

System Requirements

  • WebServer : Nginx, Apache 등
  • PHP 5.5.9
  • MariaDB or MySQL 5.1
  • Console(Terminal)
    • 리눅스 : 원격접속인 경우 ssh 접속환경이 필요합니다
    • 윈도우 : 차후 지원예정입니다.

Install

Linux

터미널에서 아래와 같이 커맨드를 실행합니다.

$ curl -s -o install http://start.xpressengine.io/installer; php install

설치화면입니다. 설치��� 데이터베이스 정보, 사이트 기본정보, 관리자���정 정보�� 안내에 따라 입력합니다.

$ curl -s -o installer http://start.xpressengine.io/installer; php installer
   _  __                           ______            _
  | |/ /____  ________  __________/ ____/___  ____ _(_)___  ___
  |   // __ \/ ___/ _ \/ ___/ ___/ __/ / __ \/ __ `/ / __ \/ _ \
 /   |/ /_/ / /  /  __(__  |__  ) /___/ / / / /_/ / / / / /  __/
/_/|_/ .___/_/   \___/____/____/_____/_/ /_/\__, /_/_/ /_/\___/
    /_/                                    /____/

http://xpressengine.io

XpressEngine3 Installation.

[Confirm path for install]
path: /home2/DOMAINS/DEV/install.xe3.dev1.xpressengine.com
Do you want to install? (yes/no) [no]:
> yes
[XpressEngine3 Download]
Downloading Xpressengine3...
Download is finished.
Extract Zip file...
Extraction is finished.

[Setup Database(MySQL)]
Input Database Information.
Host [localhost]: localhost
Port [3306]: 3306
Database name []: xe3
UserID [root]: root
Password: <  hidden>

[Checking Database Connection]
Connecting Database using inputted database information..
Connection successful.

[Setup Site]
Input information for site.
site url [http://localhost]: http://mydomain.com
Timezone [Asia/Seoul]:

[Base Framework load]
Base Framework is loading...
> php artisan clear-compiled
> php artisan optimize
Generating optimized class loader
> php artisan key:generate
Application key [zY7WdZhVv4KwpblFIJ2vZ8U0Tk0w5Udb] set successfully.
Base Framework is loaded

[Setup Admin infomation]
Input information for site admin.
Email []: xe3@email.com
Name [admin]: admin
Password: <  hidden>

[Setup Directory Permission]
Input directory permission for storage.
./storage directory permission [0707]: 0707
Install was completed successfully.

설정파일을 사용하여 설치하기

설정파일을 사용하면 더욱 쉽게 설치할 수 있습니다. 설치하기 전에 아래와 같이 커맨드를 실행하여 설정파일을 생성합니다.

$ curl -s -o _config http://start.xpressengine.io/config; php _config
Install configuration file is generated. (.xe_install_config.yaml)
Write your configuration data to the file.

xeInstallConfig.yaml 파일이 생성됩니다. 파일을 열고 설치 정보�� 입력하세요.

설치 커맨드를 실행합니다. --config 및 --no-interact 옵션을 사용하십시오.

$ curl -s -o install http://start.xpressengine.io/installer; php install --config=.xe_install_config.yaml --no-interact

설치옵션

  • --config=< configfile> 설정파일을 지정합니다.
  • --no-interact 대화형입력을 사용하��� 않��� 설정파일의 정보�� 사용하여 자동으로 설치합니다. 이 옵션을 --config옵션과 같이 사용해야 합니다.
  • --install-dir 설치경로를 지정합니다. 지정하��� 않을 경우 현재 디렉토리에 설치합니다.