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

QuadraNet: $5.81/month/512MB/15GB space/1TB traffic/KVM/Los Angeles

QuadraNet, the possibility of this running away i...

SlaskDatacenter: $16/month/8GB memory/1TB hard disk/10TB traffic/5 IP/Poland

SlaskDatacenter, a Polish hosting provider, has l...

Yandex 360: 1TB network disk, free domain name email, annual payment 90 yuan

Yandex 360 is a service launched by Yandex, featu...

CorgiTech 1GB RAM SSD Hard Drive VMware Japan Simple Review

Details: CorgiTech: $7/month/1GB RAM/30GB SSD/3TB...

.com Domain Deals

1. Godaddy Offers http://love8.org/7277.html 2. D...

What is a VPS

VPS (Virtual Private Server) technology is a high...

AlphaVPS: €8/year/128MB RAM/5GB SSD space/100GB bandwidth/KVM/Los Angeles/UK

AlphaVPS, an American hosting provider, was estab...