养虾之_给bytebot中Ubuntu系统配置系统国内镜像源_并且安装远程软件remmina/xfreerdp_直接让bytebot远程物理机器干活---AI大模型应用探索0018
因为发现默认安装的这个Ubuntu系统,在让他自己下载东西的时候,都下载不下来,无法安装
导致。
可以看到执行命令,先看一下
系统的版本:
cat /etc/os-release
得到版本是22.04.5 LTS以后,然后再去:
执行 lsb_release -a 查看系统版本。然后
然后可以看到
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
这里进行备份。把之前的源备份一下。
然后因为没有找到可以用的工具,我这里使用vim去编辑配置文件。
然后我们切换到root,把用户。
然后输入 sudo -i 进行提权,把权限提升到管理员权限。
阿里云: deb http://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse 清华大学: deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-security main restricted universe multiverse 中国科技大学镜像源: deb https://mirrors.ustc.edu.cn/ubuntu/ noble main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ noble-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ noble-security main restricted universe multiverse 网易镜像源: deb http://mirrors.163.com/ubuntu/ noble main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ noble-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ noble-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ noble-backports main restricted universe multiverse 华为镜像源: deb https://mirrors.huaweicloud.com/ubuntu/ noble main restricted universe multiverse deb https://mirrors.huaweicloud.com/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.huaweicloud.com/ubuntu/ noble-backports main restricted universe multiverse deb https://mirrors.huaweicloud.com/ubuntu/ noble-security main restricted universe multiverse然后准备一些国内的源,可以看到:
提权以后,然后再去执行
vim /etc/apt/sources.liist 然后把里面原来有的那个源给删除掉,全部清空,然后
把我们准备的复制进去,然后esc 然后:wq 保存退出。注意这里要用管理员权限。
bytebot默认安装的这个Ubuntu系统,不是管理员权限进去是 user@computer这个用户
所以要使用sudo -i 执行一下,就可以进行提权。提权成功以后就可以使用root,用户操作
就可以了。
然后再去安装一个
apt install -y iputils-ping
然后再去执行ping 就可以使用ping命令了,刚开始ping命令都没有
可以看到ping命令就可以用了。
然后再去 sudo apt update 去升级一下系统。
升级以后就可以去安装
远程软件了,我们想用它来远程一台Windows11系统,然后直接操作这个远程系统,
这样就实现了使用bytebot来操作我们的win11系统了。
sudo apt install -y remmina remmina-plugin-rdp remmina-plugin-secret
执行这个命令安装远程软件。
然后 安装以后就可以启动了
直接用命令:
cd /usr/bin 到这个目录中以后,然后
./remmina 执行这个命令,然后就可以打开软件界面了
然后点击左侧的加号,然后就可以去连接远程桌面了
可以看到天上,用户名,密码,还有IP地址,然后
双击以后就可以连接成功了。
可以看到连接成功的效果,但是说实话,效果不咋地呢感觉。
远程以后找的坐标不准确,所以我打算。就不用这个了。再试试,看看是怎么回事。
用不了好像是。
大家也可以测试一下如果好用,请分享。
继续搞:
发现如果远程直接操作这个Ubuntu的机器,很好用,但是如果操作远程的机器就不好用了,原因是,有可能跟远程后,分辨率有关,所以需要调整一下remmina的配置。
这个可以用一下豆包啥的具体怎么调。
然后好像用xfreerdp效果会更好,所以我还是继续装一个xfreerdp来试一下。
