1.更新源
备份软件源sources.list文件,然后修改sources.list文件,在终端输入:
gedit /etc/apt/sources.list
注释原有源,添加以下源,不必全部添加。(小白最初不知道更新源的作用,最初使用没有尝试更新源,下载速度较慢,而且出现了一些不可预料的问题)
#官方源
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
#阿里源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates 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://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
#debian_wheezy国内源
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
添加源后对软件进行整体更新
apt-getupdate#刷新系统
apt-get upgrade#安装更新
2.主题管理软件(gnome-tweak-tool ),执行:
apt-getinstall gnome-tweak-tool#安装
gnome-tweak-tool#打开Gnome
在http://gnome-look.org下载解压复制到主题存放的文件夹下:/usr/share/themes。
3.中文输入法
Ibus:apt-get install ibusibus-pinyin
fcitx:apt-get install fcitxfcitx-pinyin fcitx-module-cloudpinyin fcitx-googlepinyin
im-config 设置ibus(fctix)为默认输入法。
重启有效!
4.安装最新iceweasel,并汉化iceweasel浏览器
如何更新到最新版iceweasel浏览器,首先在软件源中添加:
deb http://mozilla.debian.net/ wheezy-backports iceweasel-release
然后在终端执行以下代码:
apt-get install pkg-mozilla-archive-keyring #导入PGP KEY
gpg --check-sigs --fingerprint --keyring /etc/apt/trusted.gpg.d/pkg-mozilla-archive-keyring.gpg --keyring /usr/share/keyrings/debian-keyring.gpg pkg-mozilla-maintainers #新建钥匙环
apt-get update && apt-get install -t wheezy-backports iceweasel && apt-get install iceweasel-l10n-zh-cn
5.创建普通用户
adduser用户名
vi sudo按i之后进入编辑模式(插入),然后在文件的 root ALL=(ALL:ALL) ALL 的下方添加一个新的sudo用户例如XXX用户:XXX ALL=(ALL:ALL)
完成后按Esc键进入命令行模式,键入:wq来保存推出。保存之后新建立就可以使用sudo命令了,重启或者注销来切换成新建立的用户即可。(注意:使用普通用户时,默认的权限是比较低的,以至于一些程序无法正常运行,这是需要使用sudo命令来执行,比如sudo apt-get update,或者使用su命令在终端中切换至root用户之后执行)
把原有/root/目录下的配置文件复制到新建立的用户目录下(/home/新建立的用户名)
cp-rf /root/.* /home/新用户名
chown -R 新用户名:新用户名 /home/新用户名
6. 一些常用软件:
apt-get install gdebi
提供图形化软件安装方式
apt-get install flashplugin-nonfree
浏览器flash插件
apt-getinstall synaptic
新立得软件包管理器
apt-getinstall file-roller
压缩文件管理工具
apt-getinstall amule
电骡
apt-getinstall remmina
远程桌面+扩展
apt-get install geany
一个轻巧的IDE,如果您喜欢折腾emacs或者VIM就不用安装这个了
apt-get install bluefish
一个强大的Web编辑器
apt-get install audacious
一个轻量级音乐播放器