Jetson Orin安装部署和使用(2)-远程控制和文件传输操作

Jetson Orin使用

一、远程控制操作

1 远程登陆软件向日葵

1.1 查询系统版本1–$ lscpu
(base) orin@ubuntu:~$ lscpu
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          12
On-line CPU(s) list:             0-7
Off-line CPU(s) list:            8-11
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       2
Vendor ID:                       ARM
Model:                           1
Model name:                      ARMv8 Processor rev 1 (v8l)
Stepping:                        r0p1
CPU max MHz:                     2201.6001
CPU min MHz:                     115.2000
BogoMIPS:                        62.50
L1d cache:                       512 KiB
L1i cache:                       512 KiB
L2 cache:                        2 MiB
L3 cache:                        4 MiB
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled v
                                 ia prctl
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; CSV2, but not BHB
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atom
                                 ics fphp asimdhp cpuid asimdrdm lrcpc dcpop asi
                                 mddp uscat ilrcpc flagm
1.2 查询系统版本2—$ cat /proc/cpuinfo
(base) orin@ubuntu:~$ cat /proc/cpuinfo 
processor	: 0
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 1
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 2
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 3
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 4
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 5
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 6
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

processor	: 7
model name	: ARMv8 Processor rev 1 (v8l)
BogoMIPS	: 62.50
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd42
CPU revision	: 1

1.3 查询向日葵版本
https://sunlogin.oray.com/download/linux?type=personal

在这里插入图片描述

1.4 下载向日葵版本

在这里插入图片描述

1.5 安装向日葵

在下载路径下打开命令终端:

(base) orin@ubuntu:~/Downloads$ sudo dpkg -i SunloginClient_11.0.1.44968_kylin_arm.deb 

result:

(base) orin@ubuntu:~/Downloads$ sudo dpkg -i SunloginClient_11.0.1.44968_kylin_arm.deb 
[sudo] password for orin: 
Selecting previously unselected package sunloginclient.
(Reading database ... 193716 files and directories currently installed.)
Preparing to unpack SunloginClient_11.0.1.44968_kylin_arm.deb ...
Unpacking sunloginclient (11.0.1.44968) ...
Setting up sunloginclient (11.0.1.44968) ...
Created symlink /etc/systemd/system/multi-user.target.wants/runsunloginclient.service → /etc/systemd/system/runsunloginclient.service.
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...

1.6 运行向日葵
(base) orin@ubuntu:~/Downloads$ /usr/local/sunlogin/bin/sunloginclient

Result:

(base) orin@ubuntu:~/Downloads$ /usr/local/sunlogin/bin/sunloginclient
response:
{
   "result_code" : 0
}

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

[main_dlg.xml] - check 1

[main_dlg.xml] - vcode:HneQ9g

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

lua::call() attempt to call global `on_init' (not a function)

[main_dlg.xml] - host_id = 0

lua::call() attempt to call global `fastcode_history_show' (not a function)

运行成功:
在这里插入图片描述

1.7 卸载向日葵
(base) orin@ubuntu:~$ sudo dpkg -r sunloginclient

Result:

(base) orin@ubuntu:~$ sudo dpkg -r sunloginclient
[sudo] password for orin: 
Sorry, try again.
[sudo] password for orin: 
Sorry, try again.
[sudo] password for orin: 
(Reading database ... 193753 files and directories currently installed.)
Removing sunloginclient (11.0.1.44968) ...
sunloginclient: no process found
Sunlogin stopped
Removed /etc/systemd/system/multi-user.target.wants/runsunloginclient.service.
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...

二、文件传输操作

1 向日葵自带文件传输

1.1 向日葵软件“文件”

在宿主机器登陆后->操作向日葵软件“文件”->文件传输
在这里插入图片描述

1.2 向日葵软件“文件”->文件传输

在这里插入图片描述

三、ubuntu文件操作相关指令

1 复制文件

1.1 复制单个文件
cp source_file.txt destination_file.txt

这个命令会将 source_file.txt 复制到当前目录下,并命名为 destination_file.txt。

1.2 复制文件到另一个目录
cp source_file.txt /path/to/destination_directory/

这个命令会将 source_file.txt 复制到指定的目录 /path/to/destination_directory/ 中。

1.3 递归复制目录
cp -r source_directory/ /path/to/destination_directory/

这个命令会递归地复制 source_directory 目录及其所有内容到 /path/to/destination_directory/ 中。

2 移动或重命名文件/目录

2.1 移动文件
mv source_file.txt /path/to/destination_directory/

这个命令会将 source_file.txt 移动到指定的目录 /path/to/destination_directory/ 中。

2.2 重命名文件
mv old_name.txt new_name.txt

这个命令会将 old_name.txt 重命名为 new_name.txt。

2.3 移动并重命名文件
mv source_file.txt /path/to/destination_directory/new_name.txt

这个命令会将 source_file.txt 移动到指定的目录 /path/to/destination_directory/ 中,并重命名为 new_name.txt。

2.4 移动目录
mv source_directory/ /path/to/destination_directory/

这个命令会将 source_directory 目录移动到指定的目录 /path/to/destination_directory/ 中。注意,如果目标位置已经有一个同名的目录,这个操作将会把源目录的内容移动到目标目录下的同名目录中(即合并目录)。

3 删除文件或目录

3.1 删除文件
rm file_to_delete.txt

这个命令会删除 file_to_delete.txt。

3.2 递归删除目录
rm -r directory_to_delete/

这个命令会递归地删除 directory_to_delete 目录及其所有内容。

3.3 强制删除(不提示确认)
rm -rf directory_to_delete/

这个命令会强制递归地删除 directory_to_delete 目录及其所有内容,不会提示确认。

4 创建目录

4.1 创建单个目录
mkdir new_directory

这个命令会在当前目录下创建一个名为 new_directory 的新目录。

4.2 创建多级目录
mkdir -p /path/to/new_directory/

这个命令会创建多级目录,如果父目录不存在则一并创建。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

JasonHuan1123

你的鼓励是我最大的动力

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

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

打赏作者

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

抵扣说明:

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

余额充值