免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2033 | 回复: 0
打印 上一主题 下一主题

在linux下装dotproject [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-22 15:26 |只看该作者 |倒序浏览
How to install dotProject in Ubuntu 7.04 with gantt graphics chart support
We start with a Ubuntu LAMP server as a base, so make sure apache2, mysql and php are installed.
if in doubt or running a desktop version of ubuntu (possibly debian as well)
Code:sudo apt-get install mysql-server mysql-client php5we download dotProject from
http://sourceforge.net/projects/dotproject
move it to /var/www
and uncompress it there
if we don´t have unzip then run
Code:apt-get install unzip
if you want gantt graphs support
Code:sudo apt-get install libphp-jpgraph libgd-toolsNow we need to create a mysql user
Run the following command:
Code:mysqladmin -u root password ChooseApasswordand
Code:mysql -u root -p(where you enter the password you chose in the previous step)
now we need to make dotProject available to apache2 so:
Code:sudo chown www-data.www-data /var/www/dotproject -Rfand
Code:sudo chmod 755 /var/www/dotproject  -Rftime to edit php.ini to enable session autostart
Code:sudo vim /etc/php5/apache2/php.inifind:
Code:; Initialize session on request startup.
session.auto_start = 0and replace with:
Code:; Initialize session on request startup.
session.auto_start = 1
and finally we restart apache to enable these changes
Code:sudo /etc/init.d/apache2 restartat this point open a web browser (firefox or opera will do)
and enter
http://192.168.X.Y/dotproject/
where 192.168.X.Y is the ip address of the Ubuntu server that is going to host dotProject
follow the wizard there replacing the user user_dp with root and the password you chose earlier on.
That should be it!
login with admin and passwd

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/71415/showart_1734692.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP