Skip to content

sogeisetsu/shumeipai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

shumeipai

0基础实现树莓派云灌溉系统

树莓派云灌溉系统的实现

目录

树莓派相关配置

云服务器相关配置

  • 服务器购买及选择

    • 服务器我购买的是阿里云的轻量级服务器,现在可以使用学生优惠
    • 服务器需要搭一个网站的框架,推荐用flask 我用的是宝塔
    • 使用宝塔只需要看官方教程就够了

    Server I purchased Alibaba Cloud's lightweight server, now I can use student discounts The server needs to build a website framework, recommend using flask. I use a pagoda. It is enough to use the pagoda only to see the official tutorial.

  • 端口的开关

    • 需要开一些端口
    • 我开的是这些端口
    • 图片
  • 网站配置

    • 宝塔页面上配置上数据库,ftp,网站。其实刚开始设置宝塔的时候会有提示,按照提示设置lnmp就好了 Configure the database, ftp, website on the Pagoda page. In fact, when you first set up the pagoda, there will be a prompt, follow the prompts to set lnmp just fine
  • frp 配置树莓派公网ip

    • 这个参考前面内网穿透的教程
  • 前端网页代码

  • 接受树莓派传来的文件

    • 在前端代码里有说明
  • 发送文件

    • 在前端代码里有说明

更新

  • 设置域名
    1. 域名可以从阿里云,腾讯云等购买
    2. 在域名服务商那里可以设置解析,TTL建议3600,实验发现,600s的经常性304
    3. 然后从宝塔面板绑定域名
    4. 这样就可以通过域名访问了
    5. 我在这个项目中的域名是www.qkgoride.club截至2019/8/3 17:23此域名仍无法访问,原因是刚刚修改过相关内容,需要3600s后才可正常访问

About

实现树莓派云灌溉系统

Topics

Resources

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
license.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published