Author: Potter)
Essay Address: http://blog.csdn.net/sunnypotter/article/details/23201191
Then install ArchLinux on the USB flash drive (specially purchased the 16G3. 0U disk)
Now we want to install xorg-server for Archlinux, and DE (desktop environment ):
#1. Disable the PC speaker
# Vim/etc/modprobe. d/nopcspkr. conf
Blacklist pcspkr
#2.1 create a user:
Useradd-m-g users-s/bin/bash sunny
#2.1.1 locale
Vim/etc/locale. gen
+ En_US.UTF-8 UTf-8
+ Zh_CN.GBK GBK
+ Zh_CN.UTF-8 UTF-8
+ Zh_CN GB2312
Locale-gen
#2.2 install X:
Pacman-S xorg-server xorg-xinit xorg-utils xorg-server-utils mesa
#2.3. graphics card driver
Pacman-S xf86-video-vesa # universal graphics card driver, without any 2D and 3D acceleration features
Pacman-S xf86-video-intel # Intel
Pacman-S xf86-video-nouveau # Nvidia
Pacman-S nouveau-dri
# Pacman-S xf86-video-ati # Ati
#
# Virtual Machine: pcaman-S xf86-video-vesa
#2.4 notebook touchpad support
Xf86-input-synaptics for pacman-S
#2.5 test whether X works normally
Pacman-S xorg-twm xorg-xclock xterm
#2.6 now you can start X with startx to see the simple graphical interface.
Startx
#3. Install the desktop (xfce4 kde lxde gnome ):
# Pacman-S gnome # gnome-session
Pacman-S kde # kde
Cp/etc/skel/. xinitrc $ HOME/. xinitrc
Vim. xinitrc
# + Xrandroid-s 1366x768 # screen resolution
+ Exec startkde # kde
# + Exec gnome-session # gnome
#4. Install the fcitx Input Method
Pcaman-S fcitx
Pcaman-S kcm-fcitx # For kde
Pacman-S fcitx-googlepinyin # Google pinyin
# Configure the Chinese Input Method:
Fcitx-configtool
# In Input Method-> remove the Only Show Currentt Language check box-> Search Chinese-> Google Pinyin
# Add the following in $ HOME/. xinitrc:
Vim $ HOME/. xinitrc
+ Export GTK_IM_MODULE = fcitx
+ Export QT_IM_IMDULE = fcitx
+ Export XMODIFIERS = "@ im = fcitx"
#5. KDM: KDE Display Manager: pacman-S kdm
# TPD: pacman-s TPD
#6. Firefox flashplugin
Pacman-S firefox flashplugin
#7. yaourt
Vim/etc/pacman. conf
+ [Archlinuxfr]
+ SigLevel = Never
+ Server = http://repo.archlinux.fr/mongoarch
Pacman-S yaourt
#7.1 aur: google-chrome
Pacman-S google-chrome
#8. Some softwares
Pacman-S openssh # sshd
Pacman-S git # git
Pacman-S subversion
Pacman-S wget # wget
Pacman-S net-tools # ifconfig
Pacman-S dnsutils # nslookup
#9. njit-client
Mkdir build & cd build
Wget https://github.com/linzsummer/njit8021xclient_for_swufe/archive/master.zip
Unzip master.zip
Pacman-S automake autoconf libpcap pkg-config
# Pacman-S libssl
./Configure
Make
Make install
Cd... & rm-rf build
#10. wps: becauselibreoffice is too large, so instead of wps
Vim/etc/pacman. conf
+ [Multilib]
+ SigLevel = PackageRequired
+ Include =/etc/pacman. d/hosts list
Pacman-Syu # renew database (Repository multilib)
Yaourt-S kingsoft-office
#11. gnome shortcuts
Super + (pg up)/(pg dn) # exchange screen
#12. Find the real path of the Command
# Type [Command]
Type firefox
#13. clean pacman cache
Pacman-Scc
Pacman-S-l # list pacman install packages
#14. Static IP Address
Cd/etc/netctl
Cp examples/ethernet-static my-network
# Then edit the profile as needed
Vim my-network
# Next, Start Netctl
Netctl enable my-network
Netctl start my-network