Practical Application of Intranet Penetration --【How to install cpolar Intranet Penetration on Raspberry Pi】

How to install cpolar intranet penetration on Raspberry Pi

foreword

As an ultra-small computer system, the Raspberry Pi cannot run large-scale software or programs like a barebone system such as a desktop or notebook due to its own performance limitations (just count on using the Raspberry Pi to play large-scale games or watch high-definition videos. Bar), but its extremely small size and extremely low power consumption are fully capable of serving as a small web server or as a small development system. Now there are many ways to apply Raspberry Pi on the Internet, so I won’t list them one by one here, but only introduce how cpolar works with Raspberry Pi as a small web server configuration method.

1. Install cpolar on the Raspberry Pi

Since our Raspberry Pi is located in the home network (that is, in the intranet environment), if we want to make the webpage on the Raspberry Pi accessible from the external network, we must rely on the data tunnel established by cpolar to penetrate the intranet, so we first To install cpolar on raspberry pi. Like the ubuntu system (the Raspbian of the Raspberry Pi is the same as the ubuntu system, both are based on the Linux system), we can enter the command in the command line interface

curl -L https://www.cpolar.com/static/downloads/install-release-cpolar.sh | sudo bash

(Foreign users can use the short link command "curl -sL https://git.io/cpolar | sudo bash") to install cpolar directly

img

2. Query the version number of cpolar

After the installation is complete, we enter a simple command "cpolar version" to query the version number of cpolar. If the version number can be displayed correctly, it means that cpolar has been successfully installed (only after the installation is successful can the software version number be queried).

img

3. Activate the local cpolar client

After the successful installation of cpolar on the Raspberry Pi, we need to activate the local cpolar client, that is, log in to the cpolar official website and perform a simple registration to obtain a unique cpolar password (only for registration and to identify the customer with a unique password end, in order to effectively identify the tunnels of different users)

img

To obtain the password code, we can obtain it from two locations after logging in.

One is the dashboard interface of cpolar

img

The second is the "Verification" page on the left side of the dashboard interface

img

After obtaining the password, you can return to the Raspberry Pi command line interface and enter the command

cpolar authtoken XXXXXXX(X位置为口令码内容)

4. cpolar is recorded in the configuration file

After the password code is entered, cpolar will display that the password code has been recorded in the configuration file, so we don't have to enter it repeatedly.

img

As can be seen from the above instructions, the installation of cpolar is not complicated, and it can be installed on the Raspberry Pi with just a few simple steps. After the cpolar installation is complete, we can officially start the webpage deployment steps of the Raspberry Pi. Since there are many steps in web page deployment, we will explain them in detail in the following introduction. If you have any questions about the use of cpolar, please contact us, we will provide you with assistance within our ability. Of course, you are also welcome to join the VIP official group of cpolar to explore the unlimited potential of cpolar together.

Guess you like

Origin blog.csdn.net/fcawyxb/article/details/132218974