Blynk 是一个开源的物联网平台….可以搭建任何可以运行java程序的主机上,包括树莓派,香橙派,NanoPi

  • 安装java

    # 本次安装在Centos8上演示
    dnf install java


    [root@Wygdbb ~]# java -version
    openjdk version "1.8.0_252"
    OpenJDK Runtime Environment (build 1.8.0_252-b09)
    OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

    java

  • 下载 blynk

    # 连接 https://github.com/blynkkk/blynk-server/releases

    wget https://github.com/blynkkk/blynk-server/releases/download/v0.41.13/server-0.41.13-java8.jar
  • 启动

    [root@Wygdbb blynk]# java -jar server-0.41.13-java8.jar -dataFolder /root/blynk/

    Blynk Server 0.41.14-SNAPSHOT successfully started.
    All server output is stored in folder '/root/blynk/logs' file.
    Your Admin url is https://xxxxx:9443/admin
    Your Admin login email is admin@blynk.cc
    Your Admin password is admin

    需要注意的是:https://

  • 后台启动
    # 借助 screen

    # 创建一个新终端
    screen -S blynk

    # Ctrl+ A + D 保存退出

    # 进入之前创建的
    screen -r blynk