树莓派配置

来源:互联网 发布:四维星瓷砖设计软件 编辑:程序博客网 时间:2024/04/29 10:54

1、先更新再升级

sudo apt-get update

    Sudo apt-get upgrade

 

2、设置为美式键盘、修改时区

sudo raspi-config

参考:http://blog.csdn.net/xukai871105/article/details/38374197

3、设置显示中文

参考:

http://shumeipai.nxez.com/2016/03/13/how-to-make-raspberry-pi-display-chinese.html#more-2377

 

4、修正日期时间

1.使用date查看时间

2.修改时区:sudo dpkg-reconfigure tzdata

选择asia->chongqing

3.校准时间:sudo ntpd -s -d

4.添加一些国内可用的ntp服务器

打开ntp服务的配置文件sudo nano /etc/ntp.conf

 

后添加:server ntp.fudan.edu.cn iburst perfer

添加之后按Ctrl+X保存退出。

5.重启ntp服务:sudo /etc/init.d/ntp restart

5、远程连接树莓派

使用putty,输入树莓派ip、用户名(pi)、密码(raspberry

http://shumeipai.nxez.com/2013/09/07/using-putty-to-log-in-to-the-raspberry-pie.html

0 0