<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>温馨小站</title>
    <description></description>
    <link>http://blog.luamas.com/</link>
    <atom:link href="http://blog.luamas.com/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Tue, 10 Jan 2023 13:03:13 +0000</pubDate>
    <lastBuildDate>Tue, 10 Jan 2023 13:03:13 +0000</lastBuildDate>
    <generator>Jekyll v3.9.2</generator>
    
      <item>
        <title>Centos7安装sonarqube9.8</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#准备工作&quot; id=&quot;markdown-toc-准备工作&quot;&gt;准备工作&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#安装openjdk11sonar78支持8和11而79-90需要jdk11支持当前直接安装jdk17版本即可&quot; id=&quot;markdown-toc-安装openjdk11sonar78支持8和11而79-90需要jdk11支持当前直接安装jdk17版本即可&quot;&gt;安装openjdk11(sonar，7.8支持8和11，而7.9-9.0需要jdk11支持，当前直接安装jdk17版本即可)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#创建数据库查看postgresql11安装&quot; id=&quot;markdown-toc-创建数据库查看postgresql11安装&quot;&gt;创建数据库(查看postgresql11安装)&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;准备工作&quot;&gt;准备工作&lt;/h3&gt;
&lt;h4 id=&quot;安装openjdk11sonar78支持8和11而79-90需要jdk11支持当前直接安装jdk17版本即可&quot;&gt;安装openjdk11(sonar，7.8支持8和11，而7.9-9.0需要jdk11支持，当前直接安装jdk17版本即可)&lt;/h4&gt;
这里为了方便使用系统自带的jdk11
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum search java-11
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;java-11-openjdk-devel
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h4 id=&quot;创建数据库查看postgresql11安装&quot;&gt;创建数据库(&lt;a href=&quot;http://blog.luamas.com/2019/08/28/INSTALLATION-POSTGRESQL11/&quot;&gt;查看postgresql11安装&lt;/a&gt;)&lt;/h4&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#在postgresql11所在服务器执行&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;su - postgres
psql
create user sonar with password &lt;span class=&quot;s1&quot;&gt;'sonar'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
create database sonar&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
create database sonar owner sonar&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
grant all on database sonar to sonar&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
create schema my_schema&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;exit
exit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Wed, 28 Aug 2019 13:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2019/08/28/INSTALLATION-SONARQUBE/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2019/08/28/INSTALLATION-SONARQUBE/</guid>
        
        <category>sonarqube9</category>
        
        <category>sonarqube</category>
        
        <category>sonar</category>
        
        <category>postgresql</category>
        
        
        <category>centos</category>
        
      </item>
    
      <item>
        <title>Centos7安装postgresql11最新版</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#安装&quot; id=&quot;markdown-toc-安装&quot;&gt;安装&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

一、下载rpm包

地址：https://yum.postgresql.org/repopackages.php

这里我的是centos7所以我选择的

https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

&lt;h3 id=&quot;安装&quot;&gt;安装&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#安装到yum仓库&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
&lt;span class=&quot;c&quot;&gt;#查看postgresql版本&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum list | &lt;span class=&quot;nb&quot;&gt;grep &lt;/span&gt;postgresql
&lt;span class=&quot;c&quot;&gt;#这里我们选择11版本&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt; postgresql11-contrib postgresql11-server
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Wed, 28 Aug 2019 12:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2019/08/28/INSTALLATION-POSTGRESQL11/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2019/08/28/INSTALLATION-POSTGRESQL11/</guid>
        
        <category>postgresql11</category>
        
        <category>postgresql</category>
        
        
        <category>centos</category>
        
      </item>
    
      <item>
        <title>license-server 1.0.3源代码开源</title>
        <description>
查看1.0.0版本
&lt;a href=&quot;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.0/&quot;&gt;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.0/&lt;/a&gt;

查看1.0.1版本
&lt;a href=&quot;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.1/&quot;&gt;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.1/&lt;/a&gt;

查看1.0.2版本
&lt;a href=&quot;http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.2/&quot;&gt;http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.2/&lt;/a&gt;

查看1.0.3版本
&lt;a href=&quot;http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.3/&quot;&gt;http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.3/&lt;/a&gt;

</description>
        <pubDate>Sat, 29 Sep 2018 12:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/09/29/LICENSE-SERVER-OPENSOURCE-v1.0.3/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/09/29/LICENSE-SERVER-OPENSOURCE-v1.0.3/</guid>
        
        <category>jrebel</category>
        
        <category>idea</category>
        
        <category>jetbrains</category>
        
        <category>license-server</category>
        
        <category>mybatis-plugins-server</category>
        
        <category>ldapkeygen</category>
        
        <category>MyBatisCodeHelper-Pro</category>
        
        <category>android</category>
        
        
        <category>license-server</category>
        
      </item>
    
      <item>
        <title>jenkins+sonarscanner</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#生成sonarqube中的token&quot; id=&quot;markdown-toc-生成sonarqube中的token&quot;&gt;生成SonarQube中的token&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#下载sonar-scanner&quot; id=&quot;markdown-toc-下载sonar-scanner&quot;&gt;下载sonar-scanner&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#jenkins安装sonar-scanner插件&quot; id=&quot;markdown-toc-jenkins安装sonar-scanner插件&quot;&gt;jenkins安装sonar-scanner插件&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#为任务增加构建扫描&quot; id=&quot;markdown-toc-为任务增加构建扫描&quot;&gt;为任务增加构建扫描&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#在sonar服务器新建项目名为test的名称&quot; id=&quot;markdown-toc-在sonar服务器新建项目名为test的名称&quot;&gt;在sonar服务器新建项目名为test的名称&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#来杯咖啡&quot; id=&quot;markdown-toc-来杯咖啡&quot;&gt;来杯咖啡&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;生成sonarqube中的token&quot;&gt;生成SonarQube中的token&lt;/h3&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;配置&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;权限&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;用户&lt;/code&gt;，admin用户点击令牌列的更新令牌按钮，随便起一个名字比如jenkins，生成，记住这个令牌，下面会在jenkins的SonarQube Scanner插件中使用

&lt;h3 id=&quot;下载sonar-scanner&quot;&gt;下载sonar-scanner&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#将sonar-scanner安装到/usr/local&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; /usr/local
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.0.0.1744-linux.zip
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;unzip sonar-scanner-cli-4.0.0.1744-linux.zip
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
修改&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/local/sonar-scanner-4.0.0.1744-linux/bin/sonar-scanner&lt;/code&gt;并加入&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;JAVA_HOME = /usr/lib/jvm/java-11&lt;/code&gt;

&lt;h3 id=&quot;jenkins安装sonar-scanner插件&quot;&gt;jenkins安装sonar-scanner插件&lt;/h3&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;系统管理&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;插件管理&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;可选插件&lt;/code&gt;,搜索&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SonarQube Scanner&lt;/code&gt;点击直接安装并勾选&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;安装完成后重启Jenkins(空闲时)&lt;/code&gt;

安装完重启后接下来来配置&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SonarQube Scanner&lt;/code&gt;的路径和SonarQube服务器的令牌

&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;系统管理&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;全局工具配置&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SonarQube Scanner&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;新增 SonarQube Scanner&lt;/code&gt;,Name填写为SonarScanner，
取消默认安装，SONAR_RUNNER_HOME填写/usr/local/sonar-scanner-4.0.0.1744-linux点击保存

&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;系统管理&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;系统设置&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SonarQube servers&lt;/code&gt;-&amp;gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Add SonarQube&lt;/code&gt;,Name填写为SonarQubeServer，
Server URL填写sonar服务器地址即可，Server authentication token，凭证类型为&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Secret text&lt;/code&gt;,Secret为上面第一步的token令牌，描述填写sonar，点击保存

&lt;h3 id=&quot;为任务增加构建扫描&quot;&gt;为任务增加构建扫描&lt;/h3&gt;

创建任务（具体查看前面章节）点击Execute SonarQube Scanner，Analysis properties属性如下（sonar.projectKey和sonar.projectName保持一致且在sonar下唯一）
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sonar.projectKey=test
sonar.projectName=test
sonar.sources=.
sonar.java.binaries=.
sonar.sourceEncoding=UTF-8
sonar.language=java
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

点击保存，然后执行此任务即可完成集成

&lt;h3 id=&quot;在sonar服务器新建项目名为test的名称&quot;&gt;在sonar服务器新建项目名为test的名称&lt;/h3&gt;

&lt;h1 id=&quot;来杯咖啡&quot;&gt;来杯咖啡&lt;/h1&gt;

AliPay

&lt;img src=&quot;http://blog.luamas.com/images/aliPay.jpg&quot; alt=&quot;Alipay&quot; /&gt;

WXPay

&lt;img src=&quot;http://blog.luamas.com/images/wechatPay.jpg&quot; alt=&quot;WechatPay&quot; /&gt;

</description>
        <pubDate>Wed, 29 Aug 2018 16:30:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/08/29/JENKINS-INTEGRATION-SONAR-SCANNER/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/08/29/JENKINS-INTEGRATION-SONAR-SCANNER/</guid>
        
        <category>jenkins</category>
        
        <category>jenkins2</category>
        
        <category>sonar-scanner</category>
        
        
        <category>centos</category>
        
      </item>
    
      <item>
        <title>jenkins+git使用</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#在jenkins创建一个自由风格的软件项目test&quot; id=&quot;markdown-toc-在jenkins创建一个自由风格的软件项目test&quot;&gt;在jenkins创建一个自由风格的软件项目test&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;在jenkins创建一个自由风格的软件项目test&quot;&gt;在jenkins创建一个自由风格的软件项目test&lt;/h3&gt;
在常规里面选择JDK为你项目的jdk版本

源码管理选择git，在Repository URL输入git地址，
在Credentials点击添加凭据类型我们选择&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SSH Username with private key&lt;/code&gt;，Username随意填写，这里只是
一个标识这里我起名为jenkins（需要在git网页上面添加部署公钥）

在jenkins所在服务器输入ssh-keygen生成ssh私钥和公钥

从jenkins拿到ssh key的私钥&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cat ~/.ssh/id_rsa&lt;/code&gt;，选择Enter directly-&amp;gt; Add粘贴即可，Passphrase值在你生成ssh key的时候会让输入，一般留空即可

Branch Specifier 我们来选择分支默认&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;*/master&lt;/code&gt;,master分支

在构建位置增加gradle脚本，因为我的项目是基于gradle的项目。Tasks，填写&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;build -x test&lt;/code&gt;，忽略测试并构建

点击保存

在手动点击立即构建即可触发下拉代码并开始构建

在jenkins插件管理—&amp;gt;可选插件搜索gitlab关键字，安装GitLab API ，Gitlab Authentication plugin，Gitlab Hook Plugin，GitLab Plugin。

勾选构建触发器的Build when a change is pushed to GitLab. GitLab webhook选项
将url复制到gitlab的webhook即可触发自动化

系统管理-&amp;gt;Gitlab-&amp;gt;Enable authentication for ‘/project’ end-point取消勾选点击保存

在项目中触发提交事件即可触发

</description>
        <pubDate>Wed, 29 Aug 2018 14:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/08/29/JENKINS-USE/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/08/29/JENKINS-USE/</guid>
        
        <category>jenkins</category>
        
        <category>jenkins2</category>
        
        
        <category>centos</category>
        
      </item>
    
      <item>
        <title>jenkins系统工具设置</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#全局安装gitjdk8和jdk11&quot; id=&quot;markdown-toc-全局安装gitjdk8和jdk11&quot;&gt;全局安装git，jdk8和jdk11&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;全局安装gitjdk8和jdk11&quot;&gt;全局安装git，jdk8和jdk11&lt;/h3&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-y&lt;/span&gt; java-1.8.0-openjdk-devel java-11-openjdk-devel git unzip
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Wed, 29 Aug 2018 13:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/08/29/JENKINS-SYSTEM-SETUP/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/08/29/JENKINS-SYSTEM-SETUP/</guid>
        
        <category>jenkins</category>
        
        <category>jenkins2</category>
        
        
        <category>centos</category>
        
      </item>
    
      <item>
        <title>Centos7安装jenkins2</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#准备工作&quot; id=&quot;markdown-toc-准备工作&quot;&gt;准备工作&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#安装openjdk82164以后版本支持jdk11由于有些插件的兼容性问题所以暂时选择jdk8版本&quot; id=&quot;markdown-toc-安装openjdk82164以后版本支持jdk11由于有些插件的兼容性问题所以暂时选择jdk8版本&quot;&gt;安装openjdk8(2.164以后版本支持jdk11，由于有些插件的兼容性问题，所以暂时选择jdk8版本)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#添加jenkins源&quot; id=&quot;markdown-toc-添加jenkins源&quot;&gt;添加jenkins源&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#更新jenkins源为国内源&quot; id=&quot;markdown-toc-更新jenkins源为国内源&quot;&gt;更新jenkins源为国内源&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;准备工作&quot;&gt;准备工作&lt;/h3&gt;
&lt;h4 id=&quot;安装openjdk82164以后版本支持jdk11由于有些插件的兼容性问题所以暂时选择jdk8版本&quot;&gt;安装openjdk8(2.164以后版本支持jdk11，由于有些插件的兼容性问题，所以暂时选择jdk8版本)&lt;/h4&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum search java-1.8.0
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;java-1.8.0-openjdk-devel
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h4 id=&quot;添加jenkins源&quot;&gt;添加jenkins源&lt;/h4&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;#长期支持版本&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;wget &lt;span class=&quot;nt&quot;&gt;-O&lt;/span&gt; /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
&lt;span class=&quot;c&quot;&gt;#如果不检查gpg可以不导入&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;rpm &lt;span class=&quot;nt&quot;&gt;--import&lt;/span&gt; https://pkg.jenkins.io/redhat-stable/jenkins.io.key


&lt;span class=&quot;c&quot;&gt;#非长期支持版本&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;#sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;#如果不检查gpg可以不导入&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;#sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h4 id=&quot;更新jenkins源为国内源&quot;&gt;更新jenkins源为国内源&lt;/h4&gt;
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;vi /etc/yum.repos.d/jenkins.repo

&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;jenkins]
&lt;span class=&quot;nv&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;Jenkins-stable
&lt;span class=&quot;nv&quot;&gt;baseurl&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable
&lt;span class=&quot;nv&quot;&gt;gpgcheck&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0 

&lt;span class=&quot;c&quot;&gt;#将 gpgcheck变为0，不检查&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Wed, 29 Aug 2018 12:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/08/29/INSTALLATION-JENKINS/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/08/29/INSTALLATION-JENKINS/</guid>
        
        <category>jenkins</category>
        
        <category>jenkins2</category>
        
        
        <category>centos</category>
        
      </item>
    
      <item>
        <title>license-server 1.0.3发布</title>
        <description>
查看1.0.0版本
&lt;a href=&quot;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.0/&quot;&gt;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.0/&lt;/a&gt;

查看1.0.1版本
&lt;a href=&quot;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.1/&quot;&gt;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.1/&lt;/a&gt;

查看1.0.2版本
&lt;a href=&quot;http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.2/&quot;&gt;http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.2/&lt;/a&gt;

</description>
        <pubDate>Tue, 12 Jun 2018 12:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.3/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/06/12/LICENSE-SERVER-v1.0.3/</guid>
        
        <category>jrebel</category>
        
        <category>idea</category>
        
        <category>jetbrains</category>
        
        <category>license-server</category>
        
        <category>mybatis-plugins-server</category>
        
        <category>ldapkeygen</category>
        
        <category>MyBatisCodeHelper-Pro</category>
        
        <category>android</category>
        
        
        <category>license-server</category>
        
      </item>
    
      <item>
        <title>springboot2.0源码分析（一）</title>
        <description>
这里就直接进入分析主题了，就不说怎么使用了，首先我们来导入源码到ide中，我们一般创建一个springboot的应用需要一个main方法，
而入口点正是&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SpringApplication.run(Application.class, args)&lt;/code&gt;这个方法。下面我们一步步看看SpringApplication中的方法。

</description>
        <pubDate>Sat, 28 Apr 2018 12:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/04/28/spring-boot-source-analyze-1/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/04/28/spring-boot-source-analyze-1/</guid>
        
        <category>springboot</category>
        
        
        <category>springboot</category>
        
      </item>
    
      <item>
        <title>license-server 1.0.2发布(支持Android端)</title>
        <description>
查看1.0.0版本
&lt;a href=&quot;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.0/&quot;&gt;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.0/&lt;/a&gt;

查看1.0.1版本
&lt;a href=&quot;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.1/&quot;&gt;http://blog.luamas.com/2017/10/24/LICENSE-SERVER-v1.0.1/&lt;/a&gt;

</description>
        <pubDate>Fri, 13 Apr 2018 12:00:00 +0000</pubDate>
        <link>http://blog.luamas.com/2018/04/13/LICENSE-SERVER-v1.0.2/</link>
        <guid isPermaLink="true">http://blog.luamas.com/2018/04/13/LICENSE-SERVER-v1.0.2/</guid>
        
        <category>jrebel</category>
        
        <category>idea</category>
        
        <category>jetbrains</category>
        
        <category>license-server</category>
        
        <category>mybatis-plugins-server</category>
        
        <category>ldapkeygen</category>
        
        <category>android</category>
        
        
        <category>license-server</category>
        
      </item>
    
  </channel>
</rss>
