-
cfdisk, mkfs.ext4, mount
-
network
for wired:
dhcpcd
for wireless:
wifi-menu
-
mirrorlist
\# www.archlinux.org/mirrorlist/all nano /etc/pacman.d/mirrorlist pacman -syy
-
install basic system
pacstrap /mnt base base_devel vim
-
make fstab
genfstab -p -U /mnt >> /mnt/etc/fstab # -U --> UUID # -L --> Label # after installation, remove /lib/tmpfiles.d/uuidd.conf
-
change root
arch-chroot /mnt
-
select a mirror
vim /etc/pacman.d/mirrorlist
-
locale
vim /etc/locale.gen locale-gen echo LANG=en_US.UTF-8 > /etc/locale.conf echo Asia/Shanghai > /etc/timezone echo arch > /etc/hostname ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime hwclock --systohc --utc
-
Create an initial ramdisk environment
mkinitcpio -p linux
-
install and configure a bootloader
pacman -S syslinux syslinux-install_update -iam vim /boot/syslinux/syslinux.cfg
-
passwd, useradd, exit
useradd -m peter
-
unmount, reboot
-
Configures and Softwares
paclist core
paclist extra
paclist community
-
sudo
vim /etc/sudoers # peter ALL=(ALL) ALL
-
slim
vim /etc/slim.conf # current_theme archlinux-simplyblack
-
xf86-input
xf86-input-keyboard xf86-input-mouse xf86-input-synaptics # for notebook touchpads xf86-input-vmmouse # for vmware mouse
-
If systemd change network interfaces, reseting as following:
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules or mv /usr/lib/udev/rules.d/80-net-name-slot.rules /usr/lib/udev/rules.d/80-net-name-slot.rules.bak
-
PDF for Chinese
pacman -S poppler-data
-
install grub
os-prober pacman -S grub-bios grub-install --recheck /dev/sda cp /usr/share/locale/en@quot/LC_MESSAGS/grub.mo /boot/grub/locale/en.mo grub-mkconfig -o /boot/grub/grub.cfg
-
qt-theme
vim ~/.config/Trolltech.conf - [qt] - style=GTK+
-
clipboard in fcitx
Ctrl + ;
-
solve “GPGME ERROR: No Data”
vim /etc/pacman.conf - SigLevel = Never
-
Network Time Protocol Daemon
pacman -S ntp vim /etc/ntp.conf - server {0..3}.asia.pool.ntp.org hwclock -w systemctl enable ntpd reboot \# list configured peers ntpq -np
-
change NIC’s MAC address
pacman -S macchanger
-
Acoustic spectrum analyser