当前位置:网站首页>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 .
边栏推荐
- Green low-carbon Tianyi cloud, a new engine of digital economy!
- Resolution of multi thread conflict lock
- [recognize cloud Nativity] Chapter 4 cloud network section 4.9.4.3 - smart network card usage scenario - network acceleration implementation
- Freedom and self action Hegel
- Cloud native platform, let edge applications play out!
- Industrial control safety PLC firmware reverse III
- Automatically create partition tables by time and month in PostgreSQL
- Grpc sets connection lifetime and server health check
- 6-11 vulnerability exploitation - use the built environment to send emails
- Data integration | what are the tools for data integration at home and abroad?
猜你喜欢

Create the first hbuilder project

Using multithreaded execution method in Lua script based on nlua implementation

From casting sword to defending sword: the way to build the efficiency platform of didi project

Mobile Robotics (3) Kalman filter

Several application scenarios of NAT

Use Fiddler to capture apps

Google launched another "man grabbing war" for core making, and Intel's 17 year veteran joined!

Detailed explanation of the principles and differences between static pages and dynamic pages

Cloud native platform, let edge applications play out!

1260. Two dimensional grid migration: simple construction simulation problem
随机推荐
1260. Two dimensional grid migration: simple construction simulation problem
Antdb database products were selected into the global database industry map (2022) of the China Academy of communications and communications
Server performance monitoring
The most complete summary of MySQL data types in history - (first)
EasyX realizes button effect
Summary of the most complete MySQL data types in history (Part 2)
How to upload files to the server
C#/VB. Net insert watermark in word
Scalar, vector, matrix calculus
Ireport export PDF font bold failure
Standard transfer function
Windows Server 2022 received a non security update in July: fix the sticking problem caused by defender
The two supply chain centers of HEMA launched the "background" of innovative research and development of multi format commodities
Hbuilderx developed by uni app connects to night God simulator
Grpc sets connection lifetime and server health check
Promise basic use
Open source demo | release of open source example of arcall applet
Origin and development of philosophy Hegel external historical form
Management mode of agricultural science data center based on life cycle theory
Use SAP ui5 application to consume create and delete operations of OData in business application studio