archlinux安装

wifi-menu
timedatectl set-ntp true
fdisk -l
mkfs.ext4 /dev/sda7
mount /dev/sda7 /mnt
nano /etc/pacman.d/mirrorlist
vim /etc/pacman.conf    
Server   = https://mirrors.ustc.edu.cn/archlinuxcn/$arch 
pacman -Syy
pacman -S yaourt
yaourt -Syy
pacstrap /mnt base base-devel
genfstab -L /mnt >> /mnt/etc/fstab
cat /mnt/etc/fstab
arch-chroot /mnt
pacman -S vim    
pacman -S iw wpa_supplicant dialog  netctl wireless_tools wpa_actiond
pacman -S net-tools dnsutils
pacman -S ntfs-3g
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
hwclock --systohc
vim /etc/locale.gen
 en_US.UTF-8 UTF-8
 zh_CN.UTF-8 UTF-8
 locale-gen
 echo LANG=en_US.UTF-8 > /etc/locale.conf
 echo 'you host name' > /etc/hostname
 nano /etc/hosts
127.0.0.1   localhost.localdomain   localhost
::1         localhost.localdomain   localhost
127.0.1.1   jasonchan.localdomain   jasonchan
passwd
pacman -S intel-ucode
pacman -S grub os-prober
grub-install --target=i386-pc --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit #退出chroot
umount -R  /mnt  #卸载挂载
reboot  #重启
useradd -m -G wheel ma
passwd ma
pacman -S sudo
visudo   # %wheel ALL=(ALL)ALL 去掉 # 注释
lspci | grep VGA
# # 官方仓库提供的驱动包:
# # +----------------------+--------------------+--------------+
# # |                      |        开源        |     私有     |
# # +----------------------+--------------------+--------------+
# # |         通用         |   xf86-video-vesa  |              |
# # +----------------------+--------------------+--------------+
# # |         Intel        |  xf86-video-intel  |              |
# # +--------+-------------+--------------------+--------------+
# # |        | GeForce 9+  |                    |    nvidia    |
# # +        +-------------+                    +--------------+
# # | nVidia | GeForce 8/9 | xf86-video-nouveau | nvidia-340xx |
# # +        +-------------+                    +--------------+
# # |        | GeForce 6/7 |                    | nvidia-304xx |
# # +--------+-------------+--------------------+--------------+
# # |        AMD/ATI       |   xf86-video-ati   |              |
# # +----------------------+--------------------+--------------+
sudo pacman -S xf86-video-intel
sudo pacman -S xf86-video-nouveau
sudo pacman -S nvidia-340xx
sudo pacman -S xorg
mesa-libgl
pacman -S xorg-xinit xterm
pacman -S xfce4 xfce4-goodies
pacman -S lightdm lightdm-gtk-greeter
systemctl start lightdm.service
systemctl enable lightdm.service
pacman -S alsa-utils
nano /lib/systemd/system/alsa-state.service
[Install] 
WantedBy=multi-user.target
systemctl start alsa-state.service
systemctl enable alsa-state.service
pacman -S wqy-microhei ttf-dejavu
echo LANG=zh_CN.UTF-8>/etc/locale.conf
.bashrc: 每次终端时读取并运用里面的设置 
.profile:每次启动系统的读取并运用里面的配置 
.xinitrc: 每次startx启动X界面时读取并运用里面的设置 
.xprofile: 每次使用lightdm等图形登录管理器时读取并运用里面的设置 
export LANG=zh_CN.UTF-8 
export LANGUAGE=zh_CN:en_US
~/.xprofile文件中添加
pacman -S ntp
systemctl start ntpd.service
systemctl enable ntpd.service
hwclock --systohc --localtime
pacman -S fcitx fcitx-sougoupinyin  fcitx-im fcitx-fbterm kcm-fcitx
打开~/.xprofile文件并加入以下几行
export GTK_IM_MODULE=fcitx 
export QT_IM_MODULE=fcitx 
export XMODIFIERS=”@im=fcitx”
sudo nano /etc/pacman.conf
[archlinuxfr] 
SigLevel = Never 
Server = http://repo.archlinux.fr/$arch 
sudo pacman -Sy yaourt
yaourt numix
在其中找到numix-circle-icon-theme,然后输入前面的序号就可以安装
yaourt -S gtk-theme-arc-git
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值