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
(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