磨刀不誤砍柴工

          合抱之木,生于毫末;九層之臺,起于累土;千里之行,始于足下。

             ::  ::  ::  :: 管理
          本文包含Phabircator的基本安裝步驟以及如何運行和升級
          1.安裝依賴
          Phabricator是一個 LAMP應用(Linux+Apache+Mysql+Perl/PHP/Python),因此你的電腦上需要安裝好LAMP
          Linux: 目前Phabricator可以運行在Mac OS X, Amazon Linux, Ubuntu, RHEL 和 CentOS。暫時不能在 Windows上運行。
          Apache:需要的版本是 Apache 2.2.7或更新的版本
          MySQL:
          PHP:需要的版本是 PHP5.2或更新版本
          2.安裝依賴的組件
          如果你要把Phabricator安裝在Ubuntu或RedHat系列版本的Linux中,有兩個現成的腳本可以幫助你完成大部分工作。
          RedHat 系列: http://www.phabricator.com/rsrc/install/install_rhel-derivs.sh
          Ubuntu: http://www.phabricator.com/rsrc/install/install_ubuntu.sh
          如果你正好是上面列出的兩個腳本可以幫助到你,你可以直接跳過本章剩余的部分,直接轉到《配置指南》了,上面列出的兩個腳本也存在于應用的目錄 scripts/install中。
          3.更新Phabricator
          由于Phabricator的開發比較活躍,你應當經常更新Phabricator。更新步驟:
          停止web服務
          在目錄 libphutil/, arcanist/ 和 phabricator/中運行命令: git pull
          運行命令:phabricator/bin/storage upgrade
          重新啟動web服務
          提供了一個可用的自動更新腳本:http://www.phabricator.com/rsrc/install/update_phabricator.sh 

          4.安裝演示

          will@will-ThinkPad-X201:~/dev/tools/Phabricator$ pwd
          /home/will/dev/tools/Phabricator
          will@will-ThinkPad-X201:~/dev/tools/Phabricator$ wget http://www.phabricator.com/rsrc/install/install_ubuntu.sh
          --2013-08-10 23:24:34--  http://www.phabricator.com/rsrc/install/install_ubuntu.sh
          正在解析主機 www.phabricator.com (www.phabricator.com)... 50.18.110.231
          正在連接 www.phabricator.com (www.phabricator.com)|50.18.110.231|:80... 已連接。
          已發出 HTTP 請求,正在等待回應... 200 OK
          長度: 2025 (2.0K) [application/octet-stream]
          正在保存至: “install_ubuntu.sh”
          100%[====================================================================================================>] 2,025       --.-K/s   用時 0s    
          2013-08-10 23:24:35 (191 MB/s) - 已保存 “install_ubuntu.sh” [2025/2025])
          will@will-ThinkPad-X201:~/dev/tools/Phabricator$ ls
          install_ubuntu.sh
          will@will-ThinkPad-X201:~/dev/tools/Phabricator$ chmod +x install_ubuntu.sh 
          will@will-ThinkPad-X201:~/dev/tools/Phabricator$ ./install_ubuntu.sh 
          PHABRICATOR UBUNTU INSTALL SCRIPT
          This script will install Phabricator and all of its core dependencies.
          Run it from the directory you want to install into.
          Phabricator will be installed to: /home/will/dev/tools/Phabricator.
          Press RETURN to continue, or ^C to cancel.
          Testing sudo...
          [sudo] password for will: 
          Installing dependencies: git, apache, mysql, php...
          正在讀取軟件包列表... 完成
          正在分析軟件包的依賴關系樹       
          正在讀取狀態信息... 完成       
          git 已經是最新的版本了。
          php-apc 已經是最新的版本了。
          apache2 已經是最新的版本了。
          dpkg-dev 已經是最新的版本了。
          mysql-server 已經是最新的版本了。
          php5 已經是最新的版本了。
          php5-cli 已經是最新的版本了。
          php5-curl 已經是最新的版本了。
          php5-dev 已經是最新的版本了。
          php5-gd 已經是最新的版本了。
          php5-mysql 已經是最新的版本了。
          升級了 0 個軟件包,新安裝了 0 個軟件包,要卸載 0 個軟件包,有 90 個軟件包未被升級。
          Module rewrite already enabled
          pcntl already installed
          Cloning into 'libphutil'...
          remote: Counting objects: 7136, done.
          remote: Compressing objects: 100% (3727/3727), done.
          ceiving objects:  69% (4924/7136), 2.24 MiB | 28 KiB/s   

          ......


          其它知識點:
          1.修改php.ini 后是否需要重新啟動apache或者服務器?
          在php是模塊方式(需要)
          cgi(不需要)

          posted on 2013-08-10 23:33 liwei5891 閱讀(480) 評論(0)  編輯  收藏 所屬分類: Phabricator

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 宣汉县| 永泰县| 丹巴县| 汉阴县| 山东省| 资兴市| 噶尔县| 曲麻莱县| 吴忠市| 龙井市| 饶阳县| 平武县| 崇仁县| 石林| 自治县| 浑源县| 宁陕县| 舞钢市| 都江堰市| 华安县| 罗江县| 乐亭县| 黄石市| 达州市| 长子县| 白城市| 新干县| 桓台县| 忻城县| 新龙县| 民乐县| 盐池县| 天峻县| 白水县| 申扎县| 古蔺县| 宁化县| 赤峰市| 阜新| 江永县| 泰宁县|