今天在笔记本上安装了Kali Linux。配置为4GB+320GB
分区如下:
挂载点 | 格式 | 大小 |
/boot | ext4 | 100MB |
/ | ext4 | 20GB |
/home | ext4 | 余下最大空间 |
/tmp | ext4 | 4GB |
交换分区 | swap | 6GB |
装好之后发现居然没有sshd-generate,但是service ssh start之后,secureCRT可以正常链接。
1.更新软件源
vi /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 #中科大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 #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
:wq
然后
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
2. 安装中文输入法
两种任选其一
apt-get install ibus ibus-pinyin #经典的ibus apt-get install fcitx fcitx-pinyin fcitx-module-cloudpinyin fcitx-googlepinyin #fcitx拼音
我装点是ibus,安装之后,需要去
系统设置->首选项->ibus设置 里面,添加输入法。才可以使用ctrl-space切换到中文输入法。
3. 安装flash-player
apt-get install flashplugin-nonfree update-flashplugin-nonfree --install
4. 点击网络图标,显示有线网络: 设备未托管(device not managed)
其实此时上网正常,但是发现问题总要解决
如果你希望NetworkManager(网络管理器)处理在/etc/network/interfaces中启用的接口,只要在/etc
/NetworkManager/NetworkManager.conf中设置managed=true。所以,该文件看起来就像:
[main] plugins=ifupdown,keyfile [ifupdown] managed=true
重启即可
更新软件ing...
时间: 2024-10-18 18:55:18