Skip to content

Instantly share code, notes, and snippets.

@wangwy
Created September 23, 2014 10:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wangwy/d03ccc4628a7ebf10a6d to your computer and use it in GitHub Desktop.
Save wangwy/d03ccc4628a7ebf10a6d to your computer and use it in GitHub Desktop.
安装禅道
第一步:搭建lamp环境
参考:https://gist.github.com/wangwy/39cf380b697ed55699a7
第二步:创建apache虚拟机
编辑/etc/apache2/site-available/000-default.conf
sudo vim /etc/apache2/site-available/000-default.conf
添加 <VirtualHost *:1986>
ServerName localhost
DocumentRoot /home/krx/zentaopms/www
</VirtualHost>
第三步:mysql创建zentao用户
root用户登录mysql
$ mysql --user=root --password
Enter password: root
创建zentao用户 密码为retech并为其授权
mysql> CREATE USER 'zentao'@'localhost' IDENTIFIED BY 'retech';
mysql> GRANT ALL PRIVILEGES ON * . * TO 'retech'@'localhost';
mysql> FLUSH PRIVILEGES;(使用户生效)
第四步:安装禅道(zentao)
下载zip包
http://sourceforge.net/projects/zentao/files/6.2/ZenTaoPMS.6.2.stable.zip/download
解压到/home/krx
unzip -d /home/krx
浏览器访问localhost跳到安装界面
参考: http://www.zentao.net/book/zentaopmshelp/101.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment