安裝禪道CMS

禪道CMS安裝配置
php

  - 參考頁面
  *  http://www.zentao.net/help-read-79599.html
  *  http://www.zentao.net/help-read-78950.html
  *  http://www.zentao.net/help-read-79598.html
  *  http://jaist.dl.sourceforge.net/project/zentao/5.2.1/ZenTaoPMS.5.2.1.zip
----

  2 搭建LAMP環境
  * cd /data/soft
  * wget http://mirrors.sohu.com/apache/httpd-2.4.7.tar.gz
  * yum install -y apr-devel apr-util
  * tar xvf httpd-2.4.7.tar.gz
  * ./configure --prefix=/usr/local/apache2 --sysconfdir=/etc/httpd
  * make
  * make install

  3 由於在服務器中mysql數據庫已經安裝,因此省略.

  4 安裝php
  * wget http://mirrors.sohu.com/php/php-5.3.27.tar.gz
  * tar xvf php-5.3.27.tar.gz
  * ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache3/bin/apxs --with-mysql=/usr/local/mysql
  * make
  * make install

  5 配置apache
  * vim /etc/httpd/httpd.conf
  * 修改 DocumentRoot "/usr/local/apache2/htdocs/zen/www
  * 複製httpd到/etc/init.d/httpd
  * vim /etc/init.d/httpd
  * apachectl=/usr/local/apache2/bin/apachectl
  * httpd=${HTTPD-/usr/local/apache2/bin/httpd}
  * prog=httpd
  * pidfile=${PIDFILE-/var/local/apache2/logs/httpd.pid}
  * lockfile=${LOCKFILE-/var/lock/subsys/httpd}
  * RETVAL=0
  * STOP_TIMEOUT=${STOP_TIMEOUT-10}
  * 用service httpd start啓動
  *
  * 測試php
  * <?php
  * phpinfo();
  * ?>
  *
  * 測試是否可以鏈接到mysql
  * <?php
  * $link=mysql_connect(localhost,'root','');
  * if ($link)
  *  echo "Success";
  * else
  *  echo "Failure";
  * ?>
 
  6 安裝禪道CMS
  * wget http://jaist.dl.sourceforge.net/project/zentao/5.2.1/ZenTaoPMS.5.2.1.zip
  * unzip ZenTaoPMS.5.2.1.zip
  * cp ./ZenTaoPMS.5.2.1 /usr/local/apache2/htdocs/zen
  *
  * 用瀏覽器打開 http://10.6.8.214安裝便可html

相關文章
相關標籤/搜索