演示環境:Mac OSX10.12.2 Xcode8 先瞄一眼最終成果~ 1.JDK,DBMS(演示環境使用Mysql) 2.創建sonar資料庫和用戶 3. "下載sonar" 演示環境使用v6.1,下載後解壓到 /usr/local/sonar/ 4. "下載sonar runner" :演示環 ...
演示環境:Mac OSX10.12.2 Xcode8
先瞄一眼最終成果~
1.JDK,DBMS(演示環境使用Mysql)
2.創建sonar資料庫和用戶
mysql -u root -pCREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'sonar' IDENTIFIED BY 'sonar';
GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
FLUSH PRIVILEGES;
3.下載sonar 演示環境使用v6.1,下載後解壓到
/usr/local/sonar/
4.下載sonar-runner:演示環境使用v2.4,下載後解壓到
/usr/local/sonar-runner/
完成後配置bin環境變數PATH~(不清楚的search一下,