The installation steps of the Arch Linux system

Source: Internet
Author: User
Tags locale arch linux

Mode CENTOS7 upgrades a lot of new features, ArchLinux General kernel version, program version is relatively fresh, so ready to install the test.
Virtual machine installation process:

1: Download Http://mirrors.163.com/archlinux/iso/2015.04.01/archlinux-2015.04.01-dual.iso

2:# Cfdisk #我分了两个区, a preparation swap[/dev/sda1], a root directory/[/dev/sda2].

3:# mount/dev/sda2/mnt #挂载分区, if there are other partitions, please refer to the Official document Mount

4:# vi/etc/pacman.d/mirrorlist #将163国内镜像放到最前部


5:# pacstrap-i/mnt Base #安装系统

6:genfstab-u-p/mnt >>/mnt/etc/fstab #生成fstab

7: Configure the System

# arch-chroot/mnt
# Vi/etc/locale.gen #配置locale, language
# Locale-gen
# echo Lang=en_us. UTF-8 >/etc/locale.conf
# Export Lang=en_us. UTF-8
# echo Arch >/etc/hostname #修改计算机名为Arch
# passwd #修改root密码

8: Install Grub
# Pacman-s Grub

# Grub-install--TARGET=I386-PC--RECHECK/DEV/SDA
# Grub-mkconfig-o/boot/grub/grub.cfg

9: Installation Complete

# exit    #退出chroot
# umount/mnt    #卸载mnt
# reboot    #重启

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.