Arch linux配置指南
# ip link set eth0 up # ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev eth0 # ip route add default via 192.168.1.1
建议直接写入配置文件
[root@jlive ~]# cat /etc/netctl/ethernet-custom
Description='A more versatile static ethernet connection'
Interface=eno16777736
Connection=ethernet
IP=static
# Any valid iproute command can be placed in this array
IPCustom=('addr add dev eno16777736 192.168.130.10/24 brd +' 'route add default via 192.168.130.2')
DNS=('114.114.114.114' '8.8.8.8')
# Set a priority for automatic profile selection
#Priority=10
#ExcludeAuto=no
允许root远程登录,修改/etc/ssh/sshd_config
PermitRootLogin yes
三.桌面环境
pacman -S xorg-server xorg-server-utils
xorg-xinit
pacman -S xfce4 firefox fcitx
pacman -S mplayer moc speex ffmpeg taglib libmpcdec wavpack faad2 libmodplug
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme
提示:可以随机主题哦,默认是default
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login
该配置文件十分清晰,如上就可以以某个用户自动登录到桌面