安装

网上很多教程不用多说了
安装完使用账号密码都是ubuntu登录
强制要求你改密码,输入两遍后更改

启动:

若卡在什么scanning bus处,建议拔掉所有USB设备重新启动试试。
供电(5V2A以上)要给力!

联网:

刚开始想用WIFI,太麻烦
直接插网线,发现ifconfig没用
提示要安装net-tools
结果没换源装不了
(不会有人用键盘手敲换源吧)

SSH连接:

有了ssh连接,换源就方便了(可以直接复制)。先通过路由器,查询到一个叫ubuntu的设备,使用该设备ip进行ssh连接。

apt换源:

先备份

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

使用VIM编辑器打开

sudo vi /etc/apt/sources.list

最好不要直接复制网上的换源代码或者文件内容!!!!!!
(亲测有些直接复制无效,具体区别可以看下面文件)
直接修改原本的文件是最稳的,如果嫌麻烦就复制出来到记事本改完再复制回去

## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
##     or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.ustc.edu.cn/ubuntu-ports focal main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.ustc.edu.cn/ubuntu-ports focal-updates main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.ustc.edu.cn/ubuntu-ports focal universe
# deb-src http://ports.ubuntu.com/ubuntu-ports focal universe

只需更改域名即可(这里用的是中科大源)
即 ports.ubuntu.com ----> mirrors.ustc.edu.cn
然后

sudo apt-get update

再安装想要的包即可

pip换源:

首次更换,先创建pip.conf文件:

mkdir ~/.pip
cd ~/.pip
touch pip.conf

编辑

sudo vi ~/.pip/pip.conf

文件内输入

[global] index-url = http://pypi.douban.com/simple

国内常用源

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
阿里云 http://mirrors.aliyun.com/pypi/simple/
豆瓣 http://pypi.douban.com/simple/

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐