VMWAREWORKSTATIONS14 Installing Arch

Source: Internet
Author: User
Tags get ip locale

One, CLI installation
Boot system, enter the system after the name of the prompt for "[email protected] ~ #"
1. Verify that the startup mode of the confidant is UEFI or Biso, if the following file is not found is the BIOS boot mode.
# Ls/sys/firmware/efi/efivars
2. Check if you can surf the Internet.
#ping-C2 8.8.8.8
3. Update the system time
# Timedatectl SET-NTP True
4. Mount the partition: Plan your own partition. My plate is 20G. Plan as follows
Sda1/boot 1G
sda2/18g
Sda3 Swap 1G
#fdisk-L View "identity" of my virtual disk, my is SDA
#fdisk/DEV/SDA #进行磁盘分区, the concrete process is slightly
5. Formatting partitions
# MKFS.EXT4/DEV/SDA1
# Mkfs.ext4/dev/sda2
# Mkswap/dev/sda3
6. Mount Partitions
#mount/dev/sda2/mnt
#mkdir/mnt/boot
#mount/dev/sda1/mnt/boot
#swapon/dev/sda3
7. Installing the base system
# pacstrap-i/MNT Base Base-devel
You need to download a hundreds of M package and wait more than 10 minutes.
8. Generate the Fstab file
# genfstab-u/mnt >>/mnt/etc/fstab
See if it is correct after the build.
#cat/mnt/etc/fstab
9 chroot to the installed system
# arch-chroot/mnt
At this time, the name prompt changes to "[[email protected]/]#"
10 Setting the time zone
# Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime
Synchronizing system time to hardware time
# Hwclock--SYSTOHC
11. Set the encoding to cancel the comments on the following three lines
#vi/etc/locale.gen
en_US. UTF-8 UTF-8
Zh_cn. UTF-8 UTF-8
Zh_tw. UTF-8 UTF-8
# echo Lang=en_us. UTF-8 >/etc/locale.conf
Then execute locale-gen to generate locale information
# Locale-gen
12. Set Host Name
# echo Rockley >/etc/hostname
13. Modify the Hosts file
#vi/etc/hosts
127.0.0.1localhost.localdomainlocalhost
:: 1localhost.localdomainlocalhost
127.0.1.1rockley.localdomainrockley
14. Set the root password
#passwd
15. Installing the Boot Program
#pacman-S Grub
The Intel CPU is used to install the Intel-ucode
#pacman-S Intel-ucode
#grub-install--TARGET=I386-PC/DEV/SDA
#grub-mkconfig-o/boot/grub/grub.cfg
16 Quit reboot
#exit
#reboot
Second, GUI installation
1. Install the Windows Management System. Xorg is an open source implementation of version 11 of the X Window System, providing a graphical user interface
Install packages
Just start without IP, get IP first
#dhcpd
#pacman-S Xorg-server xorg-apps
Installing the video driver
#pacman-S Xf86-video-intel
2. Install the desktop environment
2.1 Install KDE here
#pacman-S plasma kde-applications KDE-L10N-ZH_CN
2.2 You can also install Xfce
#pacman-S Xfce4 xfce4-goodies
3. Install Desktop Manager
#pacman-S SDDM
4. Set Boot SDDM
#systemctl Enable SDDM
5. Configure the Network
#systemctl Enable NetworkManager
#systemctl Disable Netctl
Install the toolbar tool to display the network settings icon
Pacman-s Network-manager-applet
6. Create a normal user
# useradd-m Username
7. Restart

VMWAREWORKSTATIONS14 Installing Arch

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.