Configuration of Raspberry Pi after ArchLinux Installation

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.