How to setup SonarQube in AWS
ฝัง
- เผยแพร่เมื่อ 3 ต.ค. 2024
- In this video, i have given a brief overview about Sonarqube and why it's popular among the static code analysis tools. Also, have given a lab demo on how to setup the SonarQube application in AWS EC2 Linux instance.
Thank you sir!
Good Effort! , Helpful!!!
Thank you
Thanks sir, its working ..
Good to know
Hi sir,
have followed the same steps and created a new user as sonar but still facing same issue (issue have posted)
/usr/bin/java
Removed stale pid file: ./SonarQube.pid
SonarQube is not running.
please let me know how to resolve this
Thanks bro
Thank you, sir, it was very easy to follow your instructions, and I was able to get it online.
Where I can find notes for this?
Great, happy to hear !!
thankyou
Thank you so much i was successful in setting up ent version on AWS, do you mind demo the steps to connect PostgreSQL as the RDS other than H2
Thank you for the feedback. Sure, I will post a video soon on the topic requested.
th-cam.com/video/q4Rgh5sdnYs/w-d-xo.html
Thanks for walking through this. However, I have followed the exact same steps you used but when I try to login into Sonarqube UI with admin admin it just takes me back to the homepage without logging in.
clear your browser cache and try opening the link in a new browser session
where i can find your 2nd video where you have integrated sonarqube with jenkins can you please provide me the link
here you go...th-cam.com/video/T4S2IBf2GUg/w-d-xo.html
Sir, my installation is done, status is showing running but when I try to access via IP:9000 it is showing Site can not be reached. When I try netstat -tulpn|grep 9000 on EC2 instance it not showing any result but all the traffic to port 9000 is allowed in security group.
Can you help?
It shows Sonarqube is not started at all. Did you create "sonar" user and started the sonarqube service as that user ?
@@awsdevopsniche11 ohh, may be I missed that , starting service as a user.
@@awsdevopsniche11 Yes, I tried to start it by user but still not able to access the dashboard. I can clearly see the port 9000 is not opened.
How we get these commands can you post in description here it will be helpful
Please reach me at awsdevops1919@gmail.com
use that is created in instance is not working in Brower, why is it so ?
didn't understsnd your question, you can send an email to awsdevops1919@gmail.com eloborating your question.
I have followed the same steps, but when i run ./sonar.sh status, getting below error. Searching for the solution since 2 days not getting. Pls help. Thnanks in Advance.
/usr/bin/java
Removed stale pid file: ./SonarQube.pid
SonarQube is not running.
Hi, have you created user named Sonar. You need to run Sonarqube as a sonar, user otherwise it will not work. Try the steps below:
useradd sonar
passwd sonar (set the password for this user)
visudo (add user to the wheel group)
Give ownership of the Sonarqube dir to the Sonar user (chown -R sonar:sonar
Start sonarqube application now