reviewboard mysql_ReviewBoard安装配置

1.安装ReviewBoard

下载集成安装版:https://bitnami.com/stack/reviewboard/installer

[root@bogon ~]# cd /tmp

[root@bogon tmp]# chmod +x bitnami-reviewboard-2.5.10-1-linux-x64-installer.run

[root@bogon tmp]# ./bitnami-reviewboard-2.5.10-1-linux-x64-installer.run

Warning: In order to use Review Board with CVS, you will need the cvs package

installed.

Press [Enter] to continue:

----------------------------------------------------------------------------

Welcome to the Bitnami Review Board Stack Setup Wizard.

----------------------------------------------------------------------------

Select the components you want to install; clear the components you do not want

to install. Click Next when you are ready to continue.

Django : Y (Cannot be edited)

Review Board : Y (Cannot be edited)

Is the selection above correct? [Y/n]: y

----------------------------------------------------------------------------

Installation folder

Please, choose a folder to install Bitnami Review Board Stack

Select a folder [/opt/reviewboard-2.5.10-1]: /usr/reviewboard-2.5.10-1

----------------------------------------------------------------------------

Create Admin account

Bitnami Review Board Stack admin user creation

Email Address [user@example.com]:

Login [user]:

Password :

Please confirm your password :

Do you want to configure mail support? [y/N]: n

----------------------------------------------------------------------------

Setup is now ready to begin installing Bitnami Review Board Stack on your

computer.

Do you want to continue? [Y/n]: y

----------------------------------------------------------------------------

Please wait while Setup installs Bitnami Review Board Stack on your computer.

Installing

0% ______________ 50% ______________ 100%

#########################################

----------------------------------------------------------------------------

Setup has finished installing Bitnami Review Board Stack on your computer.

Launch Bitnami Review Board Stack [Y/n]: y

修改端口

修改/usr/reviewboard-2.5.10-1/apache2/conf/httpd.conf中的Listen端口

修改/usr/reviewboard-2.5.10-1/apache2/conf/bitnami/bitnami.conf中的NameVirtualHost和VirtualHost _default_端口

开启防火墙端口

[root@bogon tmp]# firewall-cmd --zone=public --add-port=8085/tcp --permanent

[root@bogon tmp]# systemctl restart firewalld.service

启动apache服务

[root@bogon tmp]# /usr/reviewboard-2.5.10-1/apache2/bin/apachectl restart

启动mysql

[root@localhost bin]# ./mysqld_safe --user=root

Reviewboard官方文档:https://www.reviewboard.org/docs/manual/2.5/

2.安装RBTools

安装如下3个软件:

RBTools :ReviewBoard 命令行工具,用以客户端代码的RB管理

Diffutils:代码差异工具,用以生成diff文件

Subversion:SVN命令行客户端,用以提交diff文件到RB Server

设置环境变量:

C:\ProgramFiles (x86)\RBTools\bin;C:\Program Files (x86)\GnuWin32\bin;C:\Program Files(x86)\Subversion\bin

进入cmd命令行,切换到本地svn checkout目录,如D:\SVN\TiMDM,运行rbt setup-repo,生成.reviewboardrc:

REVIEWBOARD_URL = "http://192.168.1.2:8085/reviewboard/"

REPOSITORY = "test"

REPOSITORY_TYPE = "svn"

USERNAME = "user"

PASSWORD = "1"

PUBLISH = "yes"

首次提交,3502为svn版本号:

rbt post 3502

再次提交,-r为review_id:

rbt post -r 5

Rbtools官方文档:https://www.reviewboard.org/docs/rbtools/0.7/

转载于:https://blog.csdn.net/yoyo328/article/details/77822561

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值