orangePI Lite 安装ubuntu desktop image以及配置

Image安装

Ubuntu desktop lxde下载:
http://www.orangepi.cn/downloadresourcescn/orangepiLite/2018-03-14/oragepilite_26429c7eed39f95d660ef5e1.html
解压后是后缀为img的image文件。

SD卡格式化软件:
https://www.sdcard.org/downloads/formatter/eula_windows/index.html
将SD卡插入读卡器后,插入到电脑,进行格式化,如下图:
orangePI Lite 安装ubuntu desktop image以及配置_第1张图片
下载安装win32 diskmanager:
https://sourceforge.net/projects/win32diskimager/files/Archive/
使用该软件将image文件写入到SD卡中:
orangePI Lite 安装ubuntu desktop image以及配置_第2张图片
将SD卡插入orangePI Lite上,连接USB转串口工具并上电,即可看到系统启动信息。

本人使用的WIN10操作系统,自带的PL2302驱动太新导致无法正常工作,可以参考这篇文章解决:
https://blog.csdn.net/ouening/article/details/70947759

系统启动后,默认用户名密码:root/orangepi
可以使用adduser命令添加用户。

无线网络配置

sudo vim /etc/network/interfaces
添加以下内容并保存,wpa-ssid即无线网络名,wpa-psk为密码:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxx
wpa-psk xxxx

重启后,可以正确获取IP地址,但是ping外网地址时,出现一下Unknow host的错误。
修改/etc/resolv.conf,添加一下内容即可:
nameserver 114.114.114.114

VNC配置

安装:
sudo apt-get update
sudo apt-get install tightvncserver

第一次运行会要求配置密码:
vncserver
运行后会出现VNC地址加端口,使用vncview即可以连接。

Samba配置

安装:
sudo apt-get install samba
修改/etc/samba/smb.conf,添加共享目录名字及本地路径
添加用户名密码:
sudo smbpasswd -a xxx
重启samba服务,即可在windows机器访问:
service smbd restart

你可能感兴趣的:(Robot)