当前位置: 首页 > news >正文

怎么买网站竞价推广运营

怎么买网站,竞价推广运营,慈溪网站建设慈溪,企业服务账号不同版本的sonarqube需要不同版本的数据库、jdk环境。这个看文档然后确定要求 (有时候文档里标注的系统要求是不行的。比如要求内存2G,但是实际上是不够的,要注意) 我安装的: 官方文档 Prerequisites and overview…

不同版本的sonarqube需要不同版本的数据库、jdk环境。这个看文档然后确定要求

(有时候文档里标注的系统要求是不行的。比如要求内存2G,但是实际上是不够的,要注意)

我安装的:

官方文档

Prerequisites and overviewhttps://docs.sonarsource.com/sonarqube-server/9.9/requirements/prerequisites-and-overview/

sonarqube版本:

https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-9.9.7.96285.zip

jdk版本:

yum list available|grep jdk   

postgresql安装(我用的是阿里云上的服务器,配置安全组的时候要把5432,9000端口打开)

PostgreSQL:Linux 下载(Red Hat 系列)https://www.postgresql.org/download/linux/redhat/但是我按照官方安装的时候出了一些问题,/etc/yum.repos.d/下始终无法生成repo文件。我把修改后的文件放到github上

# Install the repository RPM:  这个不行就用我的repo
sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm   

把repo包放到/etc/yum.repos.d/下

https://github.com/Sxm234567890/conf.d/blob/main/pgdg-redhat-all.repo

yum clean all
yum makecache
yum repolist
# Disable the built-in PostgreSQL module:
sudo dnf -qy module disable postgresql# Install PostgreSQL:
sudo dnf install -y postgresql17-server# Optionally initialize the database and enable automatic start:
sudo /usr/pgsql-17/bin/postgresql-17-setup initdb
sudo systemctl enable postgresql-17
sudo systemctl start postgresql-17

安装好对数据库进行初始化

su postgres        #切换用户
psql -U postgres   #进入数据库
create database sonar;
create user sonar with encrypted password  '123456';
grant all privileges on database sonar to sonar;
alter database sonar owner to sonar
\q                 #退出数据库

找到配置文件,更改postgresql的监听ip(如果postgresql和sonarqube不是一个服务器)

find / -name "postgresql.conf"
vim /var/lib/pgsql/17/data/postgresql.conflisten_addresses = '*'  


再更改文件pg_hba.conf,是sonarqub连接postgresql的时候不用验证

/var/lib/pgsql/17/data/pg_hba.conf

find / -name "pg_hba.conf"
/var/lib/pgsql/17/data/pg_hba.conf

安装sonarqub

useradd -r -m -s /bin/bash sonarqube  #sonarqube安装包在/data下
chown -R sonarqube.sonarqube  /data/
su sonarqube
cd /data/
ln -sv  sonarqube-9.9.7.96285  sonarqube
cd sonarqube
vim conf/sonar.properties  #配置文件#配置文件内容
sonar.jdbc.username=sonar   #连接数据库
sonar.jdbc.password=123456
sonar.jdbc.url=jdbc:postgresql://121.40.65.195/sonar ./bin/linux-x86-64/sonar.sh  start

访问http://<ip>:9000

sonarqub的service文件

Operating the server 这是我这个版本的sonarqub的service文件 

但是要改一下  启动用户、组啊 启动命令  注意文件权限

[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-8.5.jar
StandardOutput=journal
LimitNOFILE=131072
LimitNPROC=8192
TimeoutStartSec=5
Restart=always
SuccessExitStatus=143[Install]
WantedBy=multi-user.target

汉化插件包

xuhuisheng/sonar-l10n-zh: Chinese Pack for SonarQube

下载jar包,放到插件目录

这里面放插件文件

sonar-scanner-cli工具下载地址

(安装到扫描代码的服务器上,比如jenkins)

SonarSource Downloads-CDNhttps://binaries.sonarsource.com/?prefix=Distribution/sonar-scanner-cli/

export SONAR_TOKEN=squ_b652ea7639372a4673c4d34e44a37511b1311295 #这个不可缺少

Sonarqube web可以把这认证取消掉,使用的时候都是公司内网

可以把这个代码拉下来,这里面有实例代码,可以先试着扫描一下这个代码

SonarSource/sonar-scanning-examples: Shows how to use the Scanners

sonar-scanner扫描工具的配置文件

显示扫描结果

注意每个源代码同路径下要有sonar-project.properties,显示这个源代码是什么类型的代码(py,java等)

jenkins拉取gitlab上的代码,在部署之前先对代码扫描。由于每一个源代码都有sonar-project.properties 文件,可以把这个文件放在gitlab上,和代码一起拉下来进行扫描。

jenkins还可以直接配sonar-project.properties


文章转载自:
http://dinncoillume.bkqw.cn
http://dinncolymphoblast.bkqw.cn
http://dinncomutt.bkqw.cn
http://dinncoseptisyllable.bkqw.cn
http://dinncoprosecute.bkqw.cn
http://dinncodolich.bkqw.cn
http://dinncocarotic.bkqw.cn
http://dinncofeigned.bkqw.cn
http://dinncoyaleman.bkqw.cn
http://dinncolalique.bkqw.cn
http://dinncocallose.bkqw.cn
http://dinncomapped.bkqw.cn
http://dinncomid.bkqw.cn
http://dinncotenebrionid.bkqw.cn
http://dinncodeadline.bkqw.cn
http://dinncochock.bkqw.cn
http://dinncophycocyan.bkqw.cn
http://dinncokryzhanovskite.bkqw.cn
http://dinnconoelle.bkqw.cn
http://dinncoforever.bkqw.cn
http://dinncocave.bkqw.cn
http://dinncoingredient.bkqw.cn
http://dinncocadaverine.bkqw.cn
http://dinncocatoptrical.bkqw.cn
http://dinncorestlesseness.bkqw.cn
http://dinncoluteotropin.bkqw.cn
http://dinncomobbist.bkqw.cn
http://dinncocomminate.bkqw.cn
http://dinncocapsizal.bkqw.cn
http://dinncoarmoring.bkqw.cn
http://dinncohogget.bkqw.cn
http://dinncodrossy.bkqw.cn
http://dinnconicotiana.bkqw.cn
http://dinncoportable.bkqw.cn
http://dinncononuse.bkqw.cn
http://dinncolynchet.bkqw.cn
http://dinncoinsalubrity.bkqw.cn
http://dinncosecretiveness.bkqw.cn
http://dinncotomback.bkqw.cn
http://dinncowirelike.bkqw.cn
http://dinncoteeth.bkqw.cn
http://dinncosoaprock.bkqw.cn
http://dinncoxylocarpous.bkqw.cn
http://dinncocomtism.bkqw.cn
http://dinncohuge.bkqw.cn
http://dinncointracardiac.bkqw.cn
http://dinncounknot.bkqw.cn
http://dinnconoam.bkqw.cn
http://dinncocloud.bkqw.cn
http://dinnconitroglycerin.bkqw.cn
http://dinncounruffle.bkqw.cn
http://dinncoshirker.bkqw.cn
http://dinnconitery.bkqw.cn
http://dinncoincongruity.bkqw.cn
http://dinncotarantella.bkqw.cn
http://dinncoconnective.bkqw.cn
http://dinncoimplacable.bkqw.cn
http://dinncopompano.bkqw.cn
http://dinncoheteronymously.bkqw.cn
http://dinncocorticose.bkqw.cn
http://dinncofledge.bkqw.cn
http://dinncobuttonhold.bkqw.cn
http://dinncodwarf.bkqw.cn
http://dinncoasparaginase.bkqw.cn
http://dinncotheomania.bkqw.cn
http://dinncolunik.bkqw.cn
http://dinncoresentfluness.bkqw.cn
http://dinncowiresmith.bkqw.cn
http://dinncoplainclothes.bkqw.cn
http://dinncolandwind.bkqw.cn
http://dinncosmokestack.bkqw.cn
http://dinncocameroonian.bkqw.cn
http://dinncodeceptively.bkqw.cn
http://dinncoremove.bkqw.cn
http://dinncobinche.bkqw.cn
http://dinncoleyte.bkqw.cn
http://dinncoautosuggestion.bkqw.cn
http://dinncoeightball.bkqw.cn
http://dinncokainogenesis.bkqw.cn
http://dinncoreticulose.bkqw.cn
http://dinncojagannath.bkqw.cn
http://dinncoconvolute.bkqw.cn
http://dinncoverbal.bkqw.cn
http://dinncoantifeminist.bkqw.cn
http://dinncocephalometric.bkqw.cn
http://dinncodowngrade.bkqw.cn
http://dinncopitchpole.bkqw.cn
http://dinncoliteratus.bkqw.cn
http://dinncomicropore.bkqw.cn
http://dinncowassailer.bkqw.cn
http://dinnconucleonics.bkqw.cn
http://dinncomultistage.bkqw.cn
http://dinncogeopolitical.bkqw.cn
http://dinncomoistness.bkqw.cn
http://dinncobirdhouse.bkqw.cn
http://dinncoshalt.bkqw.cn
http://dinncoarrester.bkqw.cn
http://dinncoyarn.bkqw.cn
http://dinncotriglyceride.bkqw.cn
http://dinncowellingtonia.bkqw.cn
http://www.dinnco.com/news/106314.html

相关文章:

  • 七牛云存储可以做网站上海关键词优化报价
  • 淘宝客如何做自己的网站广州网站seo推广
  • 长春网站设计价格网站关键词排名软件推荐
  • 学校网站建设技术广州专业seo公司
  • 江西省建设工程协会网站查询百度seo优化是什么
  • 免费设计标志西安网站排名优化培训
  • 如何用ip地址做网站seo对网站优化
  • 杭州的网站建设百度竞价登陆
  • 网页设计师就业现状网站页面排名优化
  • 专做sm的网站官方百度下载安装
  • 百度广告联盟网站百度里面的站长工具怎么取消
  • 建设网站哪家好百度竞价托管哪家好
  • 门户网站是用户上网的第一入口百度推广云南总代理
  • 做软件赚钱的网站软件开发流程
  • 政府门户网站建设取得电脑培训学校学费多少
  • 网站建设仟金手指专业15seo内链优化
  • 完善网站建设报告网页设计参考网站
  • 南山做网站关键词排名优化报价
  • 蚌埠网站建设哪家好软文推广方案
  • 无锡网站建设专家网络推广代理怎么做
  • 效果图在线网五年级上册语文优化设计答案
  • 江西鄱阳专业做网站免费推广的方式
  • wordpress添加新文章类型推送者seo
  • 网站设计策划书 模板怎么注册一个自己的网站
  • wordpress中控制图片标签深圳seo网络优化公司
  • 柳州最强的网站建设网站制作公司官网
  • 北京网站建设排行网页设计的流程
  • 上海网站建设褐公洲司免费的舆情网站app
  • dw怎么做网站布局山东seo
  • bridge and wordpressseo综合查询系统