Sådan installeres ProjectSend på CentOS 6

ikonToday we will show you how to install ProjectSend on a Centos 6 VPS using Apache web server and MySQL database. ProjectSend is an open source file and image sharing application that allows you upload files and assign them to specific clients that you create yourself! ProjectSend is written in PHP and uses a MySQL database to store the information. This guide should work on any RPM based Linux distribution, but was tested and written for CentOS 6 VPS.

At the time of writing this tutorial, ProjectSend r582 is the latest version available and it requires:

  • SSH access
  • PHP (version 5.2 or later)
  • Apache webserver
  • MySQL installeret på din Linux VPS.


Login to your server via SSH:

ssh [Email protected]_IP

Update the OS packages and install necessary packages:

sudo yum -y upgrade
sudo yum install unzip wget

Download and extract the ProjectSend archive to a directory on your server:

wget https://github.com/ignacionelson/ProjectSend/archive/master.zip
unzip master.zip
mv ProjectSend-master /var/www/html/projectsend

Create a new MySQL database for ProjectSend on your server:

mysql -u root -p
mysql> CREATE DATABASE projectsenddb;
mysql> GRANT ALL PRIVILEGES ON projectsenddb.* TO 'projectsenduser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
mysql> quit

Rename the ‘sys.config.sample.php’ file to ‘sys.config.php’:

cd /var/www/html/projectsend/includes
mv sys.config.sample.php sys.config.php

Open the ProjectSend configuration file with your favorite text editor and change the MySQL database name, MySQL username and password with the ones you used at the time of the database creation:

nano sys.config.php
/** MySQL database name */
define('DB_NAME', 'projectsenddb');

/** Database host (in most cases it's localhost) */
define('DB_HOST', 'localhost');

/** MySQL username (must be assigned to the database) */
define('DB_USER', 'projectsenduser');

/** MySQL password */
define('DB_PASSWORD', 'your-password');

Create a new virtual host directive in Apache. For example, edit your Apache configuration file (/etc/httpd/conf/httpd.conf by default) and uncomment the following line:

#NameVirtualHost *: 80

Tilføj derefter følgende linjer i slutningen:

<VirtualHost *: 80> ServerAdmin [Email protected]
DocumentRoot /var/www/html/projectsend/
ServerName yourdomain.com
ServerAlias www.yourdomain.com
<Directory /var/www/html/projectsend/>
 Options Indexes FollowSymLinks MultiViews
 AllowOverride All
 Order allow,deny
 allow from all
ErrorLog logs/yourdomain.com-error_log
CustomLog logs/yourdomain.com-access_log common

Restart the Apache web service for the changes to take effect.

service httpd restart

Open your favorite web browser, navigate to http://yourdomain.com/ and follow the easy instructions.You will be welcomed by the ProjectSend installation page like the one below:


Fill in the following details:

Sitename: It can be anything.(myproject.com)
ProjectSend URL: your domain name or IP address of the server.

Then, enter your personal details and log in credentials: name, e-mail address, administrator username and password and click ‘Install’.
That is it. The ProjectSend installation is now complete. Now you can log in and create new users, create groups, upload files from the ProjectSend dashboard.

For more information about ProjectSend, please refer to the ProjectSend internet side.

Giv en kommentar

Dette websted bruger Akismet til at reducere spam. Lær, hvordan dine kommentardata behandles.