当前位置:网站首页>Cloudrev deploy your own public cloud disk (pagoda installation method)
Cloudrev deploy your own public cloud disk (pagoda installation method)
2022-07-25 02:09:00 【Sakura dimension】
Cloudreve
Cloudreve You can quickly build a public-private network disk system .Cloudreve Support different cloud storage platforms at the bottom , Users do not need to care about the physical storage mode in actual use . You can use Cloudreve Set up personal network disk 、 File sharing system , Or the public cloud system for large and small groups .
Connect with external cloud storage providers
Support the use of this machine 、 Slave 、 Seven cattle 、 Alibaba cloud OSS、 Tencent cloud COS、 Cloud again 、AWS S3、OneDrive As the storage side , Upload / download Both support client-side direct transmission , No server transfer .
Environmental requirements
- Running environment :Nginx/Apache
- PHP: No requirements
- database : not essential
- Process protector :Supervisor Manager
install
Use Tencent cloud lightweight cloud server to quickly generate pagoda panels , Convenient and quick .
Create site
The database can be used or not . Because the database is not necessary . After installation, you can choose whether to use the database in the configuration file .php It is also possible to choose static version . No special requirements .
Download deployment
Download zip , You can GitHub Release Get the main program that has been built and packaged . Each version provides the main program available under the common system architecture , The naming rule is cloudreve_ Version number _ operating system _CPU framework .tar.gz. such as , Ordinary 64 position Linux Deploy on the system 3.0.0 edition , You should download cloudreve_3.0.0_linux_amd64.tar.gz. Unzip it in the root directory of the website , It is usually a separate file (cloudreve)
Decompress the package , Put the program in the website directory
Deploy ssl certificate
Before that, it is suggested that ssl Apply for the certificate , Set up reverse proxy before , You have to close before applying for a certificate , More trouble , So apply for a certificate before deployment .
install Supervisor Manager
Turn on reverse proxy
The default is 5212 port .
Edit the reverse proxy configuration to make sure it is the same as mine
#PROXY-START/
ProxyRequests Off
SSLProxyEngine on
AllowEncodedSlashes NoDecode
ProxyPass "/" "http://127.0.0.1:5212/" nocanon
ProxyPassReverse / http://127.0.0.1:5212/
#PROXY-END/Get the initialization account password
Now visit the domain name .
Optional settings
Use MySQL
By default ,Cloudreve Will use the built-in SQLite database , And create database files in the same level directory cloudreve.db, If you want to use MySQL, Please add the following to the configuration file , And restart Cloudreve. Be careful ,Cloudreve Only greater than or equal to 5.7 Version of MySQL .
[Database]
; Database type , At present, we support sqlite/mysql/mssql/postgres
Type = mysql
; MySQL port
Port = 3306
; user name
User = root
; password
Password = root
; Database address
Host = 127.0.0.1
; Database name
Name = v3
; Data table prefix
TablePrefix = cd
; Character set
Charset = utf8After changing the database configuration ,Cloudreve The database will be reinitialized , The original data will be lost .
Use Redis
You can add... To the configuration file Redis Related settings :
[Redis]
Server = 127.0.0.1:6379
Password = your password
DB = 0Please for Cloudreve Specify a that is not used by other businesses DB, To avoid conflict .
common problem
After installation, the home page file 404
There is no reverse proxy like me , Check the reverse proxy configuration .
ssl Certificate problem
It is recommended to apply for a certificate before deploying the program , Otherwise, it will be difficult to apply for verification when adding a reverse proxy , If you are dns Validation can be ignored .
I forgot my password and Supervisor The manager also deleted the diary .
Delete cloudreve.db file , Run again Supervisor Manager can view the diary , Note that this method will delete database data . So please pay attention to some administrator account passwords .
边栏推荐
- A bit of knowledge - websites about scripts
- Create the first hbuilder project
- 6-10 vulnerability exploitation SMTP experimental environment construction
- [leetcode] 3. Longest substring without repeated characters - go language problem solution
- Open source demo | release of open source example of arcall applet
- Thinkphp5.0.24 deserialization chain analysis
- Cloud native platform, let edge applications play out!
- Open sharing of scientific data in the context of open science: the practice of the national Qinghai Tibet Plateau scientific data center
- "Nowadays, more than 99.9% of the code is garbage!"
- Example demonstration of "uncover the secrets of asp.net core 6 framework" [02]: application development based on routing, MVC and grpc
猜你喜欢

Peripherals: interrupt system of keys and CPU

Harbor installation

Research 280+ documents! The team of Tsinghua Huang Gao, the winner of CVPR best paper, proposed the first dynamic network overview to comprehensively review the development of dynamic networks!

Green low-carbon Tianyi cloud, a new engine of digital economy!

Actf questions (dropper+master_of_dns)

Open source demo | release of open source example of arcall applet
![[leetcode] 3. Longest substring without repeated characters - go language problem solution](/img/63/57d3557d77d44b51b7d0f71669568f.png)
[leetcode] 3. Longest substring without repeated characters - go language problem solution

Digital power supply -- Chapter 1

Peripherals: timer, watchdog and RTC

Ogg data extraction delay is large
随机推荐
When does MySQL use table locks and row locks?
Fraud detection using CSP
Beijing Zhun electric clock, Beidou clock server, GPS network time server, NTP satellite timing system
[summer daily question] Luogu p1706 full ranking question
Green low-carbon Tianyi cloud, a new engine of digital economy!
Academicians said: researchers should also support their families. They can only do short-term and fast research if they are not promoted
Completefuture parallel asynchronous return processing
DotNetCore. Cap notes
Ogg data extraction delay is large
"I gave up programming and wrote a 1.3 million word hard science fiction."
Detailed explanation of MySQL, Oracle and PostgreSQL database index failure scenarios
Antdb database products were selected into the global database industry map (2022) of the China Academy of communications and communications
In the post deep learning era, where is the recommendation system going?
Start to build a three node Eureka cluster
Data integration | what are the tools for data integration at home and abroad?
CSRF attack principle scenario
JS utils tool function that makes you get twice the result with half the effort
Using ODBC to consume SAP ABAP CDs view in Excel
The solution of displaying garbled code in SecureCRT
Web Security Foundation - file upload