Gerrit代码审计系统实战-Gerrit 3.0.0版本快速搭建

                                      作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

  Gerrit官网文档可参考:https://gerrit-documentation.storage.googleapis.com/Documentation/3.0.0/index.html。

 

一.JDK环境部署

详情请参考:https://www.cnblogs.com/yinzhengjie/p/10739218.html
[root@node108.yinzhengjie.org.cn ~]# tail -3 /etc/profile
#Add by yinzhengjie
JAVA_HOME=/yinzhengjie/softwares/jdk1.8.0_201
PATH=$PATH:$JAVA_HOME/bin
[root@node108.yinzhengjie.org.cn ~]# 
[root@node108.yinzhengjie.org.cn ~]# java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
[root@node108.yinzhengjie.org.cn ~]# 

 

二.Git环境部署

1>.Git概述

  Git是一个免费的开源分布式版本控制系统。它是用C语言编写的,最初由Linus Torvalds和其他人开发,用于管理Linux内核。“分布式”意味着没有存储库的中央副本。

  使用Git,一旦克隆了存储库,就可以获得源代码的完整功能副本,并且可以使用所有分支和标记版本。

2>.安装Git

[root@node108.yinzhengjie.org.cn ~]# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core) 
[root@node108.yinzhengjie.org.cn ~]# 
[root@node108.yinzhengjie.org.cn ~]# uname -r
3.10.0-957.el7.x86_64
[root@node108.yinzhengjie.org.cn ~]# 
[root@node108.yinzhengjie.org.cn ~]# uname -m
x86_64
[root@node108.yinzhengjie.org.cn ~]# 
[root@node108.yinzhengjie.org.cn ~]# free -h
              total        used        free      shared  buff/cache   available
Mem:           7.6G        127M        7.3G         11M        149M        7.3G
Swap:          1.5G          0B        1.5G
[root@node108.yinzhengjie.org.cn ~]# 
[root@node108.yinzhengjie.org.cn ~]# cat /etc/redhat-release      #查看本篇博客的操作平台

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2021-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-10-22
猜你喜欢
  • 2021-06-11
  • 2021-06-07
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
相关资源
相似解决方案