Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Istalar postgres
Descargar rpm
rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-
x86_64/pgdg-centos96-9.6-3.noarch.rpm
/usr/pgsql-9.6/bin/postgresql96-setup initdb
nano /var/lib/pgsql/9.6/data/pg_hba.conf
passwd postgres
su - postgres
createuser sonar
psql
\q
mv /Escritorio/sonarqube-7.7 /opt/
/usr/Local/sonarqubebin/linux-x86-64/sonar.sh start
nano /etc/systemd/system/sonar.service
[Unit]
Description=SonarQube service
After=syslog.target network.target
[Service]
Type=simple
User=root
Group=root
PermissionsStartOnly=true
ExecStart=/opt/sonarqube-7.7/bin/linux-x86-64/sonar.sh start
ExecStop=/opt/sonarqube-7.7/bin/linux-x86-64/sonar.sh stop
StandardOutput=syslog
LimitNOFILE=65536
LimitNPROC=8192
TimeoutStartSec=5
Restart=always
[Install]
WantedBy=multi-user.target
****************** � *****************************************
[Unit]
Description=SonarQube service
After=syslog.target network.target
[Service]
Type=simple
User=sonarqube
Group=sonarqube
PermissionsStartOnly=true
ExecStart=/bin/nohup /opt/java/bin/java -Xms32m -Xmx32m
-Djava.net.preferIPv4Stack=true -jar /opt/sonarqube/lib/sonar-application-7.4.jar
StandardOutput=syslog
LimitNOFILE=65536
LimitNPROC=8192
TimeoutStartSec=5
Restart=always
[Install]
WantedBy=multi-user.target
*****************************************************************
systemctl start sonar && sudo systemctl enable sonar && sudo systemctl status sonar
admin
admin
/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql