Rhymix 공식문서 참고하여 설치진행
 
1) php.ini 설정 확인
 
session.auto_start = 0
upload_max_filesize = 20M
post_max_size = 20M
memory_limit = 128M
 
2) 설치 진행
 
[root@qs211-0124 /opt]# git clone https://github.com/rhymix/rhymix.git
Cloning into 'rhymix'...
remote: Enumerating objects: 190723, done.
remote: Counting objects: 100% (2606/2606), done.
remote: Compressing objects: 100% (1363/1363), done.
remote: Total 190723 (delta 1369), reused 2199 (delta 1167), pack-reused 188117
Receiving objects: 100% (190723/190723), 102.79 MiB | 18.13 MiB/s, done.
Resolving deltas: 100% (134819/134819), done.
 
3) rhymix 폴더 생성 확인
 
[root@qs211-0124 /opt]# ll | grep rhymix
drwxr-xr-x 15 root  root  4096 2021-12-01 10:45 rhymix
 
4) 파일 폴더 생성 및 퍼미션 조정
 
[root@qs211-0124 /opt/rhymix]# mkdir files
[root@qs211-0124 /opt/rhymix]# chmod 707 files
 
5) DB 생성
 
MariaDB [mysql]> create database lbis;
Query OK, 1 row affected (0.000 sec)
 
6) apache vhost 설정
 
- httpd.conf 내 httpd-vhosts.conf 주석 해제
 
- httpd-vhosts.conf 설정
 
<VirtualHost *:80>
    DocumentRoot "/opt/rhymix"
    ServerName 110.10.129.206
    ErrorLog "logs/110.10.129.206-error_log"
    CustomLog "logs/110.10.129.206-access_log" common
 
    DirectoryIndex index index.php index.html index.htm
<Directory /opt/rhymix>
        Options FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
        Deny from env=go_out
</Directory>
 
7) 에러 발생
 
[Wed Dec 01 11:30:31.636970 2021] [core:alert] [pid 237243] [client 123.140.249.103:53301] /opt/rhymix/.htaccess: Invalid command 'RewriteEngine',
perhaps misspelled or defined by a module not included in the server configuration
 
ㄴ /opt/apache/conf/httpd.conf 내 mod_rewrite 기능 활성화
 
8) 페이지 접속 진행
http://110.10.129.206/ 접속 시 Rhymix 페이지 활성화 확인

 

+ Recent posts