[CyberDog工程探索版众测] CyberDog个人环境配置

本文介绍了如何在Ubuntu系统上远程连接CyberDog,并通过ssh和screen工具确保程序稳定运行。此外,详细阐述了安装NoMachine以实现远程图形界面的步骤,包括下载、安装及在Windows端的配置。最后,文章提到作者将继续对CyberDog进行开发,并邀请读者关注其博客进行交流。
摘要由CSDN通过智能技术生成

关于系统相关信息

mi@lubuntu:~/Downloads$ uname -a
Linux lubuntu 4.9.201-tegra #1 SMP PREEMPT Tue Aug 24 01:45:47 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
mi@lubuntu:~/Downloads$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic
mi@lubuntu:~/Downloads$ lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              6
On-line CPU(s) list: 0-5
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           3
Vendor ID:           Nvidia
Model:               0
Model name:          ARMv8 Processor rev 0 (v8l)
Stepping:            0x0
CPU max MHz:         1907.2000
CPU min MHz:         115.2000
BogoMIPS:            62.50
L1d cache:           64K
L1i cache:           128K
L2 cache:            2048K
L3 cache:            4096K
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
htop #使用htop查看当前运行状况

如下所示,运行状态cpu负载约35%,内存占用约16%。

请添加图片描述

远程连接CyberDog

在通过手机app将CyberDog连接到wifi后,可以通过路由器后台获取到ip地址,通过ssh可以远程连接。

如果是windows打开cmd输入下述命令

ssh mi@192.168.1.35 #此处IP换为自己的IP地址
#pass-word: 123

screen的使用

之所以提及screen的使用,是由于网络不稳定或其他异常情况,Teminal断线进而导致当前执行的程序被打断,当使用screen启动一个窗口时,这个窗口即使退出了也会挂载在系统后台继续执行它的任务,screen已经在CyberDog中配置好了可以直接使用,下边写一些常用命令:

screen -S abc #启动一个名为abc的屏幕进程
screen -d #断开当前屏幕,退出当前screen但其依旧在运行
screen -ls #列出当前活动屏幕进程
screen -r abc #恢复链接abc屏幕进程,
exit 或 ctrl + d #在screen界面中输入,终止当前屏幕
screen -wipe #清理不可以恢复的屏幕

远程图形界面安装(NoMachine )

Ubuntu下载&安装

启动一个screen并下载如下安装包:

官网下载地址

$ screen -S nomachineInstall
$ cd ~/Downloads
$ wget https://download.nomachine.com/download/7.6/Arm/nomachine_7.6.2_3_arm64.deb
#运行结果
--2021-09-13 23:19:33--  https://download.nomachine.com/download/7.6/Arm/nomachine_7.6.2_3_arm64.deb
Resolving download.nomachine.com (download.nomachine.com)... 83.222.232.25
Connecting to download.nomachine.com (download.nomachine.com)|83.222.232.25|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44037782 (42M) [application/octet-stream]
Saving to: ‘nomachine_7.6.2_3_arm64.deb’

nomachine_7.6.2_3_arm64.deb   100%[=================================================>]  42.00M  2.09MB/s    in 26s

2021-09-13 23:20:03 (1.61 MB/s) - ‘nomachine_7.6.2_3_arm64.deb’ saved [44037782/44037782]

安装软件

mi@lubuntu:~/Downloads$ sudo dpkg -i nomachine_7.6.2_3_arm64.deb
---------------#运行结果
Selecting previously unselected package nomachine.
(Reading database ... 287863 files and directories currently installed.)
Preparing to unpack nomachine_7.6.2_3_arm64.deb ...
Unpacking nomachine (7.6.2-3) ...
Setting up nomachine (7.6.2-3) ...
NX> 700 Starting install at: Mon Sep 13 23:21:56 2021.
NX> 700 Installing: nxclient version: 7.6.2.
NX> 700 Using installation profile: Ubuntu.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Compiling the USB module.
NX> 700 Installing: nxplayer version: 7.6.2.
NX> 700 Using installation profile: Ubuntu.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 To connect the remote printer to the local desktop,
NX> 700 the user account must be a member of the CUPS System Group: lpadmin.
NX> 700 Installing: nxnode version: 7.6.2.
NX> 700 Using installation profile: Ubuntu.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Creating configuration in: /usr/NX/etc/node.cfg.
NX> 700 Installing: nxserver version: 7.6.2.
NX> 700 Using installation profile: Ubuntu.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Creating configuration in: /usr/NX/etc/server.cfg.
NX> 700 Install completed at: Mon Sep 13 23:22:35 2021.
NX> 700 NoMachine was configured to run the following services:
NX> 700 NX service on port: 4000

windows 端安装包

官方下载地址

安装完成后打开如下所示,这里如果在同一网络中会自动检索到CyberDog,双击图标连接

请添加图片描述

请添加图片描述

小结

今天晚上刚收到狗,后续会在这个基础上再进一步开发。

大家可以关注我的blog,相互沟通交流开发上的问题:https://blog.csdn.net/Bing_Lee

附录:外观、包装

请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

机器人梦想家

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值