Self-built network disk tutorial: Cloudreve installation tutorial to quickly build a public and private network disk system

888u

Last update at :2024-01-08,Edit by888u

Cloudreve is another masterpiece by the author of Shudong External Links, built based on ThinkPHP. Cloudreve is positioned as a small public cloud and private cloud, that is, both public and private. The functions that have been implemented so far include: quick connection to multiple cloud storage, support for Qiniu, Youpaiyun, Alibaba Cloud OSS, AWS S3, custom remote servers, and of course, local storage; can limit the maximum size and MIMEType of a single file , file suffix, user available capacity; online preview of pictures, audio, video, text, Markdown, Ofiice documents; responsive layout of the entire mobile site; file and directory sharing system, which can create private sharing or public sharing links; user personal homepage, All users' shares can be viewed; multi-user system and user group support; preliminary and complete backend for convenient management; drag-and-drop upload, multi-part upload, breakpoint resume upload, download speed limit (*experimental function); multiple upload strategies, can Assign different policies to different user groups; set basic permissions for user groups; support WebDAV protocol.

GitHub: https://github.com/HFO4/Cloudreve

After Baidu Netdisk turned the educational videos collected by this site into real educational films many times, this site has always wanted to build a Netdisk by itself. Let’s start with the system developed by Chinese people!

Since it is built based on ThinkPHP, all mainstream LNMP website building panels on the market are supported. This site uses the Pagoda panel as an example for demonstration. It should be noted that the Pagoda panel used in the previous evaluation of this site was the 5.9 stable version, and the LNMP environment was also used by default. However, Cloudreve has the following requirements for the website environment:

PHP version is greater than 5.6

Support fileinfo extension

So the default pagoda panel environment needs to be slightly modified. Of course, it is best to choose version 5.6 of PHP when configuring the environment. If it is the default, just add version 5.6 of PHP. The method is to select Software Management-Runtime Environment on the left side of the Pagoda panel, scroll down to find PHP version 5.6 or higher, and click to install. After installation, click Settings:

Install fileinfo extension

Then choose to install the extension on the left side of the PHP5.6 management page, and click Install after fileinfo.

New site

Then create a new site, and then bind the domain name to create a database. The database name and database user name here are the same. Remember to select PHP version greater than or equal to 5.6.

Set pseudo-static

After creating a new site, click Settings on the right, then select Pseudo-static on the left, add the following pseudo-static rules and save them for use:

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

Download the cloudreve whole-site installation package from here https://cloudreve.org/download.php, upload it to the root directory of the website and unzip it.

Edit database files

Then open the application/database_sample.php file and use the editing function that comes with the Pagoda panel:

Where the database file is modified

Modify these three places, that is, use the database name, database user name and database password we set when we just created the site. Save and rename the database_sample.php file to database.php file.

Import database

Next, select the database on the left side of the Baotian panel homepage, select "Import" behind the database we just created, and then upload the mysql.sql file in the compressed package you just downloaded.

Next we can start installing Cloudreve, enter your domain name/CloudreveInstaller in the browser to start the installation.

Detection environment

After the settings just now, all the necessary environments are met. Only Google’s two-step verification is not met, which does not affect the installation. Let’s click Next:

Fill in information

Nothing else needs to be touched here. Fill in the database name, database user name and database password you just set, click Start Installation, and the installation will be successful.

After the installation is successful, open the domain name/Admin, which is the backend homepage. The initial user name is admin@cloudreve.org and the initial password is admin

Remember to check whether the site URL is correct in Settings - Basic Settings after logging in, and change the initial username and password, and slowly explore other functions.

Demo site: http://cloudreve.vpsxxs.com You are welcome to register and upload for testing. It may close at any time, (/ □ \)

The above is the Cloudreve installation tutorial shared by this site. This is installed using the whole site recovery method. Of course, interested friends can also install through Composer, through Git, or through Docker through the github address above. OK. The function of cloudreve is very powerful. It can preview pictures and play videos online (only supports formats with built-in decoding in the browser). In the background, it can even achieve offline download function by configuring Aria2 (but this site needs to remind you that most foreign VSPs are BT or infringing downloads are prohibited, such as bricklayers), and there is also a simple membership group function. It's just that cloudreve, as a personal development project, still has some shortcomings. At present, it is more suitable for self-use and small-scale non-commercial use. However, I am still very grateful to the author for sharing, and I hope that cloudreve can be more perfect in subsequent versions!

If you want to build your own network disk and need a large hard drive VPS, you can take a look at the large hard drive VPS information that this site has shared with you

Large hard drive VPS list http://www.vpsxxs.com/category/dayingpanvps/

Welcome to search on the site:

Cloud server rental, overseas server, IP reverse check, domain name purchase, mainland China IP agent Hong Kong vpn server, server hosting, space service provider, server abroad, website registration domain name query,

Self-built network disk tutorial: Cloudreve installation tutorial to quickly build a public and private network disk system

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码