﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-磨刀不误砍柴工-文章分类-Phabricator</title><link>http://www.blogjava.net/weiwei/category/53809.html</link><description>先行其言而后从之</description><language>zh-cn</language><lastBuildDate>Sun, 25 Aug 2013 07:28:43 GMT</lastBuildDate><pubDate>Sun, 25 Aug 2013 07:28:43 GMT</pubDate><ttl>60</ttl><item><title>Phabiractor设置-上传文件保存到文件夹</title><link>http://www.blogjava.net/weiwei/articles/403226.html</link><dc:creator>liwei5891</dc:creator><author>liwei5891</author><pubDate>Fri, 23 Aug 2013 03:08:00 GMT</pubDate><guid>http://www.blogjava.net/weiwei/articles/403226.html</guid><wfw:comment>http://www.blogjava.net/weiwei/comments/403226.html</wfw:comment><comments>http://www.blogjava.net/weiwei/articles/403226.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/weiwei/comments/commentRss/403226.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/weiwei/services/trackbacks/403226.html</trackback:ping><description><![CDATA[默认情况下是保存在mysql数据库中的<br /><br />管理员登陆后，打开配置页：<br />【ADMINISTRATION】-&gt; 【Config】-&gt;【Files】<br />将 配置项&nbsp;<a href="http://10.1.101.25/config/edit/storage.mysql-engine.max-size/" style="text-decoration: none; color: #18559d; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: bold; line-height: 16px; white-space: nowrap; background-color: #ffffff;">storage.mysql-engine.max-size</a>&nbsp;修改成 0，表示禁用MYSQL存储<br />将 配置项 <a href="http://10.1.101.25/config/edit/storage.local-disk.path/" style="text-decoration: none; color: #18559d; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: bold; line-height: 16px; white-space: nowrap; background-color: #ffffff;">storage.local-disk.path</a>&nbsp;指定为要保存文件的目录<br />配置项&nbsp;<a href="http://10.1.101.25/config/edit/storage.upload-size-limit/" style="text-decoration: none; color: #18559d; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: bold; line-height: 16px; white-space: nowrap; background-color: #ffffff;">storage.upload-size-limit</a>&nbsp;可修改上传文件大小的限制<br />保存配置即可<br /><br />在上传文件时，可能会报 无权限 写文件的问题<br />将指定的目录 执行 chmod 777 添加其它用户写权限即可<img src ="http://www.blogjava.net/weiwei/aggbug/403226.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/weiwei/" target="_blank">liwei5891</a> 2013-08-23 11:08 <a href="http://www.blogjava.net/weiwei/articles/403226.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Phabircator安装指南</title><link>http://www.blogjava.net/weiwei/articles/402664.html</link><dc:creator>liwei5891</dc:creator><author>liwei5891</author><pubDate>Sat, 10 Aug 2013 15:33:00 GMT</pubDate><guid>http://www.blogjava.net/weiwei/articles/402664.html</guid><wfw:comment>http://www.blogjava.net/weiwei/comments/402664.html</wfw:comment><comments>http://www.blogjava.net/weiwei/articles/402664.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/weiwei/comments/commentRss/402664.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/weiwei/services/trackbacks/402664.html</trackback:ping><description><![CDATA[<div>本文包含Phabircator的基本安装步骤以及如何运行和升级</div><div></div><div>1.安装依赖</div><div><span style="white-space: pre;">	</span>Phabricator是一个 LAMP应用(Linux+Apache+Mysql+Perl/PHP/Python),因此你的电脑上需要安装好LAMP</div><div></div><div><span style="white-space: pre;">	</span>Linux: 目前Phabricator可以运行在Mac OS X, Amazon Linux, Ubuntu, RHEL 和 CentOS。暂时不能在 Windows上运行。</div><div><span style="white-space: pre;">	</span>Apache：需要的版本是 Apache 2.2.7或更新的版本</div><div><span style="white-space: pre;">	</span>MySQL:</div><div><span style="white-space: pre;">	</span>PHP:需要的版本是 PHP5.2或更新版本</div><div></div><div>2.安装依赖的组件</div><div><span style="white-space: pre;">	</span>如果你要把Phabricator安装在Ubuntu或RedHat系列版本的Linux中，有两个现成的脚本可以帮助你完成大部分工作。</div><div><span style="white-space: pre;">	</span>RedHat 系列: http://www.phabricator.com/rsrc/install/install_rhel-derivs.sh</div><div><span style="white-space: pre;">	</span>Ubuntu: http://www.phabricator.com/rsrc/install/install_ubuntu.sh</div><div></div><div><span style="white-space: pre;">	</span>如果你正好是上面列出的两个脚本可以帮助到你，你可以直接跳过本章剩余的部分，直接转到《配置指南》了，上面列出的两个脚本也存在于应用的目录 scripts/install中。<span style="white-space: pre;">	</span></div><div><span style="white-space: pre;">	</span></div><div>3.更新Phabricator</div><div><span style="white-space: pre;">	</span>由于Phabricator的开发比较活跃，你应当经常更新Phabricator。更新步骤：</div><div><span style="white-space: pre;">	</span>停止web服务</div><div><span style="white-space: pre;">	</span>在目录 libphutil/, arcanist/ 和 phabricator/中运行命令： git pull</div><div><span style="white-space: pre;">	</span>运行命令：phabricator/bin/storage upgrade</div><div><span style="white-space: pre;">	</span>重新启动web服务</div><div></div><div><span style="white-space: pre;">	</span>提供了一个可用的自动更新脚本：http://www.phabricator.com/rsrc/install/update_phabricator.sh&nbsp;<br /><br />4.安装演示<br /><br />will@will-ThinkPad-X201:~/dev/tools/Phabricator$ pwd<div>/home/will/dev/tools/Phabricator</div><div>will@will-ThinkPad-X201:~/dev/tools/Phabricator$ wget http://www.phabricator.com/rsrc/install/install_ubuntu.sh</div><div>--2013-08-10 23:24:34-- &nbsp;http://www.phabricator.com/rsrc/install/install_ubuntu.sh</div><div>正在解析主机 www.phabricator.com (www.phabricator.com)... 50.18.110.231</div><div>正在连接 www.phabricator.com (www.phabricator.com)|50.18.110.231|:80... 已连接。</div><div>已发出 HTTP 请求，正在等待回应... 200 OK</div><div>长度： 2025 (2.0K) [application/octet-stream]</div><div>正在保存至: &#8220;install_ubuntu.sh&#8221;</div><div></div><div>100%[====================================================================================================&gt;] 2,025 &nbsp; &nbsp; &nbsp; --.-K/s &nbsp; 用时 0s &nbsp; &nbsp;</div><div></div><div>2013-08-10 23:24:35 (191 MB/s) - 已保存 &#8220;install_ubuntu.sh&#8221; [2025/2025])</div><div></div><div><div>will@will-ThinkPad-X201:~/dev/tools/Phabricator$ ls</div><div>install_ubuntu.sh</div><div>will@will-ThinkPad-X201:~/dev/tools/Phabricator$ chmod +x install_ubuntu.sh&nbsp;</div><div>will@will-ThinkPad-X201:~/dev/tools/Phabricator$ ./install_ubuntu.sh&nbsp;</div><div>PHABRICATOR UBUNTU INSTALL SCRIPT</div><div>This script will install Phabricator and all of its core dependencies.</div><div>Run it from the directory you want to install into.</div><div></div><div>Phabricator will be installed to: /home/will/dev/tools/Phabricator.</div><div>Press RETURN to continue, or ^C to cancel.</div><div></div><div>Testing sudo...</div><div>[sudo] password for will:&nbsp;</div><div>Installing dependencies: git, apache, mysql, php...</div><div></div><div>正在读取软件包列表... 完成</div><div>正在分析软件包的依赖关系树 &nbsp; &nbsp; &nbsp;&nbsp;</div><div>正在读取状态信息... 完成 &nbsp; &nbsp; &nbsp;&nbsp;</div><div>git 已经是最新的版本了。</div><div>php-apc 已经是最新的版本了。</div><div>apache2 已经是最新的版本了。</div><div>dpkg-dev 已经是最新的版本了。</div><div>mysql-server 已经是最新的版本了。</div><div>php5 已经是最新的版本了。</div><div>php5-cli 已经是最新的版本了。</div><div>php5-curl 已经是最新的版本了。</div><div>php5-dev 已经是最新的版本了。</div><div>php5-gd 已经是最新的版本了。</div><div>php5-mysql 已经是最新的版本了。</div><div>升级了 0 个软件包，新安装了 0 个软件包，要卸载 0 个软件包，有 90 个软件包未被升级。</div><div>Module rewrite already enabled</div><div>pcntl already installed</div><div>Cloning into 'libphutil'...</div><div>remote: Counting objects: 7136, done.</div><div>remote: Compressing objects: 100% (3727/3727), done.</div><div>ceiving objects: &nbsp;69% (4924/7136), 2.24 MiB | 28 KiB/s &nbsp;&nbsp;<br /><br />......</div></div><br /><br />其它知识点：<br /><span style="font-size: 16px; line-height: 1.8em; text-align: center; color: #333333; font-family: Arial, Helvetica, sans-serif;">1.修改php.ini 后是否需要重新启动apache或者服务器?<br /></span><div>在php是模块方式（需要）</div><div>cgi（不需要）</div><br /></div><img src ="http://www.blogjava.net/weiwei/aggbug/402664.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/weiwei/" target="_blank">liwei5891</a> 2013-08-10 23:33 <a href="http://www.blogjava.net/weiwei/articles/402664.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>