{"id":17854,"date":"2016-03-10T14:54:07","date_gmt":"2016-03-10T20:54:07","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=17854"},"modified":"2022-12-12T08:55:00","modified_gmt":"2022-12-12T14:55:00","slug":"how-to-install-projectsend-on-centos-6","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-projectsend-on-centos-6\/","title":{"rendered":"How to install ProjectSend on CentOS 6"},"content":{"rendered":"
Today we will show you how to install ProjectSend on a Centos 6 VPS<\/strong> using Apache web\u00a0server 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\u00a0in PHP\u00a0and uses a MySQL database to store the information. This guide should work on any RPM based Linux distribution,\u00a0but was tested and written for CentOS 6 VPS<\/a>. At the time of writing this tutorial, ProjectSend r582 is the latest version available and it requires:<\/p>\n Login to your server via SSH:<\/p>\n Update the OS packages\u00a0and install necessary packages:<\/p>\n Download and extract the ProjectSend archive to a directory on your server:<\/p>\n Create a new MySQL database for ProjectSend on your server:<\/p>\n Rename the ‘sys.config.sample.php’ file to ‘sys.config.php’:<\/p>\n Open the ProjectSend configuration file with your favorite text editor and change the MySQL database name, MySQL username and password with the ones you\u00a0used\u00a0at the time of the database creation:<\/p>\n 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:<\/p>\n Then, add the following lines at the end:<\/p>\n Restart the Apache web service for the changes to take effect.<\/p>\n 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:<\/p>\n <\/p>\n Fill in the following details:<\/p>\n Then, enter your personal details and login credentials: name, e-mail address, administrator username and password and click ‘Install’. For more information about ProjectSend, please refer to the ProjectSend<\/a> website.<\/p>\n Of course you don\u2019t have to do any of this if you use one of our CentOS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install ProjectSend<\/strong>\u00a0for you.They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" Today we will show you how to install ProjectSend on a Centos 6 VPS using Apache web\u00a0server and MySQL database. … <\/p>\n
\n<\/p>\n\n
Installation instructions:<\/h4>\n
ssh root@server_ip<\/pre>\n
sudo yum -y upgrade\r\nsudo yum install unzip wget<\/pre>\n
wget https:\/\/github.com\/ignacionelson\/ProjectSend\/archive\/master.zip\r\nunzip master.zip\r\nmv ProjectSend-master \/var\/www\/html\/projectsend<\/pre>\n
mysql -u root -p\r\nmysql> CREATE DATABASE projectsenddb;\r\nmysql> GRANT ALL PRIVILEGES ON projectsenddb.* TO 'projectsenduser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\n
cd \/var\/www\/html\/projectsend\/includes\r\nmv sys.config.sample.php sys.config.php<\/pre>\n
nano sys.config.php<\/pre>\n
\/** MySQL database name *\/\r\ndefine('DB_NAME', 'projectsenddb');\r\n\r\n\/** Database host (in most cases it's localhost) *\/\r\ndefine('DB_HOST', 'localhost');\r\n\r\n\/** MySQL username (must be assigned to the database) *\/\r\ndefine('DB_USER', 'projectsenduser');\r\n\r\n\/** MySQL password *\/\r\ndefine('DB_PASSWORD', 'your-password');<\/pre>\n
#NameVirtualHost *:80<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/projectsend\/\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\n<Directory \/var\/www\/html\/projectsend\/>\r\n Options Indexes FollowSymLinks MultiViews\r\n AllowOverride All\r\n Order allow,deny\r\n allow from all\r\n<\/Directory>\r\nErrorLog logs\/yourdomain.com-error_log\r\nCustomLog logs\/yourdomain.com-access_log common\r\n<\/VirtualHost>\r\n<\/pre>\n
service httpd restart<\/pre>\n
Sitename: It can be anything.(myproject.com)\r\nProjectSend URL: your domain name or IP address of the server.<\/pre>\n
\nThat 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.<\/p>\n