Chinaunix首页 | 论坛 | 博客
  • 博客访问: 143870
  • 博文数量: 24
  • 博客积分: 1494
  • 博客等级: 上尉
  • 技术积分: 201
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-13 16:57
文章存档

2011年(2)

2010年(7)

2009年(2)

2008年(13)

我的朋友

分类:

2008-12-22 15:26:12

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 php5
we download dotProject from



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-tools
Now we need to create a mysql user

Run the following command:

Code:
mysqladmin -u root password ChooseApassword
and

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 -Rf
and

Code:
sudo chmod 755 /var/www/dotproject  -Rf
time to edit php.ini to enable session autostart

Code:
sudo vim /etc/php5/apache2/php.ini
find:
Code:
; Initialize session on request startup.
session.auto_start = 0
and 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 restart
at this point open a web browser (firefox or opera will do)

and enter



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
阅读(1328) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~