树莓派的安装

1、首先下载树莓派的系统 ,准备SD卡,使用win32 disk image将系统写进SD卡

2、将SD卡插入树莓派,通电启动

3、使用连接树莓派与路由器,在路由器上获取树莓派的IP

4、使用ssh登录树莓派 账号密码为  pi    raspberry

5、先进行sudo raspi-config 配置,配置expand那项,意思是扩展树莓派根目录的空间,需重启。

6、编辑 /etc/apt/source.list文件  向其中加入源:

deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi 
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi 
deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi 
deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi 
deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi 
deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

7、执行sudo apt-get update升级

安装基本完成

具体详细步骤参考  http://www.360doc.com/content/12/0921/16/193068_237414557.shtml

原文地址:https://www.cnblogs.com/playboysnow/p/5117617.html