/
Linux에서 서비스로 시작하기

Linux에서 서비스로 시작하기

Office SonarQube Document Link: Running SonarQube as a Service on Linux

이 섹션의 명령어들은 Ubuntu 8.10 및 CentOS 6.2에서 테스트되었습니다.

아래와 같이 /etc/init.d/sonar 파일을 생성합니다:

 #!/bin/sh
 #
 # rc file for SonarQube
 #
 # chkconfig: 345 96 10
 # description: SonarQube system (www.sonarsource.org)
 #
 ### BEGIN INIT INFO
 # Provides: sonar
 # Required-Start: $network
 # Required-Stop: $network
 # Default-Start: 3 4 5
 # Default-Stop: 0 1 2 6
 # Short-Description: SonarQube system (www.sonarsource.org)
 # Description: SonarQube system (www.sonarsource.org)
 ### END INIT INFO
 
 /usr/bin/sonar $*

부트 시점에 SonarQube 등록합니다(Ubuntu, 32 bit):

 sudo ln -s $SONAR_HOME/bin/linux-x86-32/sonar.sh /usr/ bin/sonar
 sudo chmod 755 /etc/init.d/sonar
 sudo update-rc.d sonar defaults

부트 시점에 SonarQube 등록합니다(CentOS, 64 bit):

 sudo ln -s $SONAR_HOME/bin/linux-x86-64/sonar.sh /usr/bin/sonar
 sudo chmod 755 /etc/init.d/sonar
 sudo chkconfig --add sonar

Related content

SonarQube 서버 설치하기
SonarQube 서버 설치하기
Read with this
Linux에서 서비스로 시작하기
Linux에서 서비스로 시작하기
More like this
2분 만에 시작하기
2분 만에 시작하기
More like this
2분 만에 시작하기
2분 만에 시작하기
More like this
Windows에서 서비스로 시작하기
Windows에서 서비스로 시작하기
More like this
Windows에서 서비스로 시작하기
Windows에서 서비스로 시작하기
More like this

© 2017-2018 Moses Kim.

별도의 언급이 없는 한, 이 스페이스의 컨텐츠는 크리에이티브 커먼즈 저작자표시-비영리-동일조건변경허락 4.0 국제 라이선스에 따라 이용할 수 있습니다.
SONARQUBE는 SonarSource SA의 트레이드 마크입니다. 모든 트레이트 마크 및 저작권은 각 소유자의 소유물입니다.

::: SonarQube 관련 문의 : 이메일 :::