美文网首页
ArchLinux安装记录(二)

ArchLinux安装记录(二)

作者: sakura_na | 来源:发表于2016-11-30 14:20 被阅读101次

    查看网卡

    # ip link

    启用有线网卡

    # ip link set enp0s3 up

    获取IP

    # dhcpcd

    安装network-manager

    # pacman -S networkmanager

    启动networkmanager服务

    # systemctl enable NetworkManager

    # systemctl start NetworkManager

    安装zsh

    # pacman -S zsh

    添加用户

    # useradd -m -g users -G wheel -s /bin/zsh username

    为所创建用户设定密码

    # passwd username

    权限提升

    # visudo

    用户名  ALL=(ALL)  NOPASSWD: ALL

    增加archlinuxcn源

    在 /etc/pacman.conf 文件末尾添加两行:

    [archlinuxcn]

    SigLevel = Optional TrustedOnly

    Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

    增加archlinuxcn源keyring

    sudo pacman -S archlinuxcn-keyring

    安装noto字体

    # pacman -S noto-fonts noto-fonts-cjk

    标题、界面、文档字体

    使用Noto Sans CJK SC Medium

    等宽字体

    使用Noto Sans Mono Regular

    安装图形环境

    # pacman -S xorg

    安装gnome

    # pacman -S gnome

    启用gdm服务

    # systemctl enable gdm.service

    安装yaourt或pacaur

    # pacman -S yaourt

    安装oh my zsh

    # pacman -S git

    $ sudo git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

    $ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc


    VirtualBox中安装ArchLinux

    安装linux头文件

    # pacman -S linux-headers

    Kernel driver not installed (rc=-1908)错误

    尝试使用命令重新加载组件:sudo /sbin/vboxreload

    VirtualBox-设备-安装增强功能

    相关文章

      网友评论

          本文标题:ArchLinux安装记录(二)

          本文链接:https://www.haomeiwen.com/subject/arctmttx.html