权限问题:
https://www.cnblogs.com/zndxall/p/12076234.html
gerrit安装 https://www.cnblogs.com/yan-2010/p/10711873.html
一、 jdk 安装https://blog.csdn.net/pdsu161530247/article/details/81582980
1.先解压 tar -zxvf jdk-8u181-linux-x64.tar.gz
2.配置环境变量,修改 vim /etc/profile
export JAVA_HOME=/home/wzc/下载/GIT/jdk1.8.0_301 #jdk安装目录
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib:$CLASSPATH
export JAVA_PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin
export PATH=$PATH:${JAVA_PATH}
3.通过命令source /etc/profile让profile文件立即生效
[root@localhostlocal]# source /etc/profile
4.测试是否成功 java -version
二、nginx 安装 https://www.cnblogs.com/cl-rr/p/11447231.html
https://www.cnblogs.com/chenxiaochan/p/7253407.html
https://www.cnblogs.com/zrbfree/p/6419043.html
解压,./configure,make
Linux 执行make出现:make: *** No rule to make target build', needed bydefault'. Stop.
1、为什么会出现这个问题?
因为配置nginx环境执行./configure出现了错误,再执行make就会报:make: *** No rule to make target build', needed bydefault'. Stop.错误。
2、本人执行./configure出现的error:
./configure:
error: the HTTP rewrite module requires the PCRE library.You can either
disable the module by using--without-http_rewrite_moduleoption,
orinstallthe PCRElibraryintothesystem,orbuildthe
PCRElibrarystaticallyfromthesourcewithnginxbyusing--with-pcre=<path>
option.
3、解决过程如下
①、需要安装pcre包:下载地址:https://ftp.pcre.org/pub/pcre/
②、tar -zxvf pcre-8.12.tar.gz
③、cd pcre-8.12
④、./configure
⑤、make
⑥、make install
三、appach 安装 https://blog.csdn.net/weixin_40876986/article/details/90050862
https://www.cnblogs.com/chevin/p/10222681.html
安装apr-1.6 rm cannot remove `libtoolT'报错 ,编辑配置文件,在配置文件中找到RM='$RM'这一行 修改为RM='$RM -f',修改完成后保存.
编译httd ,必须把 apr,apr-util 的源文件放到 apache2.4.3 源码的 srclib 目录下,并修改 apr 源码目录为apr,apr-util 源码目录为 apr-util
cp -rf apr-1.4.6 ./httpd-2.4.3/srclib/apr
cp -rf apr-util-1.5.1 ./httpd-2.4.3/srclib/apr-util
cdhttpd-2.4.3
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-speling --enable-cache --enable-file-cache --enable-disk-cache --enable-mem-cache --enable-ssl --with-ssl=/usr/local/openssl/ --enable-rewrite --enable-so --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre --with-included-apr
make
make install
MySQL 安装 https://www.cnblogs.com/apolloren/p/9955103.html
gitlab 安装https://www.cnblogs.com/hgzero/p/14088215.html
git安装 https://www.cnblogs.com/wulixia/p/11016684.html
Gerrit与Gitlab同步配置replication&其他配置 https://www.cnblogs.com/tesky0125/p/5973642.html