Recently changed a Haier t6-3 notebook computer, so installed ArchLinux x64 with Mate desktop environment, now the installation process is recorded as follows: 1. To create the installation media, you can burn a disc or use a USB stick. If you want to make a USB flash drive, you can use the DD if=archlinux-2014.12.01-dual.iso of=/dev/sdb bs=4m under Linux, Usbwriter can be used under Windows. 2. USB flash drive or CD-ROM boot, first use the "IP link" command to see the name of the network device, if the IP address is automatically obtained, the "DHCPCD device name" To assign the IP address, if the IP is set manually, then: &NBSP;&NBSP;&NBSP;&NBSP;IP Link Set Device name up #启用网络设备 (e.g. Enp8s0) ip addr Add/ < subnet masks such as 24> Dev < device name > #设置IP地址 ip route Add default via < gateway address > #设置网关 Then edit the/etc/resolv.conf and add the "nameserver" 3. For the 2nd step, if you are using a wireless card, use the IP link set < wireless device name > up after using Wifi-menu < wireless device name > To configure. 4. Fdisk or CFDISK/DEV/SDA partition, after the partition is complete with MKFS to format the ordinary partition, with Mkswap to make swap partition, for example: mkfs.ext4/dev/sdax mkswap/dev/sday swapon/dev/sday 5. Mount the partition to the/MNT directory, for example: mount/dev/sdax/mnt mkdir/mnt/boot && Mount/ Dev/sday/mnt/boot 6. Edit/etc/pacman.d/mirrorlist, put your favorite mirror in front, and then pacstrap/mnt base Base-devel. If you want to choose which packages to install, you can add the "-i" parameter after pacstrap. 7. Genfstab-u-p/mnt >>/mnt/etc/fstab Generate Fstab, then edit, only the last field of the root partition is 1 and the rest is 2 or 0. You also need to remove data=ordered because it is enabled by default. 8. Arch-chroot/mnt/bin/bash, then you can use Pacman to install the software. 9. Edit the/etc/locale.gen, remove the # before the desired locale, and then Locale-gen. 10. Echo Lang=en_us. UTF-8 >/etc/locale.conf export lang=en_us. Utf-8 11. Edit/etc/vconsole.conf, Write: keymap=us font= Font_map= 12. Set time zone: ln-s/usr/share/zoneinfo/asia/chongqing/etc/localtime hwclock--SYSTOHC- -localtime 13. Echo Host name >/etc/hostname 14. Edit Pacman General Profile/etc/pacman.conf, join [archlinuxfr] siglevel = Never server = http://repo.archlinux.fr/$arch 15. First pacman-syy after, Pacman-s yaourt customizepkg aurvote. 16. Edit/etc/mkinitcpio.conf, add AHCI to modules, and then Mkinitcpio-p linux 17. Install GRUB2, first pacman-s Intel-ucode grub Os-prober, followed by Grub-install--target=i386-pc--recheck/dev/sda & nbsp, and finally Grub-mkconfig-o/boot/grub/grub.cfg 18. If you previously installed over a wireless network, you also need to pacman-s IW Wpa_supplicant dialog to ensure that you can use Wifi-menu to configure your wireless network after a reboot. 19. passwd Change the root password, remove the/MNT mounted partition after exit, for example: umount/mnt/boot umount/mnt reboot reboot requires the system time to be changed back to the correct local time 20 in the BIOS. Build Normal User: useradd-m-G users,audio,lp,optical,storage,video,wheel,power-s/bin/bash Normal user name &NBSP;&NBSP;&NBSP;&NBSP;PASSWD Ordinary user name 21. Add the user to the sudo list: Run Visudo, join %wheel all= (All) all 22. Log in with a normal user, mkdir ~/.config, and then aurvote--configure configuration aur 23. PacMan-s alsa-utils Alsa-oss, new/etc/modprobe.d/alsa-base.conf with: options SND_PCM index=0 options Snd_hda_intel index=1 24. Installation x:pacman-s xorg-server xorg-xinit xorg-server-utils dbus xf86-video-intel nvidia Xf86-input-evdev Xf86-input-synaptics, reboot after installation. 25. Installation font: pacman-s ttf-dejavu ttf-bitstream-vera wqy-zenhei Ttf-arphic-ukai ttf-arphic-uming opendesktop-fonts Ttf-inconsolata ttf-ubuntu-font-family 26. Install Mate desktop environment, etc.: pacman-s gamin mate Mate-extra P7zip ntfs-3g 27. Mate developer recommends using LIGHTDM, so install: Pacman-s lightdm-gtk2-greeter, then join boot: systemctl enable LIGHTDM 28. Install Input Method: Pacman-s fcitx fcitx-configtool fcitx-googlepinyin fcitx-cloudpinyin fcitx-gtk2 29. Edit ~/.xprofile file, make Input Method boot, enter the following content: export lc_all= "ZH_CN. UTF-8 " export [Email protected]=fcitx export GTK_IM_MODULE= Fcitx export QT_IM_MODULE=FCITX&NBSP;&NBSp; fcitx-d 30. Install WICD to manage your network: pacman-s wvdial wicd-gtk systemctl Enable Wicd.service If you do not want to use WICD to manage the network, you can use NetworkManager, install Networkmanager, network-manager-applet and gnome-keyring, Then Systemctl Enable networkmanager.service can. 31. Install MySQL, then perform mysql_install_db--user=mysql--basedir=/usr--datadir=/var/lib/mysql, then run my_secure_installation settings password, etc. 32. Install PostgreSQL, and then run Initdb--locale zh_cn. UTF-8-E utf8-d '/var/lib/postgres/data ' initializes the database. 33. Two days to find their own Realtek 8723be wireless network card when the interruption, Google after a few to https://github.com/lwfinger/rtlwifi_new download the latest driver, Run make install after installing Linux-headers to complete the installation.
Haier t6-3 install ArchLinux x64 and Mate desktop environments