在ubuntu下安装配置phabricator
来源:互联网 发布:淘宝用户需求分析 编辑:程序博客网 时间:2024/06/08 18:27
在ubuntu下安装配置phabricator
Phabricator 是一个LAMP应用套件, 因此最基本的要求就是LAMP环境:
• Linux:Linux的不同发行版及变种是必需的。Mac OS X是一个可接受的Linux变种,Windows不是。Phabricator不能安装在Windows系统上。在Mac OS X,Amazon Linux,Ubuntu,RHEL和CentOS上运行的 Phabricator 有活跃的贡献者。此处为ubuntu16
• Apache(或nginx,或lighttpd):需要Apache 2.2.7以上版本。
• MySQL:MySQL必需
• PHP:需要PHP5.2以上版本
- 1、下载phabricator,以及相应的工具包
从https://secure.phabricator.com/book/phabricator/article/installation_guide/
下载install-ubuntu.sh(其中已经包括了所有phabricator所需的运行环境) - 2、安装前的准备工作
apt-get update #升级apt-get
Sudo add-apt-repository ppa:ondrej/php #ubuntu16下没有php5的包,需要先导入php源
apt-get install git #下载git
将install_ubuntu放在/opt/project下,并给予执行权限
Chmod a+x ./install_ubuntu.sh./install_ubuntu.sh
下载完成后在/opt/project文件夹下生成三个子文件夹
- 3、配置apache
修改/etc/apache2/site-enabled下的000-default.conf
<VirtualHost *:80># Change this to the domain which points to your host.ServerName phabricator.my.com# Change this to the path where you put 'phabricator' when you checked it# out from GitHub when following the Installation Guide.## Make sure you include "/webroot" at the end!DocumentRoot /opt/project/phabricator/webroot #your project dirRewriteEngine onRewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]RewriteRule ^/rsrc/(.*) - [L,QSA]RewriteRule ^/favicon.ico - [L,QSA]# If Apache isn't currently configured to serve documents out of the# directory where you put Phabricator, you may also need to add# <Directory /> section. <Directory /opt/project/phabricator/webroot> #your project dir Options Indexes FollowSymLinks Includes ExecCGI AllowOverride None Require all granted</Directory>ErrorLog ${APACHE_LOG_DIR}/error.logCustomLog ${APACHE_LOG_DIR}/access.log combined</VirtualHost>
启动apache2.7
a2enmod rewrite #开放rewrite/etc/inii.d/apache2 start #启动apache2
访问http://127.0.0.1
按提示,切到Phabricator的安装目录,设置数据库配置
./bin/config set mysql.host localhost./bin/config set my.port 3306./bin/comfig set my.user root./bin/config ser my.pass passwd
如果嫌弃这样太麻烦,也可以直接编辑phabricator/conf/local/local.json
{ "mysql.host": "192.168.106.133", "mysql.pass": "bbkb_dev", "mysql.user": "root", "mysql.port": "3306" }
配置完成后执行
./bin/storage upgrade
生成数据库后刷新http://127.0.0.1便能进入首页
阅读全文
0 0
- 在ubuntu下安装配置phabricator
- CentOS下安装配置Phabricator
- ubuntu系统上phabricator安装与配置
- Phabricator安装(Ubuntu)
- ubuntu 14.04 安装 Phabricator
- Phabricator安装与配置
- 代码review工具phabricator在win7下的安装使用
- 在Ubuntu下安装、配置Ubuntu nfs
- Ubuntu下Phabricator的Arcnist环境
- Phabricator安装配置填坑总结
- Phabricator配置
- phabricator安装
- phabricator安装
- 在ubuntu下安装配置使用Subversion
- 在ubuntu下nfs服务安装配置
- 在ubuntu下安装配置ftp服务器
- 在Ubuntu 11.04下安装配置JDK
- hadoop在ubuntu下的安装配置
- 数组(1)
- Bentley.Hammer.XM.v08.09.400.34 1CD(水锤和瞬态分析软件)好用版\
- SVN不小心删除了服务器上的文件夹解决办法
- 持续集成之③:将代码自动部署至测试环境
- java3
- 在ubuntu下安装配置phabricator
- java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
- [源码]Elasticsearch源码5(2.x插件开发)
- 前端网址分享
- 闭包
- iosApp提交到Appstore注意事项
- ReactOS:基于Windows的开源操作系统
- 持续集成之④:GitLab触发jenkins构建项目
- POJ 3294 后缀数组