First, you have to have a vro. Otherwise, the following content cannot be implemented.
Second, you have to apply for a free dynamic domain name resolution, because I use TP-LINK router, only support peanut shells, so I applied for dynamic domain name resolution of peanut shells.
It's easy to apply for a peanut shell, open the http://www.oray.com, click "register" on the top and apply for a peanut shell passport.
After the application is completed, click my console-product management-Domain Name Management
Select the free Domain Name tag, select the free domain name, and Click Activate peanut shells. Now, your free dynamic domain name resolution activation for peanut shells has been completed.
Third, enter the vro and configure your dynamic domain name account and port resend
Set your peanut shell passport account and password in the Dynamic DNS of the router, and click log on
Next, configure the port.
First, determine the IP address of your Raspberry Pi in the LAN. Here I will give it a static IP Address: 192.168.1.248
Then add the port according to the list below
After adding the server, we will build the Raspberry Pi web server.
Fourth, build Raspberry Pi's Web Server
Since I don't know how to do the website, so I had to apply the U large post in the method of http://www.eeboard.com/bbs/forum.php? MoD = viewthread & tid = 2053, a server is created to monitor the running status of Raspberry Pi.
If the GIT command cannot be found, run
- Sudo apt-Get install git
Copy code
After the installation is complete, you can execute the GIT command.
In the original post, the default port is 80, but my Router does not run port 80 forwarding, So I modified the port configuration of the startup script start. Sh in the post. The specific configuration is as follows:
- CD raspcontrol
- Sudo Nano./start. Sh
Copy code
Change the port to 8051, CTRL + O, and CTRL + X to exit.
Execute again
- Sudo./start. Sh
Copy code
At this time, you need to enter Raspberry Pi's IP: 8051 in the browser to access this management page.
Because the dynamic domain name resolution has been activated before, and the access to port 8051 can be forwarded to Raspberry Pi by the router, this is a success. You can enter your domain name: 8051 in the browser, to access your Raspberry Pi, you can also send the address to everyone,
Let everyone test.