Linux/debian notes

Source: Internet
Author: User

User not authorized sudo:

Root login,

cd/etc/

chmod u+w sudoers

Vi/etc/sudoers

Add username all= (All) all, save exit

chmod u-w sudoers

---

Chinese font garbled:

sudo dpkg-reconfigure locales

Select ZH_CN. UTF-8 UTF-8

Convert to Chinese interface, install Chinese fonts automatically

---

To install the Google Pinyin Input method:

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 garbled in Chinese:

sudo apt-get install Ttf-wqy-zenhei

---

IBUs preference does not show:

Su-

Dpkg-reconfigure locale space bar Select the appropriate language, enter confirm, restart

---

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.