1.clone Phabricator项目文件

$ cd somewhere/ # pick some install directorysomewhere/ $ git clone https://github.com/phacility/libphutil.gitsomewhere/ $ git clone https://github.com/phacility/arcanist.gitsomewhere/ $ git clone https://github.com/phacility/phabricator.githttps://phabricator.webfuns.net/book/phabricator/article/installation_guide/

2.安装 MySQL

2.1 设置 phabricator 连接 MySQLphabricator/ $ /data/pha/phabricator/bin/config set mysql.host __host__phabricator/ $ /data/pha/phabricator/bin/config set mysql.user __username__phabricator/ $ /data/pha/phabricator/bin/config set mysql.pass __password__./bin/storage upgrade // 升级

https://phabricator.webfuns.net/book/phabricator/article/configuration_guide/

3.安装 Nginx

设置下phabricator的url:/data/pha/phabricator/bin/config set phabricator.base-uri 'http://phabricator.local'

https://phabricator.webfuns.net/book/phabricator/article/configuration_guide/

4.安装 PHP

5.浏览器应该可以访问Phabricator, 作为第一个访问用户,可创建管理员账号

6.配置邮件

 ./config set metamta.default-address 184200157@qq.com./config set metamta.domain wwdddd.com./config set metamta.can-send-as-user false./config set metamta.mail-adapter PhabricatorMailImplementationPHPMailerAdapter  ./config set phpmailer.mailer smtp./config set phpmailer.smtp-host smtp.qq.com./config set phpmailer.smtp-port 465./config set phpmailer.smtp-user 184200157@qq.com./config set phpmailer.smtp-password xxx./config set phpmailer.smtp-protocol SSL// 测试是否发送成功./bin/mail send-test --to jianhua.wei@langlive.com --subject hello < README.md

账号管理:
https://phabricator.webfuns.net/book/phabricator/article/configuring_accounts_and_registration/

{"phpmailer.smtp-password": "xxx","phpmailer.smtp-user": "sonic.guo@xxx.com","phpmailer.smtp-port": 465,"phpmailer.smtp-protocol": "ssl","phpmailer.smtp-host": "smtp.exmail.qq.com","phpmailer.mailer": "smtp","metamta.mail-adapter": "PhabricatorMailImplementationPHPMailerAdapter","diffusion.ssh-port": 2222,"diffusion.ssh-user": "git","phd.user": "daemon-user","metamta.can-send-as-user": false,"metamta.domain": "aaabbb.com","metamta.default-address": "shijie@xxx.com","repository.default-local-path": "/data/repo","phabricator.base-uri": "http://phabricator.aaabbb.com/","mysql.pass": "","mysql.user": "root","mysql.host": "127.0.0.1","storage.local-disk.path": "/data/phabricator/storage"
}

7.配置和自启动守护进程

Phabricator 通过后台进程发送邮件,所以需要先启动后台进程。 如果没有启动会有警告信息。关于使用后台进程的信息, 请参阅 用 phd 管理后台进程。http://url.../daemon  // 可以查看正在跑的 daemon 程序7.1 创建phd用户sudo adduser phd --home /home/phd7.2 使phd用户不可远程登录:sudo usermod -p NP phd7,3 创建和启动phd自启动服务创建systemd service文件/tmp/service.file[Unit]Description=phabricator-phdAfter=syslog.target network.target mysql.serviceBefore=nginx.service[Service]Type=oneshotUser=phdGroup=phdEnviroment="PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin"ExecStart=/var/www/pha/phabricator/bin/phd startExecStop=/var/www/pha/phabricator/bin/phd stopRemainAfterExit=yes[Install]WantedBy=multi-user.target将服务加入到systemd目录:sudo cp /tmp/service.file /lib/systemd/system/phabricator-phd.service使phabricator-phd.service可用:sudo systemctl enable phabricator-phd.service启动phabricator-phd.service服务:sudo systemctl start phabricator-phd如没有报错,访问:http://p.mydomain.com/daemon/ 可以看到Active Daemons不为空了。将phd用户设置为phd.user:sudo ./bin/config set phd.user phd注:其他用户如需操作git命令,需要sudo为phd用户,上面的设置就是告诉它们需要sudo的用户名。phd用户将守护进程跑起来后,就可以创建新用户了。通过管理员账号,选择people,添加standard用户。会收到邀请邮件,如果phd和邮箱配置都没问题的话。用这个standard用户登录,并上传public key,后面要用到。

8.配置SSH Git托管

1.准备工作将当前SSH服务转移到2222端口,将来运行的Git SSH服务使用22端口。这是多次配置后,觉得后续比较方便的做法。否则,Git用户都要自定义端口,给开发/部署带来不必要的麻烦。修改文件:sudo vim /etc/ssh/sshd_config将Port改为2222后重启ssh服务:sudo service ssh restart用2222端口ssh重新登录服务器:2.创建git用户sudo adduser git禁止登录:sudo usermod -p NP git设置git可以sudo为phd,修改/etc/sudoers,加入:git ALL=(phd) SETENV: NOPASSWD: /usr/bin/git-upload-pack, /usr/bin/git-receive-pack

https://www.jianshu.com/p/d7630e1fe4f9

https://phabricator.webfuns.net/book/phabricator/article/configuration_guide/

https://phabricator.webfuns.net/book/phabricator/article/diffusion_hosting/
https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/
https://phabricator.webfuns.net/book/phabricator/article/configuring_outbound_email/

21.Phabricator 安装相关推荐

  1. win10 mysql 5.7.21_MySql 5.7.21免安装版本win10下的配置方法

    1.解压到想要安装的位置,创建my.ini文件 my.ini的内容如下 [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] #设 ...

  2. mysql5.7.20非安装版_mysql5.7.20\5.7.21免安装版安装配置教程

    mysql 下载安装配置 5.7.20 / 5.7.21,供大家参考,具体内容如下 1.下载mysql,下载地址 选择操作系统和版本,我是64位win10,点击 Download 后会跳到Oracle ...

  3. phoenix 3.1 + hbase 0.94.21 的安装和使用

    Apache Phoenix 是 HBase 的 SQL 驱动.Phoenix 使得 HBase 支持通过 JDBC 的方式进行访问,并将你的 SQL 查询转成 HBase 的扫描和相应的动作. 兼容 ...

  4. 5.7.21mysql数据库_【数据库】mysql5.7.21 winx64安装配置图文分享

    本文主要为大家详细介绍了mysql 5.7.21 winx64安装配置方法图文教程,具有一定的参考价值,感兴趣的小伙伴们可以参考一下,希望能帮助到大家. 1.将下载好的mysql压缩包解压到安装目录下 ...

  5. mysql 5.5免安装配置_mysql的参考文档mysql5.5.21免安装版的配置方法

    mysql的5.5版本(与5.1版本有所区别)中my.ini文件的内容. 在mysql根目录里新建my.ini文件,用阅读器打开(加入如下内容) [client] #password = your_p ...

  6. 新版mysql的下载教程_Mysql最新版8.0.21下载安装配置教程详解

    一.下载 1.下载安装包 mysql下载路径:https://dev.mysql.com/downloads/file/?id=496745 2.解压压缩包 解压到安装的目录: 3.在此目录下新建my ...

  7. mysql 5.7.21 winx64_mysql5.7.21 winx64安装配置图文分享

    本文主要为大家详细介绍了mysql 5.7.21 winx64安装配置方法图文教程,具有一定的参考价值,感兴趣的小伙伴们可以参考一下,希望能帮助到大家. 1.将下载好的mysql压缩包解压到安装目录下 ...

  8. C4D 21版 安装好一打开就闪退,查了好久

    C4D 21版 安装好一打开就闪退,查了好久,后面发现很多人说处理防火墙,入站规则出站规则,后面发现是联网问题 断网能用的好好的,联网闪退 查到最好用的办法:删除c4d安装目录下corelibs/ne ...

  9. ubuntu 21.04安装教程

    ubuntu 21.04安装教程 制作启动U盘*(虚拟机安装此步省略)* U盘刻录工具 balenaEtcher 开始安装 选择语言 选择键盘布局 网络设置 代理设置 源设置 源设置为国内源,这里设置 ...

  10. mysql5.7.20非安装版_mysql 5.7.20\5.7.21 免安装版安装配置教程

    mysql 下载安装配置 5.7.20 / 5.7.21,供大家参考,具体内容如下 1.下载mysql,下载地址 选择操作系统和版本,我是64位win10,点击 Download 后会跳到Oracle ...

最新文章

  1. 2017 人工智能+内容生产研究报告【附下载】
  2. *45.程序的装入方式
  3. android网络请求回调管理,Android HTTP网络请求的异步实现
  4. Java知识点梳理——继承
  5. 单片机小白学步系列(十) 单片机程序下载相关知识
  6. linux仿真速度快吗,Linux上安装使用最快的GPU加速的终端仿真器Alacritty
  7. 解决vuex中store保存数据,刷新页面会清空得问题
  8. 联手友盟+打造云上数据增长“样板间”, 好兔视频成功逆势突围
  9. (计算机组成原理)第七章输入和输出系统-第一节:I/O系统基本概念和I/O控制方式简介
  10. 2019年7月全国程序员工资统计
  11. 为什么说“大公司的技术顽疾根本挽救不了”?
  12. 远程桌面/远程登陆中强行登陆(他人退出)与切换回话(登陆后切换到上次别的登陆)3389...
  13. OpenCV项目实战
  14. 智能家居系统设计(裸机stm32/μCOS-III)
  15. css动画:多个行星围绕中心恒星旋转
  16. Android的holder机制
  17. linux MySQL操作
  18. 【2022年法定工作日,周末,节假日类型使用Java存入sql】
  19. 如何在SQL Server 2005中修复损坏的数据库
  20. php java sha1_PHP 种的 SHA1WithRSA

热门文章

  1. Codeforces Good bye 2015 B. New Year and Old Property dfs 数位DP
  2. 解决ubuntu10.04不能上网
  3. 视图查询sql_视图 索引
  4. Spring MVC + freemarker实现半自动静态化
  5. IE6下PNG背景透明的七种方法
  6. 普通摄像头游戏——空中飞车
  7. Sql 语句里 As后的竟然可以和前边的字段重名
  8. 我整理了2019年全套资料!
  9. [PHP开发必备] -- 小巧强悍的MYSQL-Front中文版使用教程,附最新版下载地址
  10. 【E2EL5】A Year in Computer Vision中关于图像增强系列部分