728x90
preinstall
MySQL 5.6 Yum Repo 패키지 설치
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
MySQL 설치
yum install mysql-server
systemctl start mysql
(2) Java : openjdk 1.8.0.51
yum install java-1.8.0-openjdk.x86_64
(3) git : 1.8.3.1
yum install git
(4) ssh 서버 설치
sudo yum install openssh-server
(5) ntp 설치 (page에 register or sign in 시 Not Found 표시 시 설치)
yum install ntp -y
systemctl start ntpd
* Gerrit 설치 전 Mysql 셋팅 (option)
mysql
mysql> CREATE USER 'gerrit2'@'localhost';
mysql> CREATE DATABASE reviewdb;
mysql> GRANT ALL ON reviewdb.* TO 'gerrit2'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> exit;
Gerrit User 생성 (option) 및 gerrit 설치
useradd gerrit2
su gerrit2
GERRIT INSTALL
1. Download Gerrit
wget https://gerrit-releases.storage.googleapis.com/gerrit-2.10.2.war -O /home/gerrit2/gerrit.war
2. Gerrit Initialize new site directory
java -jar gerrit.war init -d /home/gerrit2/review_site
3. Gerrit start
/home/gerrit2/review_site/bin/gerrit.sh start
'Installation & Setting > Gerrit' 카테고리의 다른 글
Jenkins Setting for Gerrit (1) | 2019.07.28 |
---|---|
Git Review (0) | 2019.07.28 |
Gerrit Verified Setting (0) | 2019.07.28 |