1. Update the SOFTWARE Source:
Back up the software source files first
Cp/etc/apt/sources.list/etc/apt/sources.list.bak
To modify the Sources.list file:
Leafpad/etc/apt/sources.list
Then choose to add the following faster sources:
#官方源deb http://Http.kali.org/kali Kali main Non-free contribdeb-src http://Http.kali.org/kali Kali main Non-free contribdeb http://Security.kali.org/kali-security kali/updates Main contrib Non-free#中科大kali源deb http://Mirrors.ustc.edu.cn/kali Kali main Non-free contribdeb-src http://Mirrors.ustc.edu.cn/kali Kali main Non-free contribdeb 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 contribdeb-src http://Mirror.nus.edu.sg/kali/kali/kali main Non-free contribdeb http://Security.kali.org/kali-security kali/updates Main contrib non-freedeb http://Mirror.nus.edu.sg/kali/kali-security kali/updates Main contrib non-freedeb-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 contribdeb-src http://Ftp.sjtu.edu.cn/debian wheezy main Non-free contribdeb http://Ftp.sjtu.edu.cn/debian wheezy-proposed-updates main Non-free contribdeb-src http://Ftp.sjtu.edu.cn/debian wheezy-proposed-updates main Non-free contribdeb http://Ftp.sjtu.edu.cn/debian-security wheezy/updates main Non-free contribdeb-src http://Ftp.sjtu.edu.cn/debian-security wheezy/updates main Non-free contrib#163 source Deb Http://mirrors.163.com/debian wheezy main non-free contribdeb-src http://mirrors.163.com/debian wheezy main non-free contribdeb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contribdeb-src http://< Span style= "color: #008000;" >mirrors.163.com/debian wheezy-proposed-updates main non-free contribdeb-src http://< Span style= "color: #008000;" >mirrors.163.com/debian-security wheezy/updates main non-free contribdeb http://mirrors.163.com/debian-security wheezy/updates main Non-free contrib
Run after Save:
apt-get update && apt-get Dist-upgrade
2.kali-linux Install Chinese Input method (choose one of the following installation):
#拼音五笔
apt-get install fcitx-table-wbpy Ttf-wqy-microhei Ttf-wqy-zenhei
#经典的ibus
apt-get install IBUs ibus-pinyin
#fcitx拼音, personally recommend this.
apt-get install fcitx fcitx-googlepinyin fcitx-pinyin fcitx-module-cloudpinyin
After the input method is installed, you need to log off the current user to log on again before using
3.kali-linux Installing Flash Player:
apt-get install flashplugin-nonfreeupdate-flashplugin-nonfree--install
or see: Install Flash under Ubuntu
4.kali_linux installation of the latest Iceweasel, and the Chinese
Adding in the software source
Deb http://mozilla.debian.net/wheezy-backports iceweasel-release
Then execute the following code at the terminal
apt-get install pkg-mozilla-archive-keyring #导入PGP keygpg--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. Install some tools:
apt-get Install Gnome-tweak-tool #安装gnome管理软件apt-get Install synaptic #安装新立德apt-get Install File-roller #安装解压缩软件apt-get Install clementine #clementine音乐播放器apt-get Install SMPlayer #安装smplayer视频播放器apt-get install terminator #安装多窗口终端
6.kali-linux setting up a VPN proxy:
apt-get install network-manager-openvpn-gnomeapt-get install network-manager-pptpapt-get Install network-manager-pptp-gnomeapt-get install network-manager-strongswanapt-get install network-manager-vpncapt-get install network-manager-vpnc-gnome/etc/init.d/network-manager restart
Check all the options in the Advanced settings (this is the personal try mode)
7. running the Metasploit Framework
In
accordance with the Kali Linux Network Service policy, Kali does not automatically start network services, including database services. So in order for Metasploit to run some necessary steps in a way that supports the database.
start the PostgreSQL service for Kali:Metasploit uses PostgreSQL as the database, so it must be run first.
Service PostgreSQL Start
You can use the output of ss-ant to verify that PostgreSQL is running, and then verify that Port 5432 is in the listening state.
State recv-q send-q Local address:port Peer address:portLISTEN 0::: +::* 8
LISTEN 0 *:22 *:* 3LISTEN 0 127.0.0.1:5432 *:* 4
LISTEN 0:: 1:5432:::*
start the Kali Metasploit service: As PostgreSQL starts and runs, we then run the Metasploit service. Running the service for the first time creates a MSF3 database user and a database called MSF3. It will also run Metasploit RPC and the Web server it needs.
Service Metasploit Start
run Msfconsole in Kali:
now the PostgreSQL and Metasploit services are running, you can run Msfconsole, and then use the Db_status command to verify the connectivity of the database.
MSF > Db_status[*] PostgreSQL connected to MSF3MSF >Configure Metasploit to run with system boot: If you want PostgreSQL and Metasploit to run at boot time, you can use UPDATE-RC.D to enable the service. update-rc.d PostgreSQL Enable
update-rc.d Metasploit Enable