zoukankan      html  css  js  c++  java
  • Sonarqube中文插件-Linux[20180105]

    前言
        上次安装了Sonarqube英文版使用起来不方便,这次为Sonarqube安装中文插件。
    前期准备:
        软件下载:
        
    安装插件:
            1.下载插件jar文件
            2.将jar文件复制到Sonarqube主目录extensions/plugins文件夹内
            3.重启Sonarqube服务
     
             上传jar文件至服务器
    [root@t-xi-sonar01 ~]# ls
    anaconda-ks.cfg                                         mysql-community-libs-5.7.20-1.el6.x86_64.rpm
    install.log                                             mysql-community-libs-compat-5.7.20-1.el6.x86_64.rpm
    install.log.syslog                                      mysql-community-server-5.7.20-1.el6.x86_64.rpm
    jre-8u151-linux-x64.rpm                                 mysql-community-test-5.7.20-1.el6.x86_64.rpm
    mysql-5.7.20-1.el6.x86_64.rpm-bundle.tar                sonar-l10n-zh-plugin-1.16.jar
    mysql-community-client-5.7.20-1.el6.x86_64.rpm          sonar-l10n-zh-sonar-l10n-zh-plugin-1.16.tar.gz
    mysql-community-common-5.7.20-1.el6.x86_64.rpm          sonar-l10n-zh-sonar-l10n-zh-plugin-1.16.zip
    mysql-community-devel-5.7.20-1.el6.x86_64.rpm           sonarqube-6.7.1
    mysql-community-embedded-5.7.20-1.el6.x86_64.rpm        sonarqube-6.7.1.zip
    mysql-community-embedded-devel-5.7.20-1.el6.x86_64.rpm
     [root@t-xi-sonar01 ~]# mv sonar-l10* /etc/sonarqube/
    [root@t-xi-sonar01 ~]# chown -R sonar.sonar /etc/sonarqube/
     
            切换到Sonarqube运行账户sonar下
          
     [root@t-xi-sonar01 sonarqube]# su - sonar
    [sonar@t-xi-sonar01 ~]$ cd /etc/sonarqube/
    [sonar@t-xi-sonar01 sonarqube]$ ls
    bin      data           lib                            sonar-l10n-zh-sonar-l10n-zh-plugin-1.16.tar.gz  web
    conf     elasticsearch  logs                           sonar-l10n-zh-sonar-l10n-zh-plugin-1.16.zip
    COPYING  extensions     sonar-l10n-zh-plugin-1.16.jar  temp
    [sonar@t-xi-sonar01 sonarqube]$ mv sonar-l10n-zh-plugin-1.16.jar extensions/plugins/
     
            重启Sonarqube软件
            
    [sonar@t-xi-sonar01 sonarqube]$ bin/linux-x86-64/sonar.sh stop
    Stopping SonarQube...
    Waiting for SonarQube to exit...
    Stopped SonarQube.
    [sonar@t-xi-sonar01 sonarqube]$ bin/linux-x86-64/sonar.sh start
    Starting SonarQube...
    Started SonarQube.
    [sonar@t-xi-sonar01 sonarqube]$ tail -f logs/es.log
     
            访问http://192.168.1.59:9000
            
            

            

    参考:
            
     
  • 相关阅读:
    安装CentOS7重启后提示License information
    使用VMware 安装Linux CentOS7
    VS 2015相当不错的功能:C#交互窗口
    未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”包
    RabbitMQ service is already present
    RabbitMQ安装后不能运行 Error: unable to connect to node nodedown
    〖Demo〗-- 计算器
    〖Demo〗-- HAproxy配置文件操作
    〖Python〗-- 模块系列(二)
    〖Python〗-- 模块系列(一)
  • 原文地址:https://www.cnblogs.com/also-brook/p/8204870.html
Copyright © 2011-2022 走看看