How To Install DotProject

How To Install DotProject


DotProject is a project application used for multi-user project management and multilingual programming. It aims to provide the project manager with a web-based tool for managing tasks, schedules, communication and easy sharing.

Step 1: Update the system

# sudo yum update -y

Step 2: Install the web server, Apache

# sudo yum install httpd
# sudo systemctl start httpd.service
# sudo systemctl enable httpd.service

Step 3 : Remove Apache's default welcome page by commenting out the content of the file welcome.conf:

# sudo vi /etc/httpd/conf.d/welcome.conf

Use # to comment out every line.


# This configuration file enables the default “Welcome” page if there

# is no default index page present for the root URL. To disable the

# Welcome page, comment out all the lines below.


# NOTE: if this file is removed, it will be restored on upgrades.


#<LocationMatch “^/+$”>

# Options -Indexes

# ErrorDocument 403 /.noindex.html



# AllowOverride None

# Require all granted



#Alias /.noindex.html /usr/share/httpd/noindex/index.html

#Alias /noindex/css/bootstrap.min.css /usr/share/httpd/noindex/css/bootstrap.min.css

#Alias /noindex/css/open-sans.css /usr/share/httpd/noindex/css/open-sans.css

#Alias /images/apache_pb.gif /usr/share/httpd/noindex/images/apache_pb.gif

#Alias /images/poweredby.png /usr/share/httpd/noindex/images/poweredby.png

Save and quit:

Step 4 : Prevent Apache from displaying files in directories:

# sudo vi /etc/httpd/conf/httpd.conf


Options Indexes FollowSymLinks


Options FollowSymLinks

Save and quit:

Step 5 : You need to modify the firewall configuration

# sudo firewall-cmd --zone=public --permanent --add-service=http
# sudo firewall-cmd --reload

Step 6 : Install and setup MySQL

# sudo yum install mariadb mariadb-server
# sudo systemctl start mariadb.service
# sudo systemctl enable mariadb.service
# sudo /usr/bin/mysql_secure_installation

Finish the secure MySQL installation according to the instructions below:

Enter current password for root (enter for none): press the Enter key

Set root password? [Y/n]: Input Y, then press the Enter key

Set root password? [Y/n]: Input Y, then press the Enter key

Remove anonymous users? [Y/n]: Input Y, then press the Enter key

Disallow root login remotely? [Y/n]: Input Y, then press the Enter key

Remove test database and access to it? [Y/n]: Input Y, then press the Enter key

Reload privilege tables now? [Y/n]: Input Y, then press the Enter key

Step 7: Log into the MySQL shell to setup a database for dotProject

# sudo mysql -u root -p
$ CREATE DATABASE dotproject;
# CREATE USER 'dotprojectuser'@'localhost' IDENTIFIED BY 'yourpassword';
# GRANT ALL PRIVILEGES ON dotproject.* TO 'dotprojectuser'@'localhost';
# GRANT ALL PRIVILEGES ON dotproject.* TO 'dotprojectuser'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;

Step 8 : Install and configure PHP

# sudo yum install php php-gd php-mbstring php-mysqli php-curl php-ldap php-xsl php-xml php-cli php-pear

Step 9 : Modify PHP settings in the php.ini file

# sudo vi /etc/php.ini
Replace the line:
;date.timezone =
date.timezone = America/Los_Angeles
Replace the line:
session.auto_start = 0
session.auto_start = 1
Other settings in the file php.ini are already qualified, you can use the default values:
session.use_trans_sid = 0
memory_limit = 128M
Save and quit:

Step 10 : Restart the services

# sudo systemctl restart httpd mariadb

Step 11 : Download and extract the dotProject file.

# sudo # cd ~
# wget
# tar -zxvf dotproject-2.1.8.tar.gz

Step 12 : You need to change the owner and permissions for each involved file

# sudo chown -R apache: dotproject/
# sudo mv dotproject/ /var/www/html/

Step 13 : Now, visit your server from a web browser to finish the


1. click the button “Start Installation” on the top.

2.then click the button “install db & write cfg” on the right-hand side.

3.On the next screen, click “Login and Configure the dotProject System Environment”, then use the default credentials to log in:

Username: admin

Password: passwd


No responses yet

Leave a Reply

Your email address will not be published.

Latest Comments

No comments to show.