Installation of the multi-user network disk program Cloudreve

Installation of the multi-user network disk program Cloudreve

This article was successfully run on CentOS. Demo: https://pan.zhujiwiki.com

Cloudreve is an open source network disk system built on ThinkPHP. It can quickly connect to multiple cloud storages, supporting Qiniu, Youpai Cloud, Alibaba Cloud OSS, AWS S3, self-built remote servers, and local storage. Supports multiple users. The following is the installation process (all completed under SSH).

The most direct installation: download the source code from the official website, create a new database, import mysql.sql, modify application/database_sample.php to application/database.php, and modify the database information.

1. Prerequisites
1. Install Composer

 curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer

2. Install curl, fileinfo, and gd extensions

3. Create a site

2. Install Cloudreve

 composer create-project hfo4/cloudreve:dev-master

Fill in the database name, database user name, database password, domain name, etc. according to the instructions.

The following prompt appears to indicate that the installation is complete

Congratulations! Cloudreve has been installed successfully.

3. Related settings
1. Directory permission settings
Set the permissions of runtime and public directories to 777

2. Pseudo-static
a. Nginx server:

 location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } }

b. The .htaccess in the Apache server directory has been configured with rewrite rules

c. Backend and default user and password Backend address: http://yourdomain/Admin
Initial username: [email protected]
Initial password: admin

Cloudreve official website: https://cloudreve.org/

via: https://github.com/HFO4/Cloudreve/wiki/%E5%AE%89%E8%A3%85%E8%AF%B4%E6%98%8E

<<:  Yisu Technology: 299 yuan/month/L5640/16GB memory/1TB hard drive/unlimited traffic/Los Angeles

>>:  Qovic: $49/month/E3-1240v2/32G memory/2TB hard drive/10TB traffic/New York

Recommend

VPSMate: Domestic, free Linux VPS panel

VPSMate is a Linux VPS control panel that can ins...

SpaceWeb: 4 EUR/year/2GB space/unlimited traffic/unlimited domain names/France

SpaceWeb, a French hosting company, was founded i...

Scaleway 2GB Memory French Cloud Server Review

Details: Scaleway: €2.99/month/4 cores/2GB RAM/50...

Aruba: €19/month/Dual Core/4GB memory/1TB space/Unlimited traffic/Italy

Aruba, which should belong to the same group as F...

namecheap: $9.88/year/20GB SSD/unlimited traffic/3 sites can be built/Phoenix

Namecheap, a well-known domain name registrar, la...