Debian environment setting notes and Chinese environment configuration

Source: Internet
Author: User
Tags gtk locale posix save file

Note: Just a brief record, and not the record, there are many steps in the middle, I hope I can have the opportunity to record each step in detail

Environment

Schema: AMD64

System: DEBIAN8

Desktop: Xfce4

Installation

Basic System (selected by default)

Laptop

Standard Tools

) UltraISO making start U disk;

Other machines are not available

Other hard drives are not available

Mini-Install: Select only · [Laptops] and [standard tools], 700 packages are not available, the configuration of a good source directly after the installation of the latest package;

Discard Gnome3, the panel is not allowed to add initiators, gedit in English and Chinese is absolutely slag;

Just start to install is Gnome3, Fcitx-module-dbus always have problem oneself and can't solve, then directly on Xfce4;

) Language selected Chinese, if not installed desktop environment next to enter the Chinese garbled;

Language is selected in English, time zone can not find Shanghai; If HK is selected, the locale is set to EN_HK;

) Lang and language are inconsistent issues

Lang and lc_ctype can guarantee the English environment, the Chinese perfect display?

Other

The u disk is mounted in expert mode to load the drive drive problem, sometimes not

make multi-boot U disk (can be used by multiple [machines] [hard drives])

Why the boot disk made by UNetbootin or DD is not available;

Network installation (in the middle of the card, that is, the use of China's source)

Hard Drive Installation

How to import other hard disk systems directly into this hard drive system

Automated Installation



Networking

Etho

Supplement later

Wlan0

Firmware: Firmware-iwlwifi

Address: http://mirrors.163.com/debian/pool/non-free/f/firmware-nonfree/

Configuration

File/etc/network/interfaces

Auto Wlan0

Iface Wlan0 inet DHCP

Wpa_ssid "Your hot spot."

WPA_PSK "Your code."

Reference

Ip-link (8)

Wpa_supplicant (8)

Iwconfig (8)

Ifconfig (8)

NetworkManager

) View the Wifi-debian wiki directly



Source

/etc/apt/sources.list

Deb Http://mirrors.163.com/debian/stable main Non-free contrib
Deb Http://mirrors.163.com/debian/stable-updates main Non-free contrib
Deb Http://mirrors.163.com/debian/stable-backports main Non-free contrib
Deb Http://mirrors.163.com/debian-security/stable/updates main Non-free contrib

Deb Http://mirrors.163.com/debian/stable-proposed-updates main Non-free contrib
# deb-src http://mirrors.163.com/debian/stable Main Non-free contrib
# deb-src Http://mirrors.163.com/debian/stable-updates Main Non-free contrib
# deb-src Http://mirrors.163.com/debian/stable-backports Main Non-free contrib
# deb-src Http://mirrors.163.com/debian-security/stable/updates Main Non-free contrib

Use Apt-spy or Netselect test the fastest source of the machine (may need to rely on, for a long time no use, their own online resources);

) source USTC or 163;

Do not like 163, each time at least 15 seconds does not respond, even if the Apt-spy speed is the fastest; But USTC was hack, 7 days did not recover, can not directly from the official weight of the next?

) Comment out the "Deb cdrom" line;

Comment out deb-src, not currently needed;

Did not add official security update, the speed is too slow 10k/s, hope to update 30 days;

Questions

Jessie or stable difference: The former beta, the latter for the jessie-stable?

Need stable-backports edit for Jessie-backports?

Need stable-proposed-updates edit for jessie-proposed-updates?

Reference

Apt-spy (8)

Netselect (1)



Apt-get update && apt-get upgrade, delete the/boot/under the old version of the kernel, and then update-grub;



Install Xfce4

Xorg

Xfce4

Xfce4-goodies

Slim

。。。 To be supplemented ...



Configure sudo

Check and install sudo

Edit/etc/sudoers (in the root line setting)



Browser

/etc/apt/sources.list.d/Create Google-chrome-stable.list

Deb Http://dl.google.com/linux/chrome/deb/stable Main

must guarantee the suffix name ". List" or else error;

) cannot be validated;



Chinese environment

Input Method Fcitx

Fcitx
Fcitx-bin
FCITX-CONFIG-{COMMON,GTK,GTK2}
Fcitx-data
FCITX-FRONTEND-{ALL,GTK2,GTK3,QT4,QT5}
Fcitx-googlepinyin
FCITX-LIBS{,-{GCLIENT,QT,QT5}}
Fcitx-module-dbus
Fcitx-module-x11
Fcitx-modules
Fcitx-pinyin
Fcitx-table{,-wanfeng}
Fcitx-ui-{classic,light}

In the terminal input FCITX, the error information Control aptitude Search FCITX Install the corresponding package;

Reference

Im-config

Fcitx-diagnose

$XMODIFIERS

Font

Ttf-wqy-{microhei,zenhei}

Fonts-wqy-{microhei,zenhei}

Xfonts-wqy

Terminal

Zhcon

。。。。。。

Other

。。。。



Casually remember

Lifeograph Rednotebook

Cherrytree Zim

Other

Osmo





Development environment

linux-headers{,-AMD64}

Manpages-{dev,posix,posix-dev}

Build-essential (contains content)

Gdb

autoconf Automake Libtool

Ncurses-{dev,doc}

Codeblocks

Qtcreator Qtbase5-dev

Bluefish{,-plugins}

Dia

Git-all Subversion{,-tools}

Cflow Graphviz

CMake

Mysql

Mysql-common

Mysql-server

Mysql-client

Mysql-utilities

Mysql-workbench

Gtk

。。。。。。

Python

。。。。。。

Other

Flex Bison

GetText



Interpreter

Gawk

Expect Tcl TK

Tmux screen



Other

Debian-keyring

Bootchart2 BOOTLOGD



Small tools

Tree

Dictionary

Goldendict

Decompression

P7zip{,-full,-rar}

Reading device

Xchm

Video

Rhythmbox

Vlc

Download

Aria2

Uget

Other

Guake

Terminator

Awesome Gnome-commander Byobo



Not completed

Email

Rss

Ftp


Debian Chinese environment settings

If we chose the English language environment when installing the Debian Basic system and then wanted to change it to Chinese, we need to do the following.
1. Set locale

If the locale tool is not installed, first install it, and then execute:

1 #dpkg-reconfigure locales

To select a language pack, you need to add several options at the beginning of the ZH_CN.
2. Install Chinese fonts

Chinese environment of course needs the support of Chinese fonts, hand-added Chinese xft font:

1 #aptitude Install TTF-ARPHIC-GBSN00LP
2 #aptitude Install TTF-ARPHIC-GKAI00MP

3. Set up Chinese environment file

Edit Nano/etc/environment and enter the following:

1 lang= "ZH_CN." GB18030 "
2 language= "Zh_CN.GB18030:zh_CN.GB2312:zh_CN"
3 supported= "Zh_CN.GB18030:zh_CN:zh"
4 sysfont= "Lat0-sun16"
5 sysfontacm= "8859-15"

Save file exit.
4. Reboot the system

Reboot the system:

# Shutdown-r Now

The language environment of the system becomes Chinese.

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.