CentOS 7 Projectsend How to set up file sharing tools

Source: Internet
Author: User
Tags web hosting

Projectsend is a Open Source Web file and image sharing tool for professionals that solve the issue of sharing files BETW Een a company and its clients. Projectsend provides an easy and secure multi-file uploading and unlimited file size on any server! Even on common hostings shared accounts. It is basically a clients-oriented file uploading utility where the clients is created and assigned a username and a pass Word. Then you can upload as much files as your want under each account, with the ability-add a title and description to each One. When the client is logs in, you'll see a Web page that contains your company logo, and a sortable list of every file upload Ed under your name, with description, time, date, etc. It also works as a history of "sent" files. You can check the differences between versions, the time of it took to does, and so on. Additional benefits of using projectsend include saving hundreds of MB. On email accounts since every file remains on your server until yoU decide to delete it, and they can is accessed from any browser anywhere.

Let's follow the instructions to install and use Projectsend on CentOS 7 server with LAMP stack.

1) System Update

Connect to your Linux CentOS 7 server using your root user credentials and after setting up the fully qualified domain Nam E of your server, run the following command to update/upgrade your server with updates, security patches and latest kernel Release.

# Yum-y Upgrade

2) LAMP Setup

Now you have a updated system ready for the installation of required packages for Projectsend application setup. You need to setup the LAMP (Linux Apache MySQL PHP) stack as a prerequisite of projectsend.

Installing Apache
Run the following command to install Apache WEB Server on CentOS 7.

# yum Install httpd OpenSSL mod_ssl

Once installed, start its services and enable it to start at boot.

# Systemctl Start httpd

# Systemctl Enable httpd

You can verify by opening your favorite Web browser and entering the IP address of your server in the URL, you should get A "testing 123″page.

Installing MYSQL-MARIADB

MariaDB is a replacement for MySQL, that's a robust, scalable and reliable SQL server that comes rich set of enhancements . We'll be using the ' Yum ' command to install MariaDB as shown.

# yum Install mariadb Mariadb-server

To start and enable MariaDB active services on your system run the following commands.

# Systemctl Enable MARIADB
# Systemctl Start mariadb

By default, MariaDB are not hardened. You can secure MariaDB using the ' mysql_secure_installation ' script by choosing the appropriate options as shown.

# mysql_secure_installation

/usr/bin/mysql_secure_installation:line 379:find_mysql_client:command not found

Note:running all PARTS of this SCRIPT are RECOMMENDED for all MariaDB
SERVERS in PRODUCTION use! Please READ each STEP carefully!

In order to log into MariaDB to secure it, we'll need the current
Password for the root user. If you ' ve just installed MariaDB, and
You haven ' t set the root password yet, the password would be blank,
So, should just press ENTER here.

Enter current password to root (enter for none):
OK, successfully used password, moving on ...

Installing PHP and its Modules

Run the command below to install PHP along with its necessary modules required for Prejectsend on CentOS 7.

]# Yum install php php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-mcrypt

3) Installing Projectsend

After completing the LAMP installation setup, now we is moving towards the installation of Projectsend application on OU R CentOS 7 Server. To download it package go to theprojectsend download Page.

You can also get their packages using ' wget ' utility command on your server and then extract it with ' unzip ' command. Make sure, which has ' wget ' and ' Unzip ' package installed on your server to run below commands.

# wget Https://github.com/ignacionelson/ProjectSend/archive/master.zip

# Unzip Master.zip

Now move the Projectsend archive to the document root directory of your Web server using below command.

# MV projectsend-master//var/www/html/projectsend

The ownership of ' Projectsend ' folder with Apache using command below.

# chown Apache:-r/var/www/html/projectsend

4) Setup DB for Projectsend

In this step we is going to log on to the MariaDB console and create a database for the Projectsend by running the follow ing commands and providing the root user credentials that we had setup earlier.

# mysql-u Root-p

> CREATE DATABASE PSDB;
> Grant all privileges the psdb.* to ' psuser ' @ ' localhost ' identified by ' password ' with GRANT OPTION;
> FLUSH privileges;
> exit;

5) Projectsend Configurations

In order to configure your projectsend configurations, you need to rename the ' sys.config.sample.php ' file to ' Sys.config. PHP ' into the following directory with ' MV ' command. Then open the your editor to configure its parameters.

# Cd/var/www/html/projectsend/includes

# MV Sys.config.sample.php sys.config.php

# VI sys.config.php

The configurations to match your database settings and the close file after saving changes.

/**
* Enter Your database connection information here
* If you have doubts on this values, consult your web hosting provider.
*/

/** MySQL Database name */
Define (' db_name ', ' database ');

/** Database Host (in the most cases it ' s localhost) */
Define (' db_host ', ' localhost ');

/** MySQL username (must is assigned to the database) */
Define (' Db_user ', ' username ');

/** MySQL Password */
Define (' Db_password ', ' PASSWORD ');

/**
* Prefix for the tables. Set to something and than tbl_ for increased
* Security ONR in case you want more than 1 installations on the same database.
*/
Define (' Tables_prefix ', ' tbl_ ');

/*

6) Apache WebServer configurations

Configure your default configuration file of Apache Web server according to your current document root directory where do you The placed it setup by opening the file in your editor.

# vim/etc/httpd/conf/httpd.conf

DocumentRoot "/var/www/html/projectsend"
# Relax access to content within/var/www.
<directory "/var/www/html" >
AllowOverride None
# Allow open access:
Require all granted

# Further relax access to the default document root:
<directory "/var/www/html/projectsend" >

Save and close the file and restart your Apache and MariaDB services with below commands.

# systemctl Restart httpd
# systemctl Restart MARIADB

7) Firewall and SELinux

Our installation is almost do, now before accessing the projectsend of the Web browser make Usre to allow the respective Services/ports allowed in your firewall. Let's run the following commands to open below ports in firewall of your system.

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

Change the SELinux state to Permissive mode for th time being with following command later on you can configure its policy if required.

# Setenforce 0

8) Projectsend Web Access

Now it time open your Web browser ans access the Web console of projectsend using your FQDN or Server ' s IP address on Def Ault Port ' 80 '.

http://your_servers_ip/

Configure the Basic system and default system administration options, then click on the Install button to proceed.

Once, everything is fine you'll get the below window to congratulate upon successful installation of Projectsend.

9) Using Projectsend

After basic system settings of Projectsend Web, let login using your admin username and password to start using Projectsen d File sharing application.

Welcome to the Projectsend dashboard, where can see the stats about all of the your file and images.

Now, in order start uploading your files and share with your clients, fisrt you need to add your client and then click on The File bar and choose the ' Upload button from the drop-to-add add and then upload your files.

After uploading your files, you can choose the particular client to whom your want to share. To check the status and manage your uploaded files click on the ' Manage Files ' option under the Files bar as shown below.

Conclusion

Thank for reading this post and let's start using it to enjoy the awesome features of Projectsend.you can create new users As many want, upload files, create groups etc from this Dashboard. Hope You has enjoyed this, don ' t forget to share your comments and suggestions.

CentOS 7 Projectsend How to set up file sharing tools

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.