0
以下のリンクからsonarqubeの設定が続きます。しかし、chkconfigコマンドの実行に失敗しました。それはcentos7のサービスとしてソナークベを始めることを私をブロックしています。Sonarqube - centos 7でchkconfigをサポートしていないサービスソナー
http://docs.sonarqube.org/display/SONAR/Running+SonarQube+as+a+Service+on+Linux
http://devopscube.com/setup-and-configure-sonarqube-on-linux/
[[email protected] ~]$ cat /etc/init.d/sonar
#! /usr/bin/sh
/usr/bin/sonar $*
[[email protected] ~]$ which sh
/usr/bin/sh
[[email protected] ~]$ ls -lrt /usr/bin/sonar
lrwxrwxrwx. 1 root root 50 Aug 30 16:59 /usr/bin/sonar -> /usr/local/sonarqube-6.0/bin/linux-x86-64/sonar.sh
[[email protected] init.d]$ sudo chkconfig --add sonar
service sonar does not support chkconfig
問題はありません手動で起動中。
[[email protected] init.d]$ sudo sonar start
Starting SonarQube...
Started SonarQube.
[[email protected] init.d]$
ありがとうございます。私はそのすべてのコメントを考えた。 "/ usr/bin/sonar $ *"という行だけが追加されました。 –