Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure rasp-config for raspberry pie

2025-03-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to configure rasp-config for raspberry pie. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

After the first two steps, our raspberry pie has been working normally, but we still need to do some configuration and software installation before we really use it, so that it can be easily developed. Let's introduce some commonly used software and services.

The first time a raspberry pie is used, you need to make a simple configuration to run the following command in command line mode:

$sudo raspi-config

The configuration interfaces of the old and new versions are different. Here are two common ones:

Old version

Expand_rootfs-extends the root partition to the entire SD card (raspberry pie does not use all the space of the SD card by default, some of which are reserved, it is recommended)

Overscan- can expand or shrink the screen (the old version can not adapt to the screen, the new version does not have this option, it seems to be adaptive, without careful study)

Configure_keyboard-Keyboard configuration interface

Change_pass-the default user name is pi and the password is raspberry, which is used for remote connection or serial login with ssh. You can change the password here.

Change_locale-change the language settings. In Locales to be generated:, select en_US.UTF-8 and zh_CN.UTF-8. In Default locale for the system environment:, select en_US.UTF-8 (wait until the machine is started, install the Chinese font, and then change it back to zh_CN.UTF-8, otherwise a box will appear on the first startup).

Change_timezone-because the raspberry pie does not have an internal clock and is acquired through the network, choose Asia-Shanghai.

Memory_split-Video memory configured for desktop display.

Ssh-whether or not to activate the sshd service.

Boot_behaviour-set to start the graphical interface at startup, normally it must be Yes.

New version (most of the newer images are this interface, which has made a lot of changes)

1 Expand Filesystem extends the file system (same as the old version).

2 Change User Password change the default pi user's password, press enter and enter the new pi user's password.

3 selection of environment to enter when Enable Boot to Desktop/Scratch starts up

Console Text console, requiring login (default)

Log in to the character console at startup (the default).

Desktop log in as user 'pi' at the graphical desktop

Enter the desktop of the LXDE graphical interface at startup.

Scratch Start the Scratch programming environment upon boot

Enter the Scratch programming environment at startup.

4 Internationalisation Options internationalization option, you can change the default language

I1 Change Locale

Language and locale, it is recommended not to change, default English is good. If you want to change Chinese, you'd better choose the method to install Chinese fonts after installing Chinese fonts:

Sudo apt-get update

Sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei

Move to the bottom of the screen, select zh-CN GB2312,zh-CN GB18030,zh-CN UTF-8 with the spacebar, then press enter, then select zh-cn by default language and enter

I2 Change Timezone

Set the time zone, if you do not set it, the time of the PI will not display properly. Select Asia (Asia) and then select Chongqing (Chongqing).

I3 Change Keyboard Layout

Change the keyboard layout

5 Enable Camera

Start the camera module of PI. If you want to enable it, select Enable, disable and select Disable.

6 Add to Rastrack

Add the location of your PI to a map around the world that turns on this option. It is recommended that you do not open it, so as not to be tracked.

7 Overclock

None does not overclock, runs in 700Mhz, core frequency 250Mhz, memory frequency 400Mhz, does not increase voltage

Modest moderate overclocking, running in 800Mhz, core frequency 250Mhz, memory frequency 400Mhz, no voltage increase

Medium moderate overclocking, running in 900Mhz, core frequency 250Mhz, memory frequency 450Mhz, increase voltage 2

High highly overclocked, running in 950Mhz, core frequency 250Mhz, memory frequency 450Mhz, increase voltage 6

Turbo ultimate overclocking, running in 1000Mhz, core frequency 500Mhz, memory frequency 600Mhz, increase voltage 6

8 Advanced Options Advanced Settings

Does A1 Overscan allow the screen to be displayed full screen?

Host name that A2 Hostname can see on a network neighbor or router

A3 Memory Split memory allocation, choose how much memory to give to GPU

A4 SSH whether to run SSH login, it is recommended to open an account this option, the future operation of PI is convenient, there is a network on the line, do not need to open the screen.

It doesn't matter whether the A5 SPI starts the SPI kernel driver by default.

A6 Audio chooses whether to output sound to analog port or HDMI port by default.

0 Auto automatic selection

1 Force 3.5mm ('headphone') jack forced output to 3.5mm analog port

2 Force HDMI forced output to HDMI

A7 Update automatically upgrades raspi-config to the latest version

9 About raspi-config information about raspi-config.

The above content is how to configure rasp-config for raspberry pie. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report