Installing dotProject on Centos 5

Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

Installing dotProject on Centos 5

E-mail Print PDF

These are some basic notes that will be filled out over time.? In the mean time, these will help me remember what I have learned so far...? This is not a complete howto, but it's pretty close.


dotProject is a web-based project management system.? It is considered the best open source project management system available by many.? You can get it here.


  • Apache
  • PHP
  • MySQL?

Create a Database and Database User

On your Centos web server at the command line as root:

mysql -p??????? # skip the '-p' if the root user does not need a password

mysql> create database dotproject;

mysql> grant all privileges on dotproject.* to dotproject@"localhost" identified by 'yourpassword';

mysql> exit

This will create a database named 'dotproject' and a user also named 'dotproject' with a password of 'yourpassword'.? Adjust as desired.

Installing dotProject

On your Centos web server at the command line as root:

cd /var/www/html????? # web root


tar -xzvf ~/dotproject_2.1-rc2.tar.gz

chown -R root.root dotproject

chown apache.apache dotproject/includes/config.php

chown apache.apache dotproject/files

chown apache.apache dotproject/files/temp

chown apache.apache dotproject/locales/en

From a web browser, browse to the following URL:


You will be presented with the installer.?

Take some time to check all of the items and fix all anything needing fixing before clicking next.

Enter the database name, user name and password created above when prompted.

Securing dotProject

It is recommended to delete or rename the 'install' directory.

It is recommended to immediately change the admin password.

It is recommended to use SSL (encrypted) connections when accessing dotProject via the Internet.

You can force the use of SSL for all connections by adding something like this to the .htaccess file in your dotProject directory:

# Force SSL
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

You can also add lines like these to the .htaccess file to limit administrative access to certain IP addresses or address ranges:

# Limit access by IP address or range
  order deny,allow
  deny from all
  allow from

Using dotProject

Using a web browser, browse to:?

The default admin credentials are 'admin' and 'passwd'.? You should change the password immediately.?

Last Updated on Tuesday, 03 July 2012 15:32