Jeston nano入门简介(一) 配置系统
小白第一次写博客,如有错误,请大神指出!
1.烧录系统
1.下载系统
框选中的就是适用于Jeston Nano B01的镜像
下载链接:https://developer.nvidia.com/zhcn/embedded/downloads
只需要下载和安装系统镜像即可完成Jetson Nano的大部分环境配置。
2.烧录
1.选用一张32G的SD卡,基本满足我们初学者的使用。
2.先用镜像工具SDFormatter将SD卡格式化
读卡器插上后软件会自动检测SD卡。
3。使用 balenaEtcher-Portable软件烧录系统
图片里写错了,应该是读卡器!!!
该软件可以直接在网上进行下载和安装,点击Flash,烧录大概20分钟左右。
2.开机和基本设置
开机前将烧录完成的SD卡插入板子背后的卡槽,接上电源,开机!
这里采用的是USB口供电。
初次安装需要进行基本的配置,具体根据提示完成即可。由于没有购买无线网卡,只能采用网线的方式上网了。配置完成后,直接进入桌面!
3.开发环境的配置
1更新源和软件
Jeston Nano自带的软件源更新很慢,更换成国内的软件源,我们换成清华源镜像
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo gedit /etc/apt/sources.list
将原来的系统自带的源备份,换成以下内容
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universe
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universe
换源结束,打开终端,输入下列命令进行更新:
sudo apt-get update
sudo apt-get full-upgrade
2.opencv的安装
系统镜像中预先安装好了opencv,可以使用命令来查看版本
opencv_version
所以我们可以直接使用opencv
3安装python常用的包
最后安装一些常用的包,就可以开始学习啦!
sudo apt-get install python3-numpy
sudo apt-get install python3-scipy
sudo apt-get install python3-pandas
sudo apt-get install python3-matplotlib
sudo apt-get install python3-sklearn