Raspi-config(Raspberry Pi Software Configuration Tool)是树莓派的官方配置工具,使用它可以对树莓派进行很多的系统配置。比如扩展树莓派的根分区,设置启动树莓派时进入的界面,修改树莓派的默认用户密码、更改语言、设置时区、超频等等。下面就来学习一下。
一、进入Raspi-config
在桌面环境下,pi启动时会自动进入Raspi-config配置环境;在终端或者远程链接的情况下,使用一下命令进入Raspi-config配置环境。
sudo Raspi-config
id="iframe_0.6713711186312139" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://blog-lxx1.qiniudn.com/wp-content/uploads/2016/02/%25E4%25BD%25BF%25E7%2594%25A8sudo_raspi-config%25E8%25BF%259B%25E5%2585%25A5%25E9%2585%258D%25E7%25BD%25AE%25E7%2595%258C%25E9%259D%25A2.png?_=5479552%22%20style=%22border:none;max-width:669px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.6713711186312139',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; width: 669px; height: 423px; ">
使用sudo_raspi-config进入配置界面
二、Raspi-config主要配置选项。
配置环境是一个蓝色的图形化界面,可以用光标进行上下移动,使用Esc退出设置。主要配置选项如下:
1 Expand Filesystem Ensures that all of the SD card storage is available to the OS
2 Change User Password Change password for the default user (pi)
3 Boot Options Choose whether to boot into a desktop environment or the command line
4 Wait for Network at Boot Choose whether to wait for network connection during boot
5 Internationalisation Options Set up language and regional settings to match your location
6 Enable Camera Enable this Pi to work with the Raspberry Pi Camera
7 Add to Rastrack Add this Pi to the online Raspberry Pi Map (Rastrack)
8 Overclock Configure overclocking for your Pi
9 Advanced Options Configure advanced settings
10 About raspi-config Information about this configuration tool
id="iframe_0.13950941758230329" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://blog-lxx1.qiniudn.com/wp-content/uploads/2016/02/raspi-config%25E9%2585%258D%25E7%25BD%25AE%25E7%2595%258C%25E9%259D%25A2.png?_=5479552%22%20style=%22border:none;max-width:669px%22%3E%3Cscript%3Ewindow.onload%20=%20function%2