Build a free eXtplorer online file manager with one click and log in remotely to realize file storage on the go

1 Introduction

Transferring files through the Internet is one of the most important applications of the Internet. Whether it is videos, pictures, novels watched online, or even collaborative office work and business file transfer, they are all extensions of this application. The previously popular cloud storage concept was based on data storage servers and Internet transmission. However, cloud storage accidents have occurred one after another, making public cloud storage services questionable. In fact, we can use some existing software combinations to easily establish a personal private cloud storage server, allowing us to access the data on the intranet data server anytime and anywhere. Today, the author will introduce to you how to use Cpolar intranet penetration + eXtplorer to build an exclusive private cloud storage space.

2. eXtplorer website construction

eXtplorer is a file manager based on PHP applications. It is operated through a web page. The operation method is very similar to the resource manager on the local computer. Its main function is to transfer files between the local computer and the server, and can communicate with the local computer. Like the resource manager, you can edit, copy, move and delete files and directories, and even modify the permission attributes of files. At the same time, the installation of eXtplorer is very simple, which effectively reduces the difficulty of building our own file server. Now, let's get started.

2.1 eXtplorer download and installation

First, we need to deploy an eXtplorer on the local computer. We can easily find the download location of the eXtplorer web program on the eXtplorer official website page.

20230410133501

After the download is completed, we will decompress the compressed package of eXtplorer for later use. Since eXtplorer is a web program, we need to deploy it to the web environment of the local computer. Here, the author uses phpstudy (Xiaopi Panel) to build the web environment. Therefore, paste the eXtplorer web page installation file into the www folder of phpstudy.

20230410133502

20230410133503

Then we open phpstudy (small leather panel), on the "Website" page, click the "Create Website" button on the upper left to set up the eXtplorer web page we plan to create. The settings are not complicated and mainly include

1. 域名– The domain name here refers to the domain name when the local computer accesses the eXtplorer web page;
2. 端口– It is the output port of the eXtplorer web page;
3. 根目录– It is the location where the eXtplorer web page program is stored on the local computer
4. 创建环境– Which supporting programs are used, Such as FTP transmission, SQL database, etc.
5. PHP版本– That is, which version of PHP is used to run the eXtplorer web page (it should be noted here that eXtplorer must use a lower version of the php program. The author used the php5.4 version, otherwise the web page will report an error)

20230410133504

After completing the above settings, you can click 确认the button at the bottom of the page to create a running environment for the eXtplorer web page. Then we click 管理the button on the right side of the webpage entry 打开网页and test whether we can access the eXtplorer webpage normally.

20230410133505

It should be noted that eXtplorer must use a lower version of the php program. The author used the php5.4 version. At the same time, the "tcp" function must be checked in the "php extension" option. Otherwise, both will cause eXtplorer to report an error when running.

2.2 eXtplorer web page test

After creating the eXtplorer web page, we can open the web page from phpstudy (you can also enter the previously set domain name and port number in the browser address bar to access). As long as the web page is set up correctly, we can open the eXtplorer login page.

20230410133506

As long as you enter the default login name and password (login name "admin", password "admin"), you can enter the main interface of eXtplorer. However, the default login name and password are not secure, so after logging in to eXtplorer, the web page will prompt us to change the login name and password immediately.

20230410133507

2.3 Installation and registration of cpolar

After completing the eXtplorer test and being able to log in correctly, we can move to the cpolar installation. Like eXtplorer, the installation and registration of cpolar is as simple and easy, or even simpler. We can find the "Download" button directly on cpolar's official website page (www.cpolar.com).

20230410133508

The author is using the Windows operating system, so I chose the Windows version to download.

20230410133509

After the Cpolar download is completed, unzip the downloaded compressed file and double-click the .msi file to automatically execute the installation program. Then just click "Next" to complete the installation.

20230410133510

20230410133511

Since cpolar will create an independent data tunnel for each user, supplemented by user passwords and token codes to ensure data security, we need to register users before using cpolar. The registration process is very simple. Just click "User Registration" in the upper right corner of the cpolar homepage and fill in the necessary information on the registration page to complete the registration.

20230410133512

20230410133513

3. Local web page publishing

At this point, we have completed the construction of the local eXtplorer web page and installed the cpolar intranet penetration program. Next, we can use cpolar to create a public Internet address that can connect to the local test page so that we can access it on the public Internet. Go to this computer's eXtplorer web page.

3.1.Cpolar cloud settings

Since the private cloud disk server may need to be accessed anytime and anywhere, the data tunnel of the cpolar free version will be reset every 24 hours. In order to avoid the trouble of reconnection settings every day, we can choose to upgrade cpolar to the VIP version to obtain an intranet penetration data tunnel that can exist stably for a long time.

Next, we continue to penetrate the intranet. To achieve the purpose of intranet penetration, we need to log in to cpolar's official website, find the "Reserve" button on the left side of the user's home page, and click to enter cpolar's data tunnel reservation Leave the page.

Cpolar will generate a public Internet address (which can be regarded as the entrance of the data tunnel) based on the information we set in the cpolar cloud. Since this address is not connected to the local software output port at this time, it can also be regarded as a blank data tunnel.

20230410133514

On the reservation page, you can see many types of data tunnels that can be reserved. Here we select the "reserve second-level subdomain name" field (eXtplorer runs as a web page).

20230410133515

In the "Reserved second-level subdomain name" field, you need to make simple settings for several pieces of information, namely:

"Region" (the area where the server is located, just select the nearest one)
"Second-level domain name" (will eventually appear in the generated public Internet address as one of the identifiers of the network address)
"Description" (can be regarded as the name of this data tunnel) description, as long as it can be distinguished from other tunnels).

After completing these settings, you can click the "Reserve" button on the right to retain this data tunnel.

20230410133516

Of course, if you no longer plan to use this data tunnel, you can click the "x" on the right to easily delete it and save valuable tunnel quota.

20230410133517

3.2.Cpolar local settings

After completing the settings of the cpolar cloud and retaining the blank data tunnel, we returned to the local cpolar client and connected the blank data tunnel generated by the cloud to the local test page so that we can access the local test on the public Internet. page.

Open and log in to the cpolar client locally (you can enter localhost:9200 in the browser to access it directly, or you can click the cpolar client shortcut in the start menu).

20230410133518

Click the "Create Tunnel" button under the "Tunnel Management" item on the left side of the client's main interface to enter the local tunnel creation page (if you want to create a temporary data tunnel that does not reset the address for 24 hours, you can set it up directly here without cpolar The official website sets up a blank data tunnel).

On this page, you also need to make several information settings, which include:

Tunnel name – can be seen as cpolar’s ​​local tunnel information annotation, as long as it is convenient for us to distinguish;
protocol – since the test page is a web page, the http protocol is selected;
local address – the local address is the output port number of the local website, and the default The output port is, so 82 is also filled in here;
domain name type – In this example, we have reserved a data tunnel for the second-level subdomain name in the cpolar cloud, so check "Second-level subdomain name" (if the reserved To customize the domain name, check Custom domain name), and fill in the reserved second-level subdomain name in the "Sub Domain" column on the next line, in this case "eXtplorerweb". If you plan to create a temporary data tunnel, just check "Random Domain Name" and let the cpolar client generate the network address by itself;
Region - the same as the information reserved on the cpolar cloud, we can fill it in according to the actual location of use;

20230410133519

After completing these settings, you can click the "Create" button at the bottom of the page to connect the blank data tunnel in the cpolar cloud with the local payment test page to generate a data tunnel that can access the local eXtplorer page on the public Internet. After the intranet penetration data tunnel is generated, cpola will automatically jump to the "Tunnel List" page.

20230410133520

We can manage this data tunnel on the "Tunnel List" page under "Tunnel Management", including opening, closing or deleting this tunnel. We can also click the "Edit" button to get the most information about this data tunnel. to modify.

4. Public network access test

Finally, we click the "Online Tunnel List" button under the "Status" item on the left to find the public Internet address of this page. Paste this address into the browser, we will see the local page, that is, the local page is achieved. Purpose of posting to the public internet.

20230410133521

20230410133522

5 Conclusion

Of course, cpolar's intranet penetration function is not only able to publish eXtplorer web pages. We can also deploy other types of web pages on the local computer, such as blogs, music websites, video websites, OA systems or other types of websites or web pages, so that We can access information on local computers (computers in the LAN) through the public Internet, and then our personal computers become private servers.

Reprinted from cpolar pole cloud article: [EXtplorer] Build a free online file manager locally and realize remote login outside

Guess you like

Origin blog.csdn.net/st200112266/article/details/132901528