Configuration of Raspberry Pi after ArchLinux Installation
First modify the source
# vi /etc/pacman.d/mirrorlistServer = http://mirrors.ustc.edu.cn/archlinuxarm/$arch/$repo
Install the software package group base-devel so that gcc or make is not missing during compilation.
# pacman -S base-devel
Network toolkit
Ifconfig, route in net-tools, nslookup, dig in dnsutils, ftp, telnet, etc. in inetutils, ip
CommandIn iproute2.
# pacman -S net-tools dnsutils inetutils iproute2
Time zone and Synchronization)
# vi /etc/rc.confTIMEZONE="Asia/Shanghai"
You also need to make a soft link to the specific zoneinfo in/etc/localtime.
# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Raspberry does not have a hardware clock, and the restart time of each shutdown is back to the initial 1970, so we need to set the network synchronization time.
# vi /etc/ntp.confserver 1.cn.ntp.org iburstserver 0.asia.pool.ntp.org iburstserver 3.asia.pool.ntp.org iburst
Start the instance
# timedatectl set-ntp true
Raspberry Pi overclock, armfreq: ARM processor frequency, unit: MHz. The default value is 700. The simplest way is to change the value of "armfreq" to "900" and add "sdram_freq = 500 ". One-step flash sales is very easy.
# vi /boot/config.txt
Language Support
Edit the/etc/locale. gen file, remove the # Before the language project, save the file, and execute:
# locale-gen
The system starts to generate the required language.
Finally, use the following command to set the global locale of the system (assuming that the locale of the system is set as the zh_CN.UTF-8)
# localectl set-locale LANG="zh_CN.UTF-8"
Install Chinese Fonts
# Pacman-S ttf-dejavu wqy-microhei # optional, Dejavu and wenquanyi-micron black font
Chinese characters are displayed after restart.