Rhymix/XE ์ค์นํ๊ธฐ¶
1. ์์ค์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ¶
GitHub์์ ๋ค์ด๋ก๋¶
Rhymix์ ์ต์ ๋ฒ์ ์ GitHub์์ ๋ค์ด๋ก๋ํ ์ ์์ต๋๋ค:
- Rhymix: https://github.com/rhymix/rhymix
- XE (Legacy): https://github.com/xpressengine/xe-core
2. ์๋ฒ์ ์ค์นํ๊ธฐ¶
๋ฐฉ๋ฒ 1: Git์ ์ด์ฉํ ์ค์น¶
SSH ๋๋ PuTTY๋ก ์๋ฒ์ ์ ์ํ ํ ๋ค์ ๋ช ๋ น์ด๋ฅผ ์คํํฉ๋๋ค:
# Rhymix ์ค์น
git clone https://github.com/rhymix/rhymix
# XE ์ค์น (๋ ๊ฑฐ์)
git clone https://github.com/xpressengine/xe-core
๋ฐฉ๋ฒ 2: FTP๋ฅผ ์ด์ฉํ ์ค์น¶
- GitHub์์ ZIP ํ์ผ๋ก ๋ค์ด๋ก๋
- FTP ํด๋ผ์ด์ธํธ๋ฅผ ์ด์ฉํ์ฌ ์๋ฒ์ ์ ๋ก๋
- ์์ถ ํด์
3. ๊ถํ ์ค์ ¶
files
๋๋ ํ ๋ฆฌ์ ์ฐ๊ธฐ ๊ถํ์ ๋ถ์ฌํด์ผ ํฉ๋๋ค:
chmod 707 files
๋๋ ๋ ์์ ํ ๋ฐฉ๋ฒ:
chmod 755 files
chown www-data:www-data files # Ubuntu/Debian
chown apache:apache files # CentOS/RHEL
4. ์น ์ค์น ๋ง๋ฒ์ฌ¶
- ์น ๋ธ๋ผ์ฐ์ ์์ ์ค์นํ ์ฌ์ดํธ ์ฃผ์๋ก ์ ์
- ์ค์น ๋ง๋ฒ์ฌ์ ์๋ด์ ๋ฐ๋ผ ์งํ
- ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ ๋ณด ์ ๋ ฅ
- ๊ด๋ฆฌ์ ๊ณ์ ์์ฑ
- ์ค์น ์๋ฃ
์์คํ ์๊ตฌ์ฌํญ¶
- PHP 7.0 ์ด์ (Rhymix 2.1 ๊ธฐ์ค)
- MySQL 5.0.7 ์ด์ ๋๋ MariaDB
- ํ์ PHP ํ์ฅ: gd, iconv, json, mbstring, mcrypt, mysql/mysqli, session, xml, zip
- ๊ถ์ฅ PHP ํ์ฅ: curl, fileinfo, openssl
์ถ๊ฐ ์ฐธ๊ณ ์ฌํญ¶
- ๋ณด์์ ์ํด ์ค์น ํ
files
๋๋ ํ ๋ฆฌ์ ๊ถํ์ 755๋ก ๋ณ๊ฒฝํ๋ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค .htaccess
ํ์ผ์ด ์ ๋๋ก ์๋ํ๋์ง ํ์ธํ์ธ์ (Apache ์๋ฒ์ ๊ฒฝ์ฐ)- Nginx ์๋ฒ์ ๊ฒฝ์ฐ ๋ณ๋์ ์ค์ ์ด ํ์ํ ์ ์์ต๋๋ค