debian7 安装配置总结

来源:互联网 发布:自学软件开发 编辑:程序博客网 时间:2024/05/22 23:20

一 安装基本系统

第三方以前都是用dvd安装,而且按照默认的来安装,这样是很省事,但是会带来一些不需要的软件。如openjdk。后来尝试了下只安装基本系统,然后在安装gnome,感觉这样美好了很多。

安装时只选基本系统那一项。

安装完后进入tty1;用root 登入。更新源。

vi /etc/apt/sources.list将上面的内容全部注释掉(前面加#)在末尾添加网络源 添加以下中科大源:#####################主要,开源,闭源deb http://mirrors.ustc.edu.cn/debian wheezy main non-free contribdeb-src http://mirrors.ustc.edu.cn/debian wheezy main non-free contrib###################wheezy-proposed-updates建议更新<pre name="code" class="cpp">deb http://mirrors.ustc.edu.cn/debian wheezy-proposed-updates main non-free contribdeb-src http://mirrors.ustc.edu.cn/debian wheezy-proposed-updates main non-free contrib
#wheezy-updates推荐更新
deb http://mirrors.ustc.edu.cn/debian wheezy-updates main non-free contribdeb-src http://mirrors.ustc.edu.cn/debian wheezy-updates main non-free contrib
#wheezy/updates安全更新deb http://mirrors.ustc.edu.cn/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian-security wheezy/updates main contrib non-free

####保存更新源后,执行如下两句命令,
apt-get update //apt-get update更新源列表
apt-get upgrade //upgrade 是升级已安装的所有软件包,升级之后的版本就是本地索引里的,因此,在执行 upgrade 之前一定要执行 update, 这样才能是最新的


二  安装gnome,

#apt-get install x-window-system-core

#apt-get install gnome-core

重启后就可以进入gnome桌面,在输入用户名和密码的左下角有个设置项,可以选择gnome classic 或者gnome3, 我习惯了gnome2。


三,安装中文输入法,

#apt-get install ibus ibus-google-pinyin

启用ibus输入法。

在ibus中添加googlepinyin

(Applications--System tools --Preferences--IBus Preferences)


四 解决中文乱码问题:

debian7安装以后中文呈现麻将块一样的乱码,解决办法是在term中进行一下设置:
aptitude install locales
dpkg-reconfigure locales
#配置编码进入选择:(空格键是选择,不是ENTER,选择完了后再ENTER)
en_US.UTF8
zh_CN GB2312
zh_CN GBK GBK
zh_CN UTF-8 UTF-8

Default locale for the System enviroment:

en_US.UTF8


如果还有方块需要装字体:
apt-get install ttf-arphic-uming
apt-get install ttf-wqy-zenhei


五.安装视频播放器

apt-get install mplayer

#mplayer 是命令行执行的,kmplayer有皮肤。

apt-get install kmplayer

六. linux下的qq不能使用

0 0