ArchLinux Concise Installation Tutorial

Source: Internet
Author: User
Tags locale set time

  archlinux is a very good distribution, highly customizable, and does not spend as much time compiling as Gentoo does. Installing ArchLinux is undoubtedly a familiarity and learning of the Linux distribution architecture. At present, the online tutorial has been basically expired, and the official wiki on the relevant software collocation is not carefully described. Follow the steps in this article and you will eventually get a archlinux of the KDE environment. But I did not configure the printer, specifically please wiki cups. The installation can be divided into three parts: the installation of the basic system to drive the installation of the desktop Environment  1. Basic system installation HDD partition Mount/dev/sda2/mntmkdir homemount/dev/sda7/mnt/home  Update Mirrorlist recommended domestic users choose mirrors.163.com, but before I installed the time found 163 source a bit of a problem, so I recommend you also open mirrors.ustc.edu.cn default mirrorlist is to open all sources, So we use SED to precede all sources with #cd/etc/pacman.d sed-i "s/^\b/#/g" Mirrorlistnano mirrorlist# Remove the mirrors.ustc.edu.cn and mirrors.ustc.edu.cn front # pacman-syy  Install base system we only need to install base and base-develpacstrap/mnt base base-devel net-tools# If you want to use tools such as Ifconfig, add the net-tools  generated fstab on the boot and we need to mount the partition correctly, which requires fstab Here I'm using the UUID way to identify genfstab-u-p/mnt >>/mnt/etc/fstab change Directory arch-chroot/mnt/bin/bash config locale open locale.gen cd /etc Nano locale.gen# will be en_us. Utf-8,zh_cn. Gbk,zh_cn. Gb2312,zh_cn. Gb18030,zh_cn. UTF-8 before the # remove Locale-genecho lang=zh_cn. UTF-8 >> locale.confnano vconsole.conf# Input #KEYMap=us #FONT = set time zone ln-s/usr/share/zoneinfo/asia/shanghai/etc/localtime# before Manjaro bug seems to affect my hardware clock read, if you have time also encountered a problem, Can be soft-link UTC Set host name echo hostname >>/etc/hostname generate RAMDisk If you use/usr as a standalone partition, you will also need to configure mkinitcpio.conf, which has a note in the file mkinitcpio-p Linux User Configuration passwd# modify root password useradd-m-G users-g wheel-s/bin/bash username passwd user name Install grub (non-UEFI) pacman-s Grub-biosgrub-insta ll/dev/sdacp/usr/share/locale/en\ @quot/lc_messages/grub.mo/boot/grub/locale/en.mo# It is said that this step is to solve a buggrub-mkconfig-o/boot/grub/grub.cfg that has not been repaired restart exit #推出chrootumount/mnt/{home,boot}umount/mntreboot  # #驱动安装#安装ALSA (sound card)pacman-s alsa-utilsalsamixer #调节音量Installing the video driverI'm using the SNB-series processor's nuclear display.pacman-s Mesa Xf86-video-intel#我用的是intel的核显, specific wiki of our own#安装synaptics驱动pacman-s xf86-input-synaptics  # #桌面环境的安装#安装xorgpacman-s xorg-server xorg-xinit xorg-utils xorg-server-utilsPacman-s XORG-TWM Xorg-xclock xterm #安装cinnamonpacman-s Cinnamon #无线网络pacman-s wpa_supplicant Dialog#systemctl enable Networkmanager.service #开启网络管理服务#systemctl enable Kdm.service #开启kdm #安装 NTFS-related packages so that you can read and write NTFS-formatted removable hard disks and USB drives:pacman-s ntfs-3g ntfsprogs #配置XCP/ETC/SKEL/.XINITRC ~/.XINITRC
Nano ~/.xinitrc
EXEC Gnome-shell# #安装常用软件 # Install Ultimate Shell zshpacman-s zsh cp/home/squid/software/zshrc/home/squid/.zshrcchsh-s/bin/zsh squid #安装字体pacman-S Ttf-dejavu wqy-microhei# Install Input Method fcitxpacman-s Fcitx-im fcitx-configtool #配置fcitx #kdm, GDM, LightDM and other display manager users, to~/.xprofileAdd the above command #startx or slim user, to~/.XINITRC, add the above command before the EXEC statement. Export Gtk_im_module=fcitxexport qt_im_module=fcitxexport xmodifiers= "@im =fcitx" #安装下载软件pacman-S wget deluge FileZilla #安装终端pacman-S xfce4-terminal #pacman-S Rxvt-unicode #安装媒体播放器pacman-S MPlayer smplayer Deadbeef #安装vimpacman- S vim systemctl enable Rxvt-unicode mplayer smplayer gedit #vi/etc/hosts set host127.0.0.1 localhost.localdomain Loc Alhost xyz::1 localhost.localdomain localhost xyz #ArchLinux的包管理系统: Pacman Remember to open the network Oh DHCPCD want it to start automatically open the network: SYSTEMCTL Enable[email protected]# Systemctl Enable Networkmanager.service #开启网络管理服务

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.