安装archlinux-2017.11.01 & deepin桌面
root# ip addr
root# ping -c 3 www.google.com
root# clear
root# fdisk -l
root# cfdisk /dev/sda
root# mkfs.ext4 /dev/sda1
root# mkswap /dev/sda2
root# swapon /dev/sda2
root# mkfs.ext4 /dev/sda3
root# mount /dev/sda3 /mnt
root# mkdir /mnt/boot /mnt/var /mnt/home
root# mount /dev/sda1 /mnt/boot
root# pacstrap /mnt base base-devel
root# pacstrap /mnt grub-bios
root# genfstab -p /mnt >> /mnt/etc/fstab
root# arch-chroot /mnt /bin/bash
root# nano /etc/locale.gen
root# locale-gen
root# echo LANG=en_US.UTF-8 > /etc/locale.conf
root# export LANG=en_US.UTF-8
root# rm -rf /etc/localtime
root# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
root# hwclock --systohc --utc
root# echo arch_deepin_themes > /etc/hostname
root# systemctl enable dhcpcd.service
root# pacman -Sy openssh
root# systemctl enable sshd.service
root# passwd root
root# useradd -m -g users -G wheel -s /bin/bash john
root# passwd john
root# nano /etc/sudoers
root# grub-install /dev/sda
root# grub-mkconfig -o /boot/grub/grub.cfg
root# mkinitcpio -p linux
root# exit
root# exit
root# umount /mnt/boot
root# umount /mnt
root# reboot
root# ping -c 3 www.google.com
root# pacman -Syyu
root# pacman -Sy xorg xorg-xinit
root# pacman -Sy deepin deepin-extra
root# pacman -S ttf-freefont
root# pacman -Syy lightdm lightdm-gtk-greeter
root# systemctl enable lightdm.service
root# pacman -Sy firefox qt4 vlc gimp flashplugin
root# pacman -Sy virtualbox-guest-utils (virtualbox中如果不生效安装linux-headers)
root# reboot
# sudo pacman -S wqy-zenhei ttf-fireflysung ( 中文字体)
# sudo pacman -S ntfs-3g (ntfs分区写入)


0 评论:
发表评论