标签:/etc/ print spec .debian sudoer 用户权限 install logs edit
1 添加用户权限
切换root用户:su root
编辑/etc/sudoers文件:nano /etc/sudoers;
# User privilege specification root ALL=(ALL:ALL) ALL kylin ALL=(ALL:ALL) ALL
2 修改镜像源
编辑/etc/apt/sources.list文件:gedit /etc/apt/sources.list
#debian deb http://mirrors.ustc.edu.cn/debian/ stretch main non-free contrib deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main non-free contrib deb http://mirrors.ustc.edu.cn/debian/ stretch-backports main non-free contrib deb-src http://mirrors.ustc.edu.cn/debian/ stretch main non-free contrib deb-src http://mirrors.ustc.edu.cn/debian/ stretch-updates main non-free contrib deb-src http://mirrors.ustc.edu.cn/debian/ stretch-backports main non-free contrib #debian-security deb http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main non-free contrib deb-src http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main non-free contrib
3 启用社区源的命令
apt update; apt install apt-transport-https; printf "deb https://repo.debiancn.org/ stretch main" > /etc/apt/sources.list.d/debiancn.list; wget https://repo.debiancn.org/pool/main/d/debiancn-keyring/debiancn-keyring_0~20161212_all.deb -O /tmp/debiancn-keyring.deb; apt install /tmp/debiancn-keyring.deb; apt update;
4 安装sougou输入法
apt install fcitx fcitx-tools fcitx-config* fcitx-frontend* fcitx-module* fcitx-ui-* presage;
apt install sogoupinyin;
5 安装iptux:局域网软件
apt install iptux;
6 安装网易云音乐
apt install netease-cloud-music;
7 安装chrome浏览器
apt install google-chrome-stable;
8 安装vs-code
apt install code;
9 安装
标签:/etc/ print spec .debian sudoer 用户权限 install logs edit
原文地址:http://www.cnblogs.com/WangBoBlog/p/7816009.html