更新源(以下设置均基于这些源)
#vi /etc/apt/sources.list
把这些源加进去
############################ debian wheezy ###################################################################################
## china
deb http://ftp.cn.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ wheezy main contrib non-free deb http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free deb http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free ################################### kali ########################
#中科大软件源 deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free #kali官方源的地址:
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
#aptitude update
1.安装googlepingying输入法
参考:
https://code.google.com/p/scim-googlepinyin/wiki/install
#apt-get install automake libtool autotools-dev libgtk2.0-dev libscim-dev
要安装scim:
#apt-get install scim
#scim -d
#./autogen.sh
# make
#make install
2.安装chrome浏览器
下载合适版本的chrome:http://www.google.cn/intl/zh-CN/chrome/browser/
#dpkg -i google-chrome-XXX.deb
解决提示:chrome不能再root权限下使用
#vi /opt/google/chrome/google-chrome
在最后一行:exec
-a
"$0"
"$HERE/chrome"
"$@" 后面添加
--user-data-
dir
3双显卡关闭nvidia
参考这里:
https://wiki.debian.org/Bumblebee
http://tieba.baidu.com/p/2247173531
我的kali是基于Wheezy的64位系统,操作如下
安装内核头文件
# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
#apt-get install -t wheezy-backports bumblebee-nvidia primus
#adduser $USER bumblebee
查看nvidia是否关闭
# lspci -nn |grep VGA
如果最后是(rev ff)则表示关闭。如果没有关闭试试
#service bumblebeed restart
再查看是否关闭
安装文泉驿字体(不安装中文字体可能会造成部分程序中文无法显示如:Qt中文显示成方块)
#apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy
安装一些软件
1.多窗口终端
#apt-get install terminator
2.QQ解决方案有两种
1.CrossOver参考:http://cx7863.blog.163.com/blog/static/2286500262013111093619489/
2.http://xiao106347.blog.163.com/blog/static/215992078201311512333509/
或者:http://www.longene.org/forum/viewtopic.php?t=4700