Arch Linux Installation Tutorial Xiaobai can also be installed successfully

Keywords: Arch Linux Linux ArchLinux Vmware

Arch Linux Installation Tutorial

Arch Linux + xface Desktop + Apps + VMWare

According to the teaching video installation on YouTube, summarize the steps
I've played CentOS and Ubuntu before, but I didn't play much in development. When I met a front-end elder in a blog who played Linux very well, my heart was burning again. The elder recommended learning archlinux in the blog (I'm not Han ha outside the door). I'm very curious about Arch Linux. When I installed it, I felt like I met my first love. It's a feel. You have to take it, but the installation of archlinux is a little more difficult than other Linux distributions. Here are the installation steps. The old driver will take you to drive.

Partition, format, Mount

fdisk -l


mkdir /mnt/boot
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda3
mkfs.ext4 /dev/sda3

mount /dev/sda3 /mnt
mount /dev/sda1 /mnt/boot

arch-chroot /mnt

Check network configuration source

ping -c 3
vi /etc/pacman.d/mirrorlist
pacstrap -S /mnt base base-devel
pacstrap -S /mnt grub-bios
genfstab -p /mnt >> /mnt/etc/fstab

arch-chroot /mnt /bin/bash

# Configure locale
nano /etc/locale.gen
    # Uncomment the corresponding language configuration


echo LANG=en_US.UTF-8 > /etc/locale.conf

export LANG=en_US.UTF-8

ls /usr/share/zoneinfo/

rm -rf /etc/localtime

ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

hwclock --systohc --utc

echo archme > /etc/hostname

systemctl enable dhcpd.service

pacman -S openssh

systemctl enable sshd.service

passwd root

useradd -m -g users -G wheel -s /bin/bash suitor

passwd suitor

nona /etc/sudoers
    # Add super administrator rights
    suitor ALL=(ALL) All

grub-install /dev/sda

grub-mkconfig -o /boot/grub/grub.cfg

mkinitcpio -p linux

# Exit the installation environment

umount /mnt/boot
umount /mnt

Enter the system and install the desktop

pacman -Syu

pacman -Sy xorg xterm xorg-twm xorg-xinit xorg-server-utils

pacman -Syu

pacman -Sy xface4 xface4-goodies

pacman -Sy ttf-freefont

pacman -Sy linghtdm lightdm-gtk-greeter

systemctl enable lightdm.service

pacman -Sy firefox qt4 vlc gimp flashplugin

pacman -Sy libreoffice filezilla archlinux-wallpaper


Enter the interface system and open xface terminal

sudo suitor

pacman -Sy gtkmm net-tools

pacman -Sy open-vm-tools

# Installing the video card driver
pacman -Sy xf86-video-vmware

pacman -Sy xf86-input-vmmouse

systemctl enable vmtoolsd.service


If you encounter problems during the installation process, you can leave me a message and I will see a reply.

Posted by usvpn on Mon, 30 Mar 2020 21:51:54 -0700