Deployment of sonar (first acquaintance with sonar)

I plan to deploy sonar on the company's test server, the system is centos7

Environment preparation: jdk, mysql (jdk1.8, mysql5.7 used here)

Download sonarqube: http://www.sonarqube.org/downloads/ to local

After extracting the zip move the folder to the test server

Note: sonar cannot be started as root user. When starting with root user, start is displayed, and no error is reported. In fact, it does not start.

Move the sonarqube folder to /opt/ and modify the permissions so that the new user has permission to operate on it

Create a new user sonar:

useradd sonar

Switch to sonar:

its sonar

Start sonarqube: go to the corresponding os folder and execute ./sonar.sh start

Sonar starts up, visit http://server ip:9000 to enter its homepage



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325711866&siteId=291194637