Current location - Quotes Website - Collection of slogans - Reuse of Idle Computers —— The Road is Long and Xiu Yuan is Xi.
Reuse of Idle Computers —— The Road is Long and Xiu Yuan is Xi.
In the previous article, we introduced how to reuse idle computers.

How to Install NAS Idle Computers for Reuse-Install NAS System

How to Configure NAS Idle Computers for Reuse-Configure NAS Systems

And how to configure offline download multiplexing for idle computers-offline download.

In this article, we will introduce how to configure Kedao Cloud. Kedao Cloud can easily access our * * * enjoyment data using a browser or an APP, and its function is similar to Baidu Alibaba Cloud Disk.

First, download the installation package of Daoyun. Since it is used at home, it is recommended to install the personal version, and the enterprise version adds permission control, which is not needed by ordinary home users. Download Link-Daodao Cloud-Private Cloud Storage &; Collaborative Office Platform _ Enterprise Network Disk _ Enterprise Cloud Disk _ Network Disk _ Cloud Disk

create a directory

Decompress the downloaded files and upload them to this directory to increase the permissions.

Edit Nginx file

Before the last uncommented brace in the file, insert the following code

Where 9 169 is the interface of the address, which can be modified by itself. Enter the command to restart Nginx.

Enter the address and interface in the browser to open the offline downloaded page, such as192.168.3.25: 9169.

As you can see, there are many problems in the login page. Let's deal with them one by one.

First, prompt that php library lacks curl, and search the current version first.

The current version is 7.3, and then perform the following code installation, asking whether to install and enter Y for confirmation.

Prompt php library is missing gd library. Search the current version first.

The current version is 7.3, and then perform the following code installation.

Refresh the page and you can see that all the error prompts have been handled.

After setting the administrator password according to the prompt, jump to the login page.

After entering the administrator account admin and the set password, you can log in to the system.

At this point, Daoyun is installed. But how can the data partition we configured before be mounted under Daodao Cloud?

First, confirm the directory of Daoyun. The path of the personal file is/usr/kodexplorer/data/user/admin/home, and admin is the user name. The public directory is/usr/kodexplorer/data/group/public/home. You can mount it to a different directory as needed. Now, we will mount the previously created movie folder to the public directory:

The path of the last movie we got was/SRV/dev-disk-by-uuid-8974c00f-b040-4cb9-9f4b-0ed133568e9a/movie.

First, create a movie folder in the public directory.

Then use the following command to test whether it can be mounted normally.

Refresh the browser, you can see that there is already a directory we created on the page, and the content has passed.

After the system is restarted, the mounted content will be invalid and set to be automatically mounted at startup.

Insert at the end

Just save it, it won't be lost after restarting, but there is a problem. We can't edit the files in this directory, so we can give users permission www-data in the NAS system.

In this way, we can edit and operate the files in the public directory normally.

Similarly, we can also map other directories under NAS to our own directories or public directories, which can be directly accessed in the accessible cloud.

In addition, you can also directly fix the NAS system address and offline download address to the accessible cloud, which can be opened by clicking the mouse directly and clicking the management menu in the upper right corner.

Add address

After saving the refresh, you can see the shortcut links we added.

APP Apple searches kodExplorer in the appstore for download. Note that it is not a search cloud app. This is an enterprise app, and Android phones can be downloaded directly from official website.

After downloading and installing, the site directly enters your IP and port, and then enters your user name and password to log in.

At this point, Daoyun is installed, and we will continue to introduce how to configure external network access. DDNS dynamic domain name forwarding function has been realized.