Install ArchLinux(draft)

1.# dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

2. # timedatectl set-ntp true

3. # cfdisk

4. # mkfs.ext4 /dev/sda1

5. #mount /dev/sda1 /mnt

6. # vim /etc/pacman.d/mirrorlist

7. # pacstrap /mnt

8. #genfstab -U /mnt >> /mnt/etc/fstab

9. # arch-root /mnt

10: # ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

11. # hwclock --systohc --utc

12. # vi /etc/locale.gen

13. # locale-gen

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

15. # echo proxy > /etc/hostname

16. # passwd

17.#  pacman -S grub

18. # grub-install /dev/sda

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

20. # exit

21. # reboot

上一篇:centos6 7 yum安装mongodb 3.6


下一篇:Office EXCEL VBA数组如何使用