Arch command Installation

Source: Internet
Author: User

Arch command installation download arch: url code http://mirrors.163.com/archlinux/iso/2012.12.01/archlinux-2012.12.01-dual.iso www.2cto.com make U disk Installation Boot: terminal Execution Code dd if = archlinux-2012.12.01-dual.iso of =/dev/sdb hard disk partition: the terminal executes the code cfdisk #/dev/sda1 -----/boot ----- 100 M #/dev/sda2 ----- swap ------ 2G #/dev/sda3 -----/--------- 6G to create/boot AND/ partition File System: the terminal executes the code mkfs. ext4/dev/sda1 mkfs. ext4/dev/sda3 create a swap partition file system and activate the swap partition: the terminal executes the code mkswap/dev/sda2 & swapon/dev/sda2 to mount the file system: the terminal executes the code mount/dev/sda3/mnt mkdir/mnt/boot mount/dev/sda1/mnt/boot link network: the terminal executes the code dhclient to set the image server address of the pacman package: the terminal executes the code vi/etc/pacman. d/into List add content code Server = http://mirrors.163.com/archlinux/javasrepo/ OS /$arch download and install the basic system, compilation tool, boot program and editor from the Server: the terminal executes the code pacbench/mnt base-devel syslinux vim to generate the fstab file for automatic mounting when the boot system: the terminal executes the code genfstab-p/mnt>/mnt/etc/fstab Chroot to the new system: the terminal executes the code arch-chroot/mnt to set the Host Name: run the code vi/etc/hostname # On the terminal to add the host name to modify the hosts file: run the code vi/etc/hosts on the terminal # Add a space after the localhost value in the

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.