切换到宽版
  • 4411Read
  • 0Replay

Raspberry Pi初始化 [复制链接]

上一主题 下一主题
离线admin
 

只看楼主 倒序阅读 使用道具 楼主  posttime: 2015-11-05
1. 安装完成后,根据查询的ip地址替换ip,进入raspberrypi
注:可以通过路由器查询
  1. C:\Users\Administrator>ssh pi@192.168.1.105  
  2. pi@192.168.1.105's password:  
  3. Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l  
  4.   
  5. The programs included with the Debian GNU/Linux system are free software;  
  6. the exact distribution terms for each program are described in the  
  7. individual files in /usr/share/doc/*/copyright.  
  8.   
  9. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent  
  10. permitted by applicable law.  
  11. Last login: Sat Oct 24 12:10:25 2015 from 192.168.1.102  
  12. pi@raspberrypi ~ $  

2.设置root密码

  1. pi@raspberrypi ~ $ sudo passwd  
  2. Enter new UNIX password:  
  3. Retype new UNIX password:  
  4. passwd: password updated successfully  
  5. pi@raspberrypi ~ $ su root  
  6. Password:  
  7. root@raspberrypi:/home/pi#  

3. 扩展容量
  1. sudo raspi-config
选择第一个选项,确认,重启


4. 查询新的磁盘容量
  

  1. pi@raspberrypi ~ $ df -alh  
  2. Filesystem      Size  Used Avail Use% Mounted on  
  3. rootfs           15G  2.4G   12G  18% /  
  4. /dev/root        15G  2.4G   12G  18% /  
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个