Saturday, August 13, 2011

Installing dotProject in Lubuntu

Documentation of my experience with dotProject starts here.

Installation steps

And a review of some basic Linux commands here.

And also a review of getting / setting permissions here.
Prerequisites:
1. A working Linux-Apache-MySQL-PHP machine


Move the downloaded file to the web server's root directory.
cd ~/Downloads
sudo mv dotproject-2.1.5.tar.gz /var/www

Unpack the file:
sudo tar -xzf dotproject-2.1.5.tar.gz

Delete the tar.gz file:
sudo rm dotproject-2.1.5.tar.gz

Now run the installer in the browser with this URL:
http://localhost/dotproject/install/

Then review the checklist and settle these to be resolved first:
./includes/config.php writable? - this should be writable
./files writable - this shouldn't be World Writable; come up with a more restrictive setting
./files/temp writable - this should be writable for PDF report generation
./locales/en writable - Translation files cannot be saved. Check /locales and subdirectories for permissions.

Check if we have the temp folder, and create if none:
cd /var/www/dotproject/files
mkdir temp
Then set the proper permissions:
cd /var/www/dotproject
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chown -R www-data:www-data /var/www/dotproject
(source link here)

Taking care of the PHP setting use_trans_sid:
sudo nano /etc/apache2/sites-available

And change that section AllowOverride None to AllowOverride All:
        
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All 
                Order allow,deny
                allow from all
        

But I still can't get this. Better study .htaccess tweaks here.

Create a new dp_user with password using phpmyadmin. Grant full access rights.
Then continue dotProject by clicking on the install button.










No comments:

Post a Comment