Menu

Install ProjectSend on CentOS

ProjectSend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself! Secure, private and easy. No more depending on external services or e-mail to send those files!
ProjectSend is made in php and uses a MySQL database to store the information. Please see that your server has at least php 5.2 and MySQL 5 or better to run the software. Apache 2 is recommended but PS should also work on IIS.
Installation instructions:
Login to your server via SSH:
ssh root@server_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> FLUSH PRIVILEGES;
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
Then, add the following lines at the end:
<VirtualHost *:80>
ServerAdmin admin@yourdomain.com
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
</Directory>
ErrorLog logs/yourdomain.com-error_log
CustomLog logs/yourdomain.com-access_log common
</VirtualHost>
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 website.

About Author:


I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Next
Newer Post
Previous
Older Post

0 comments:

Post a Comment

 
Top