linux/debian 笔记
用户没权限sudo:
root登录,
cd /etc/
chmod u+w sudoers
vi /etc/sudoers
添加 archer ALL=(ALL) ALL , 保存退出
chmod u-w sudoers
---
中文字体乱码:
sudo dpkg-reconfigure locales
选择zh_CN.UTF-8 UTF-8
转换为中文界面,自动安装中文字体
---
安装google拼音输入法:
sudo apt-get install ibus
sudo apt-get install ibus-googlepinyin
---
unable to locate package xxx:
sudo apt-get update
sudo apt-get install xxx
---
chrome中文乱码:
sudo apt-get install ttf-wqy-zenhei
---
ibus preference不显示:
su -
dpkg-reconfigure locale 空格键选择相应语言,回车确认,重启
---
要安装 .deb 套件包时
sudo dpkg -i package_file.deb
---
更新系统
deb http://http.us.debian.org/debian stable main contrib non-free -> /etc/apt/sources.list
apt-get update
apt-get dist-upgrade
apt-get clean
apt-get autoclean
---
查看版本
lsb_release -a
---

浙公网安备 33010602011771号