centos6/7安裝禪道項目管理系統

編者按:由於公司現有的禪道系統爲8.1.3,且準備從本地機房遷移至阿里雲ECS,故有本操作文檔記錄,用來記錄禪道系統的安裝升級等操作。

一、centos6.x基於禪道源碼進行安裝

1.基礎環境準備
        安裝Apache和PHP插件:
         `yum install httpd-* php-common php-odbc php-gd php-pear php-cli php-pdo php-imap php-mysql php-mbstring php-xml php-ldap php php-bcmath php-xmlrpc`
        安裝Mysql數據庫
        `yum install mysql mysql-server mysql-libs mysql-devel mysql-bench mysql-embedded`
        數據庫初始化操作: 
                    mysql_install_db --user=mysql
                    service mysqld start
                    /usr/bin/mysqladmin -u root password '123456'
2. 源碼安裝
        下載源碼文件:cd /opt/ && wget https://ncu.dl.sourceforge.net/project/zentao/9.7/ZenTaoPMS.9.7.stable.zip
       解壓源碼包:unzip -o ZenTaoPMS.9.7.stable.zip
         配置http配置文件:
             第 95 行配置: ServerName xxx.apicloud-system.com:80
             第 119 行配置: DocumentRoot "/opt/zentao/www"
             第 131 行配置: <Directory "/opt/zentao/www">
        啓動httpd:service httpd start
        web訪問:http://ip/install.php 根據提示進行操作安裝

二、centos7.x基於禪道源碼進行安裝

    1.基礎環境準備
            LAMP:`yum -y install httpd-* php-common php-odbc php-gd php-pear php-cli php-pdo php-imap php-mysql php-mbstring php-xml php-ldap php php-bcmath php-xmlrpc mysql-community* --skip-broken` 
    2. 源碼安裝
        下載源碼文件:cd /opt/ && wget https://ncu.dl.sourceforge.net/project/zentao/9.7/ZenTaoPMS.9.7.stable.zip
       解壓源碼包:unzip -o ZenTaoPMS.9.7.stable.zip
         配置http配置文件:
             第 95 行配置: ServerName xxx.apicloud-system.com:80
             第 119 行配置: DocumentRoot "/opt/zentao/www"
             第 131 行配置: <Directory "/opt/zentao/www">
        啓動httpd:service httpd start
        web訪問:http://ip/install.php 根據提示進行操作安裝

安裝步驟:
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統

三 、 升級

        將8.1.3版本/opt/zentao/www/data/下面的數據拷貝到9.7版本對應目錄,將9.7版本源碼包中的upgrade.php拷貝到對應目錄,
        使用mysqldump -uroot -p zentao > zentao.sql導出源數據庫中表結構和數據,在新服務器系統上執行mysql -uroot -p zentao < /opt/zentao.sql
        web訪問:http://ip/upgrade.php 根據提示進行升級安裝

升級步驟:
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統
centos6/7安裝禪道項目管理系統

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章