# System X11 설치 매뉴얼

# 매치드 설치 매뉴얼

매치드 홈페이지 프론트엔드

[http://git.daboryhost.com:10880/matched/matched-home-web.git](http://git.daboryhost.com:10880/matched/matched-home-web.git)

매치드 홈페이지 백엔드

[http://git.daboryhost.com:10880/matched/matched-home-api.git](http://git.daboryhost.com:10880/matched/matched-home-api.git)

매치드 관리자페이지 프론트엔드

http://git.daboryhost.com:10880/matched/matched-admin-web.git

매치드 관리자페이지 백엔드

[http://git.daboryhost.com:10880/matched/matched-admin-api.git](http://git.daboryhost.com:10880/matched/matched-admin-api.git)

매치드 소켓서버

[http://git.daboryhost.com:10880/matched/matched-msg-api.git](http://git.daboryhost.com:10880/matched/matched-msg-api.git)

매치드 메일 스케쥴링 서버

[http://git.daboryhost.com:10880/matched/matched-mailer.git](http://git.daboryhost.com:10880/matched/matched-mailer.git)

매치드 카카오톡 서버

[http://git.daboryhost.com:10880/matched/matched-kakao-talk-sender.git](http://git.daboryhost.com:10880/matched/matched-kakao-talk-sender.git)

매치드 스케쥴러

[http://git.daboryhost.com:10880/matched/matched-scheduler.git](http://git.daboryhost.com:10880/matched/matched-scheduler.git)

매치드 구독 스케쥴러

http://git.daboryhost.com:10880/matched/matched-subscription-scheduler.git

설치 방법

**!! REQUIREMENTS !!**

1. **REDIS 설치**
    1. **yum install redis**
2. **Node.JS 설치**
3. **PM2 설치**
    1. **npm install pm2 -g**
4. **JAVA 설치**
    1. **yum install -y java-11-openjdk-devel.x86\_64**

**.env 파일 정보**

**별도로 첨부해드린 env 파일과 eslint 파일을 폴더에 첨부해주세요**

**PM2 실행법 :**

1. **PM2를 설치해주세요**
2. **PM2 list 로 실행중인 PM2 프로세스 목록을 확인해주세요**
3. **실행시키려면, 각 레포지토리에 들어가서 npm run pm2:start 커맨드를 입력해주세요**

**소켓 서버 설정을 위해서,**

**/etc/httpd/conf/httpd.conf**

**httpd 설정파일을 변경해야합니다.**

 ProxyRequests Off  
 ProxyPreserveHost On

 ProxyPass / http://localhost:40443/  
 ProxyPassReverse / http://localhost:40443/

 ProxyPass /ws ws://localhost:40443/ws connectiontimeout=300 timeout=300  
 ProxyPassReverse /ws ws://localhost:40443/ws

 RewriteEngine On  
 RewriteCond %{HTTP:Upgrade} websocket \[NC\]  
 RewriteCond %{HTTP:Connection} upgrade \[NC\]  
 RewriteRule ^/ws/(.\*) "ws://localhost:40443/ws/$1" \[P,L\]