标题: 在linux下装dotproject [打印本页] 作者: junj2121 时间: 2008-12-22 15:26 标题: 在linux下装dotproject 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