Three steps to build a free unlimited space unlimited speed network disk - based on docker and Alibaba cloud mirroring (B station learning)

# Prerequisite: This blog refers to the video of xausky , the UP master of station B , including the software in his github, which is only used for promotion after personal use

## Reference video: [Station B]( https://www.bilibili.com/video/BV1re411p7uJ )

The video is very detailed, I'm using pictures and texts to explain it

## Corresponding code: [github]( https://github.com/xausky/DockerRegisterCloud )

Because here (2020.10.22) it can’t be downloaded directly from github, it uses the resources in Release, and the download is the smallest win version ==drc-cli-windows.zip==, which contains only one exe file And ==drc-client-windows.zip==, corresponding to the visual client

# Step 1: Go to Alibaba Cloud to register a user name ==pure English==

## Search container image service, as shown below

## Create a namespace, note that here are all names that need to be combined in English and numbers

## Create a mirror warehouse, note that it is best to choose the one closest to you, as shown in Figure 2

## After the creation is successful, just copy the public network address corresponding to the warehouse

# end of first step

# The second step is to enter the github project to download the software

[github project address]( https://github.com/xausky/DockerRegisterCloud );[github software download address]( https://github.com/xausky/DockerRegisterCloud/releases ), select (2020.10.22) drc-cli -windows.zip is enough

Note: The download speed may be too slow. You can try the download speed of resources uploaded in this way: (just copy the link, and use IDM and browser to create a new download)

Download link: ==drc-cli-windows.zip==: This is used for command line upload and download, the third step will explain:

(I found that this external link has a time limit, and I use Lanzous Cloud to share it: https://hyperledger.lanzous.com/b01i4y41i Password: drc

The drc-cli-windows.zip compressed package is the drc.exe file of Release v1.6.1  , and docker_register_cloud.exe is the user visualization software)

[drc-cli-windows.zip](http://aliregistry-cn-chengdu.oss-cn-chengdu.aliyuncs.com/docker/registry/v2/blobs/sha256/95/95251c6a7d9a7089d6e862b0c3ff5162410c0d5da4799d9e4db6f40286504636/data?Expires=1603335984&OSSAccessKeyId=LTAI4FyN99sZuwGQsaDkPxbv&Signature=2D7KhXXJutdxmmdWUSSFjsOPiro%3D)

Note: All files downloaded in this way are files named data, you need to manually modify the file name ==drc-cli-windows.zip==;

The second download link is: ==drc-client-windows.zip==, this is the 30.2MB file in the above picture, corresponding to the user visualization software, you can copy the download link, upload, download, etc. in this software Function

下载链接:[drc-client-windows.zip](http://aliregistry-cn-chengdu.oss-cn-chengdu.aliyuncs.com/docker/registry/v2/blobs/sha256/70/708fe9980bb7c4dfc73d2d14b2e1e5bc4cde2c04ecb1b33cefb66d0c85e3ca80/data?Expires=1603336234&OSSAccessKeyId=LTAI4FyN99sZuwGQsaDkPxbv&Signature=0rluwhFTAFGrPjv9g19aYLHJirI%3D)

Anyway, my personal test is that it can be downloaded in 1s.

## Download is complete: the drc-cli-windows.zip file is decompressed and there is only one drc.exe executable file; after drc-client-windows.zip is decompressed, there is also an executable file called docker_register_cloud.exe, ==personal suggestion== All decompressed to a pure English directory. The content of the file is as follows:

## Configure environment variables: Add the decompressed directory to the environment variables, so that you can directly call the exe file when uploading later

Double-click to add the file directory.

# end of step 2

# The third step is to use == premise: configure the environment variables ==, -- disadvantages == only one file and one file can be uploaded and downloaded ==

## cmd command window input: drc.exe

Note: It is recommended to call drc.exe in the cmd command window in the folder corresponding to the file you want to upload to facilitate file transfer

## register

drc.exe login 仓库对应公网地址

After pressing Enter, you need to enter the Alibaba Cloud account and the corresponding password. If the Alibaba Cloud account contains Chinese, an error will be reported.

Network disk address: U2FsdGVkX1/KZBzUwioEJVHhaZQdx+DHESAGmnEZwvuHSniqdpGTlY6h8Ww2wm/RyuU2HAspWLaU48QMyMNJKlE3kyYJx9KxJIgSz5ivJ84=(ABE) (Decryption) My account number: jack2ss

There is no display for password input, just press Enter after input.

## upload

drc.exe push 要上传的文件名 要保存到网盘上的文件名

For example: I upload a file named duoguan.ts to the network disk and store it as duoguan.ts file

The upload speed is as follows:

## show

drc.exe ls

It can be seen that the upload has been successful

## download

drc.exe pull 网盘对应文件名 下载时要保存的文件名

The download command is as shown below: 

## client use

You can directly double-click: ==docker_register_cloud.exe== to open the client, you can create a corresponding folder, upload, download, etc., but it is recommended to use ==drc.exe== to upload and download, the client feels a bit buggy.

# end of step 3

# Thanks again for the related software designed by ==xausky==, which can complete the creation of personal network disk so easily. 

Guess you like

Origin blog.csdn.net/jack_zj123/article/details/109216442
Recommended