< >
Home » FarmBot入门教程 » farmbot入门教程-虚拟机启动farmbot服务器

farmbot入门教程-虚拟机启动farmbot服务器

说明:

  • 介绍如何在虚拟机,启动farmbot服务器

步骤:

  • 打开Farmbot虚拟机,进入Farmbot-Web-App目录,运行脚本
$ cd ~/farmbot/Farmbot-Web-App

$ ./start1_web.sh
$ ./start2_parcel.sh
$ ./start3_typescript.sh
$ ./start4_delayed_job.sh
$ ./start5_log_digests.sh
$ ./start6_rabbit_jobs.sh
  • 使用命令,查看虚拟机ip地址:192.168.0.199
$ ifconfig


ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.199  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::f1a9:af10:b5f9:7c16  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:70:b6:3f  txqueuelen 1000  (Ethernet)
        RX packets 1740  bytes 569196 (569.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 195  bytes 39667 (39.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  base 0x2000  
  • 使用nmap方式,搜索当前网段所有ip地址
nmap -sP 192.168.0.0/24
  • 结果如下:
ubuntu@farmbot:~$ nmap -sP 192.168.0.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2024-08-20 14:05 CST
Nmap scan report for _gateway (192.168.0.1)
Host is up (0.0020s latency).
Nmap scan report for 192.168.0.2
Host is up (0.0018s latency).
Nmap scan report for 192.168.0.16
Host is up (0.00059s latency).
Nmap scan report for my.farmbot.cc (192.168.0.199)
Host is up (0.00021s latency).
Nmap scan report for 192.168.0.203
Host is up (0.053s latency).
Nmap scan report for 192.168.0.204
Host is up (0.049s latency).
Nmap scan report for 192.168.0.206
Host is up (0.095s latency).
Nmap done: 256 IP addresses (16 hosts up) scanned in 3.74 seconds
  • 查询到farmbot的ip:192.168.0.204

  • 打开网页,输入farmbot的ip:192.168.0.204,点击ETHERNET

请输入图片描述

  • 点击NEXT

请输入图片描述

  • 输入email和PASSWORD密码,输入服务器SERVER:http://192.168.0.199:3000

请输入图片描述

  • 设置后,重启farmbot设备

  • 在网页输入:http://192.168.0.199:3000,输入邮箱和密码,登录

请输入图片描述

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: none