标签:安装禅道cms
禅道CMS安装配置
- 参考页面
* 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安装即可
标签:安装禅道cms
原文地址:http://987146971.blog.51cto.com/5230841/1585848