VMware12下安装Debian8.5

参考: 

Debian 8.2.0 (Jessie) 快速纯净安装教程    Debian 7 安装配置总结    Debian 7.8 系统安装配置过程

软件包管理命令    包命令    从源代码安装vim    安装编译GCC6.1    添加中文支持    安装locale并设置zh_CN.UTF-8

我的安装 语言:英文 地区:中国   断网安装:gnome、ssh server

vi /etc/apt/sources.list 

deb http://ftp.cn.debian.org/debian jessie main non-free contrib 
deb http://ftp.cn.debian.org/debian jessie-proposed-updates main non-free contrib 
deb http://ftp.cn.debian.org/debian-security jessie/updates main non-free contrib
deb-src http://ftp.cn.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.cn.debian.org/debian/ jessie-proposed-updates main non-free contrib
deb-src http://ftp.cn.debian.org/debian-security jessie/updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib
deb http://mirrors.aliyun.com/debian-security jessie/updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian-security jessie/updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib
deb http://mirrors.163.com/debian-security jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security jessie/updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian jessie main non-free contrib
deb http://ftp.sjtu.edu.cn/debian jessie-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security jessie/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian jessie main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian jessie-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security jessie/updates main non-free contrib

apt-get update

安装VMWare tools前需要安装的包:
apt-get install build-essential 
apt-get install linux-headers-3.16.0-4-all 
apt-get install linux-headers-amd64 
dpkg -l |grep -i linux-headers 

apt-get install linux-source
apt-get install linux-source-3.16

安装Vim8

添加中文支持:
    apt-get install locales
    dpkg-reconfigure locales
    en_US.UTF8
    zh_CN GB2312
    zh_CN GBK GBK
    zh_CN UTF-8 UTF-8
default选 en_US.UTF8
cat /etc/default/locale

中文字体:
apt-get install ttf-wqy-*
apt-get install xfonts-wqy

拼音输入法:
apt-get install fcitx
apt-get install fcitx-pinyin
重启
运行"Fcitx Configuration",添加拼音输入法,并把位置排到第二个
原文地址:https://www.cnblogs.com/busor/p/5863085.html