-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathinstallation
More file actions
41 lines (28 loc) · 1.26 KB
/
installation
File metadata and controls
41 lines (28 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#############################################################################
NOTE: Make sure you add the password of each user like ec2, sonarqube and root
using the sudo passwd username
Note 2: Port number of Sonarqube server is 9000
Note 3: Username:admin Password:admin
#############################################################################
## 1.. Install jdk 17
sudo yum install java-17-amazon-corretto-devel
## 2.. Add sonarqube as user as for sonarqube specific user is required (make sure u set password using sudo passwd)
sudo useradd sonarqube
## 3.. add sonarqube user in the sudoers list or visudo in the wheel group in order to user sudo
## down the sonarqube community verison using tghe wget command
wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.1.0.73491.zip
## 4. move it /opt
sudo mv sonarqube-10.1.0.73491.zip /opt/sonarqube-10.1.0.73491.zip
cd /opt
## 5.. unzip th folder
sudo unzip sonarqube-10.1.0.73491.zip
## 6.. change the ownership of sonarqube
sudo chown -R sonarqube:sonarqube sonarqube-10.1.0.73491
su sonarqube
## 7.. start the server
cd sonarqube-10.1.0.73491/
cd bin
cd linux-x86-64/
./sonar.sh start
## 8.. check the status using
./sonar.sh status