In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about the configuration of raspberry pie after installing ArchLinux, which many people may not know very well. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Modify the source first
# vi / etc/pacman.d/mirrorlistServer = http://mirrors.ustc.edu.cn/archlinuxarm/$arch/$repo
Install the package group base-devel so that there is no lack of gcc or make at compile time
# pacman-S base-devel
Network tool kit
Ifconfig,route is in net-tools, nslookup,dig is in dnsutils, ftp,telnet is in inetutils, and the ip command is in iproute2.
# pacman-S net-tools dnsutils inetutils iproute2
Time Zone and synchronization (TimeZone)
# vi / etc/rc.confTIMEZONE= "Asia/Shanghai"
Also make a soft link in / etc/localtime to the specific zoneinfo.
# ln-sf / usr/share/zoneinfo/Asia/Shanghai / etc/localtime
Raspberry does not have a hardware clock, and each shutdown and restart time goes back to the original 1970, so we have 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
Then turn it on and start it up
# timedatectl set-ntp true
Raspberry Pi overclocking, the frequency of the armfreq:ARM processor, in MHz. The default value is 700. The easiest way is to change the value of "armfreq" to "900" and add" sdram_freq=500 ". One step and one second, it's very easy.
# vi / boot/config.txt
Language support
Edit the / etc/locale.gen file, remove it from the front of the language project, save the file, and execute:
# locale-gen
The system starts to generate the required language.
Finally, set the global locale of the system with the following command (assuming that the locale of the system is set to zh_CN.UTF-8 here)
# localectl set-locale LANG= "zh_CN.UTF-8"
Install Chinese fonts
# pacman-S ttf-dejavu wqy-microhei # optional, Dejavu and Wenquanyi-micron black font
It will be in Chinese after reboot.
After reading the above, do you have any further understanding of the configuration of the raspberry pie after installing ArchLinux? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.