Raspberry Pi 初始化

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhu126fang/article/details/49387713

1. 安装完成后,根据查询的ip地址替换ip,进入raspberrypi

注:可以通过路由器查询

C:\Users\Administrator>ssh pi@192.168.1.105
pi@192.168.1.105's password:
Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Oct 24 12:10:25 2015 from 192.168.1.102
pi@raspberrypi ~ $

2.设置root密码

pi@raspberrypi ~ $ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
pi@raspberrypi ~ $ su root
Password:
root@raspberrypi:/home/pi#

3. 扩展容量

sudo raspi-config进入配置

选择第一个选项,确认,重启


4. 查询新的磁盘容量

pi@raspberrypi ~ $ df -alh
Filesystem      Size  Used Avail Use% Mounted on
rootfs           15G  2.4G   12G  18% /
/dev/root        15G  2.4G   12G  18% /


阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页