禅道安装
禅道环境安装过程
PS:禅道提供了一键安装包之外,如果之前的系统上没有安装过LAMP的环境,可以通过一键安装包来安装,我没有试过,也许很方便。
下面介绍源码安装禅道的过程,各系统都适用,我们是在Debian上安装的。就以Debian为例。
系统环境,阿里云的ECS云服务器,
配置: CPU: 2核 内存: 4096 MB 带宽:1Mbps
一、部署PHP, MySQL运行环境。
下面是禅道官网的安装说明
1. 禅道需要使用pdo, pdo_mysql, json, filter这几个模块。请大家确保PHP环境有加载这几个模块。
2. 推荐使用Linux + Apache + PHP + MySQL组合。Nginx其次,不推荐IIS + PHP组合。
3. 不推荐国内开发的那些WAMP集成运行环境。
4. Linux下面不推荐自己编译安装,好使用操作系统自带的包管理器安装PHP的运行环境。
我们的系统上已经安装过Apache,所以我们这次只安装Mysql和Php。
1.1 配置apt源
在实际操作的时候,不知道为什么,之前的apt源安装mysql报错,后来在网上重新找了个阿里云apt的源,下次如果还是阿里云的环境,可以做为参考使用,我把源贴出来:
root@hysvn:/usr/share/apache2# cat /etc/apt/sources.list
deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb http://php53.dotdeb.org stable all
root@hysvn:/usr/share/apache2# apt-get update -------更新源
1.2 安装mysql
apt-get install mysql-server mysql-client #安装mysql,根据提示输入y安装
安装过程中,会跳出输入root密码的界面
输入2次密码,继续自动安装


1.3 安装php
1、apt-get install php5 #安装php5,根据提示输入y安装
2、安装PHP组件,使PHP支持 MySQL
apt-get install php5-mysql php5-gd libjpeg8-dev php5-imap php5-ldap php5-odbc php*-pear php*-xml php5-xmlrpc php5-mcrypt php5-mhash libmcrypt* libmcrypt-dev php-fpdf filter php5-json
/etc/init.d/mysql restart #重启mysql
/etc/init.d/apache2 restart #重启apache2
二、下载禅道源代码
1. 从禅道官网下载禅道新版本的源代码,以.zip结尾。
2. 将其解压缩,得到zentaopms目录。拷贝到webserver对应的目录,比如Apache的www或者htdocs目录。
3.通过浏览器访问http://ip/zentaopms/www/index.php,系统会自动转入安装程序。
三、安装步骤






浙公网安备 33010602011771号