• 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)RBToolsin;C:Program Files (x86)GnuWin32in;C:Program Files(x86)Subversionin

    进入cmd命令行,切换到本地svn checkout目录,如D:SVNTiMDM,运行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

  • 相关阅读:
    大数据DDos检测——DDos攻击本质上是时间序列数据,t+1时刻的数据特点和t时刻强相关,因此用HMM或者CRF来做检测是必然! 和一个句子的分词算法CRF没有区别!
    什么是私有密钥密码技术——密钥加密算法采用同一把密钥进行加密和解密
    条件随机场——时间序列(句子单词序列也算),其特征函数必须要考虑前一刻的数据
    隐形马尔可夫模型——前向算法就是条件概率
    MySQL添加字段和修改字段的方法
    shell脚本操作mysql数据库
    mysql 如何修改、添加、删除表主键
    shell按行合并文件
    MySQL主键添加/删除
    MySQL 添加列,修改列,删除列
  • 原文地址:https://www.cnblogs.com/it-deepinmind/p/14384719.html
Copyright © 2020-2023  润新知