Redmine 재시작 방법
*Redmine의 경우 서버 설정에 따라 다르니 확인 후 진행 하시기 바랍니다.*
!Redmine 관련 실행시 꼭 redmine 계정으로 실행 해야 함
(root 계정으로 실행 하면 redmine 관련 파일들이 root 권한으로 변해서
root로 한번 실행 하면 redmine 계정으로 실행 불가)
mariadb 실행(root 계정으로 디비 실행)
service mariadb start
Redmine 관련 파일 및 디렉토리 위치
Redmine 파일위치 : redmine 디렉토리 안에 있는 redmine-3.2.4 폴더
Ruby 설치 위치 : redmine 디렉토리 안에 있는 ruby 폴더
- 나머지 ruby-2.0.0-p648, ruby-2.3.3 디렉토리는 ruby 설치 파일임
Redmine 서버 실행 :
1. Redmine-> redmine-3.2.4 경로로 이동(이 디렉토리 내에서만 스크립트 실행 가능)
2. 쉘 스크립트 명령어 설명
sh redmine_unicorn.sh start : redmine 서버 실행
sh redmine_unicorn.sh stop : redmine 서버 중지
sh redmine_unicorn.sh restart : redmine 서버 재시작
3. 쉘 스크립트 명령이 실행 되지 않을 시(Redmine-> redmine-3.2.4 경로로 이동)
Unicorn 서버 실행
bundle exec unicorn_rails -D -c config/unicorn.rb -E production &
Unicorn 서버 중단
netstat -nap | grep 3001 명령어로 3001번 포트를 사용하고 있는 PID를 찾은 후
kill -9 [PID번호] 명령 실행
재설치 시 참조 사이트
Ruby 설치 : https://www.ruby-lang.org/ko/documentation/installation
- 소스에서 빌드 하기 부분 참조 할 것
- ruby-2.0.0-p648, ruby-2.3.3 디렉토리 내에서
$ ./configure
$ make
$ sudo make install
명령어 한줄 씩 실행 할 것
Redmine 설치 : https://www.lesstif.com/pages/viewpage.action?pageId=6717468
- Ruby 설치는 따로 진행 할 것
Unicorn 서버 설치 : https://www.lesstif.com/pages/viewpage.action?pageId=20381726
'IT > 프로그램설정' 카테고리의 다른 글
오라클 ORA-00600: 내부 오류 코드, 인수: [kkqjpdpvpd: No join pred found.] (0) | 2018.07.17 |
---|---|
레드마인 사용자 잠금 (0) | 2018.05.09 |
오라클 락 확인 및 KILL 하기 (0) | 2018.03.26 |
마리아DB 설정 linux (0) | 2018.03.26 |
레드마인 redmine 사용자 관리 (0) | 2018.03.26 |