- Continuous Integration,Delivery,and Deployment
- Sander Rossel
- 162字
- 2021-07-02 15:42:15
Installing SonarQube on Windows
To install SonarQube on Windows, download the latest version, I got 6.2, from the website (https://www.sonarqube.org/downloads/). Unzip the contents of the zip file and put them somewhere. I simply unzipped the sonarqube-6.2 folder to C:\. Now, we need to hook up SonarQube to the database. This is actually exactly the same as in Linux. Open C:\sonarqube-6.2\conf\sonar.properties (or wherever you have unzipped it) and change sonar.jdbc.username= and sonar.jdbc.password= to sonar.jdbc.username=sonar and sonar.jdbc.password=sonar. After that, scroll further down the file and you will find the settings for PostgreSQL. The only thing you need to do is uncomment the line #sonar.jdbc.url=jdbc:postgresql://localhost/sonar by removing #.
Now, if you go to C:\sonarqube-6.2\bin\windows-x86-64 (replace Windows-x86-x64 with your own OS), you will find some .bat files. To start SonarQube, simply run StartSonar.bat; to install SonarQube as a service, run InstallNTService.bat (with administrative privileges); and to start the service, run StartNTService.bat (also with administrative privileges). Using a browser, browse to localhost:9000 and you should see SonarQube.
- Puppet 4 Essentials(Second Edition)
- Learning Chef
- PHP+MySQL網站開發技術項目式教程(第2版)
- Wireshark Network Security
- Mastering Julia
- Working with Odoo
- Extending Puppet(Second Edition)
- 代替VBA!用Python輕松實現Excel編程
- Python滲透測試編程技術:方法與實踐(第2版)
- Building Microservices with Go
- Mastering VMware vSphere Storage
- HTML 5與CSS 3權威指南(第4版·上冊)
- BackTrack 5 Cookbook
- Java EE框架開發技術與案例教程
- HTML5 Boilerplate Web Development