当前位置:网站首页>Use cpolar to publish raspberry pie web pages (improvement of cpolar function)
Use cpolar to publish raspberry pie web pages (improvement of cpolar function)
2022-07-29 09:20:00 【probezy】
In the previous Introduction , We pass the will cpolar Association between cloud data tunnel and local web pages , Learned how to cpolar To modify the configuration file of . Now? , We will continue to treat cpolar Set it up , Add it to the self starting service of raspberry pie , And set it as a background service , So even if raspberry pie restarts , We don't have to start it alone anymore cpolar Data tunnel for . Don't talk much , Let's start .
take cpolar The method of setting it to background operation and startup is very simple , Just enter a simple two-line command . The reason why we need to explain the background operation and startup separately , Because after starting the background service , You can unlock it cpolar Powerful web-UI Interface , Choose a more friendly graphical interface for tunnel settings .
Set power on self start
You want to configure cpolar Boot up , Just type in the command
sudo systemctl enable cpolar
Set daemon mode
Daemon mode can be roughly understood as background service , This allows us to close cpolar Front desk service , It can also maintain the connectivity of data tunnels . To set up cpolar The daemon mode , Just type in the command
sudo systemctl start cpolar
To verify that our settings are correct , You can enter the command
sudo systemctl status cpolarCheck whether the daemon mode is set successfully

As shown in the figure above , Just show the contents in the red box , It means that our daemon mode is set successfully . At this time, even if we close cpolar Front desk service ,cpolar It can still maintain the smoothness of the data tunnel in the background service , Let our web pages be accessed anytime, anywhere . Because these two services are more important , We can do it in cpolar After installation , Just set it .
Because we are right cpolar The setting of involves the startup service item of raspberry pie , Therefore, after completing the self startup and daemon settings , You should enter the command “sudo reboot” Restart raspberry pie , Let the settings work .
After the raspberry pie restarts , We can open the browser directly , Enter... In the browser address bar “localhost:9200”, You can see it in raspberry pie cpolar The graphical interface of .

And cpolar Like in the cloud ,cpolar Of web-UI The interface also needs to input the account number and password . If at the end of the installation cpolar Then set the daemon mode directly , And pass web-UI Interface login cpolar client , Then you don't have to enter the password by yourself ,web-UI The interface will write the user's password code into the configuration file by itself .
Enter the correct cpolar After the account name and password , Will go straight into cpolar Client main interface . Our main operation area , It's on the left side of the interface “ Tunnel management ” Xiang He “ state ” term .

among ,“ Tunnel management ” Under “ Tunnel list ” page , It mainly indicates the established data tunnel . We can in this list , Enable the data tunnel 、 Discontinue use 、 Editing and other operations .

“ Create a tunnel ” seeing the name of a thing one thinks of its function , In a relatively convenient way , Set up the data tunnel to be established ( You can choose TCP、HTTP Such agreement )

and “ state ” List of online tunnels under , It is to let us have a more intuitive understanding of the established local data tunnel .

Limited space , We can't give you a detailed introduction here cpolar Of web-UI Various operations in the interface , To make it easy for everyone to understand , We'll be in a later article , Combined with practical cases , Explain in detail , How to use web-UI Quick interface cpolar. If you are right about cpolar Any questions about the use of , Welcome to contact us , We will certainly provide you with assistance within our ability . Of course, welcome to join cpolar Of VIP Official group , Explore together cpolar The infinite potential of .
边栏推荐
- One article tells you the salary after passing the PMP Exam
- Introduction to translation professional qualification (level) examination
- What should I pay attention to now? Excuse me, is it safe to open a stock account by mobile phone?
- Mathematical modeling - Differential Equations
- smart-webcomponents 14.2.0 Crack
- 2022电工(初级)考题模拟考试平台操作
- 【云驻共创】【HCSD大咖直播】亲授大厂面试秘诀
- English high frequency suffix
- Quick sorting (quick sorting) (implemented in C language)
- Network knowledge summary
猜你喜欢

36. JS动画

基于C语言实现的NFA确定化和DFA最小化

Flowable 基础篇2

Floweable advanced

STM32 application development practice tutorial: design and implementation of controllable LED water lamp

ERROR 1045 (28000): Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)
Jetpack Glance? The spring of widgets is coming

Floweable foundation Chapter 1

Safety is no longer the only selling point. Test drive "slash youth" Volvo C40

2022年R2移动式压力容器充装考题模拟考试平台操作
随机推荐
2022年R2移动式压力容器充装考题模拟考试平台操作
2022电工(初级)考题模拟考试平台操作
How to change MySQL into Chinese
2022电工(初级)考题模拟考试平台操作
Handwritten character recognition
[unity entry program] C # and unity - understand classes and objects
Introduction to translation professional qualification (level) examination
The gold content of PMP certificate has been increased again and included in the scope of Beijing work residence permit
23考研人撑住!考研第一波弃考高峰期已经到来!
[unity entry program] collection of common learning websites
2022危险化学品经营单位主要负责人操作证考试题库及答案
Information system project manager must recite the quality grade of the core examination site (53)
ICMP message analysis
(视频+图文)机器学习入门系列-第1章 引言
查看端口占用情况
浅谈契约测试
Data representation and calculation (base)
01 knapsack about from two-dimensional optimization to one-dimensional optimization
CVPR 2022 | clonedperson: building a large-scale virtual pedestrian data set of real wear and wear from a single photo
Leetcode:132. split palindrome string II