Step by step use kali linux OS
来源:互联网 发布:淘宝代购mk的正品店 编辑:程序博客网 时间:2024/05/22 17:34
1.更新软件源:
root权限:
leafpad /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://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-get update
2.kali-linux安装中文输入法(以下任意选择一种安装):
3.kali-linux安装flash player:
http://pan.baidu.com/share/link?shareid=470635&uk=1209563959
cd到下载目录
bzip2 -d alsa-lib-1.0.26.tar.bz2 && tar -vxf alsa-lib-1.0.26.tar &&cd alsa-lib-1.0.26/ && ./configure && make && make install &&make clean
6.开启gnome 3的标准模式:
gsettings set org.gnome.desktop.session session-name gnome #这个模式比较流畅
gsettings set org.gnome.desktop.session session-name gnome-fallback #还原默认模式
gnome-shell –replace #在默认模式临时开启
经典模式:
7.kali安装chromium浏览器:
apt-get install chromium-browser
此时可以在应用程序-互联网下面找到chromium,如果是普通用户,可以立即使用,如果当前是root账户登录的系统,打开chromium提示Chromium can not be run as root:
解决linux下root账户无法打开chromium的方法:右键桌面chromium图标,选属性;或打开主菜单,找到chromium,点属性:
往命令框之后添加一个空格,然后再添加--user-data-dir $HOME,close这是完整命令: /usr/bin/chromium %U --user-data-dir $HOME,close
关闭之后就可以打开了!
8.Kali-linux设置vpn代理:
9. 安装VMware Workstation 10
链接:http://xiao106347.blog.163.com/blog/static/2159920782013928288628/
root权限:
leafpad /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://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-get update
2.kali-linux安装中文输入法(以下任意选择一种安装):
apt-get install fcitx-table-wbpy ttf-wqy-microhei ttf-wqy-zenhei #拼音五笔
apt-get install ibus ibus-pinyin #经典的ibus
apt-get install fcitx fcitx-pinyin fcitx-module-cloudpinyin fcitx-googlepinyin#fcitx拼音
注销,重新登录之后才可以使用。apt-get install ibus ibus-pinyin #经典的ibus
apt-get install fcitx fcitx-pinyin fcitx-module-cloudpinyin fcitx-googlepinyin#fcitx拼音
3.kali-linux安装flash player:
apt-get install flashplugin-nonfree
update-flashplugin-nonfree --install
4.kali-linux安装qq2012
root权限:
apt-get install ia32-libs libnotify-bin ia32-libs-gtk #如果是32位操作系统,这步可以跳过
(2) 下载这个库文件(alsa-lib):4.kali-linux安装qq2012
root权限:
(1)dpkg --add-architecture i386
apt-get updateapt-get install ia32-libs libnotify-bin ia32-libs-gtk #如果是32位操作系统,这步可以跳过
http://pan.baidu.com/share/link?shareid=470635&uk=1209563959
cd到下载目录
bzip2 -d alsa-lib-1.0.26.tar.bz2 && tar -vxf alsa-lib-1.0.26.tar &&cd alsa-lib-1.0.26/ && ./configure && make && make install &&make clean
(3)下载安装wineqq2012:
wget http://www.longene.org/download/WineQQ2012-20121221-Longene.deb && dpkg -i WineQQ2012-20121221-Longene.deb
5.安装一些工具:
apt-get install gnome-tweak-tool #安装gnome管理软件
apt-get install synaptic #安装新立德
apt-get install software-center #安装ubuntu软件中心
apt-get install file-roller #安装解压缩软件
apt-get install gedit #安装gedit编辑软件
apt-get install audacious #audacious音乐播放器
apt-get install smplayer #安装smplayer视频播放器
apt-get install terminator #安装多窗口终端
gsettings set org.gnome.desktop.session session-name gnome #这个模式比较流畅
gsettings set org.gnome.desktop.session session-name gnome-fallback #还原默认模式
gnome-shell –replace #在默认模式临时开启
经典模式:
7.kali安装chromium浏览器:
apt-get install chromium-browser
此时可以在应用程序-互联网下面找到chromium,如果是普通用户,可以立即使用,如果当前是root账户登录的系统,打开chromium提示Chromium can not be run as root:
往命令框之后添加一个空格,然后再添加--user-data-dir $HOME,close
关闭之后就可以打开了!
8.Kali-linux设置vpn代理:
apt-get install network-manager-openvpn-gnome
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-strongswan
apt-get install network-manager-vpnc
apt-get install network-manager-vpnc-gnome
/etc/init.d/network-manager restart
apt-get install network-manager-pptp
apt-get install network-manager-pptp-gnome
apt-get install network-manager-strongswan
apt-get install network-manager-vpnc
apt-get install network-manager-vpnc-gnome
/etc/init.d/network-manager restart
依次执行以上命令之后就可以陪置vpn了:
链接:http://xiao106347.blog.163.com/blog/static/2159920782013928288628/
10.运行 Metasploit Framework( 转,原文地址:http://www.backtrack.org.cn/thread-12664-1-1.html)
依照kali linux网络服务策略,Kali没有自动启动的网络服务,包括数据库服务在内。所以为了让metasploit以支持数据库的方式运行有些必要的步骤。
启动Kali的PostgreSQL服务:Metasploit 使用PostgreSQL作为数据库,所以必须先运行它。
service postgresql start
可以用ss -ant的输出来检验PostgreSQL是否在运行,然后确认5432端口处于listening状态。
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::22 :::*8
LISTEN 0 128 *:22 *:*3
LISTEN 0 128 127.0.0.1:5432 *:*4
LISTEN 0 128 ::1:5432 :::*
启动Kali的Metasploit服务:随着PostgreSQL的启动和运行,接着我们要运行Metasploit服务。第一次运行服务会创建一个msf3数据库用户和一个叫msf3的数据库。还会运行Metasploit RPC和它需要的WEB 服务端。
service metasploit start
在Kali运行msfconsole:现在PostgreSQL 和 Metasploit服务都运行了,可以运行 msfconsole,然后用 db_status 命令检验数据库的连通性。
msf > db_status
[*] postgresql connected to msf3
msf >
配置Metasploit随系统启动运行:如果你想PostgreSQL和Metasploit在开机时运行,你可以使用update-rc.d启用服务。
update-rc.d postgresql enable
update-rc.d metasploit enable
附:metasploit连接数据库:http://xiao106347.blog.163.com/blog/static/2159920782013101224632205/
from http://xiao106347.blog.163.com/blog/static/215992078201342410347137 0 0
- Step by step use kali linux OS
- fc12 use step by step
- ubuntu use step by step
- Linux Step By Step
- Mstr for linux安装Step by Step
- Linux驱动编程 step-by-step
- step by step,start oracle in linux
- Linux 学习 step by step (2)
- Linux Software RAID step by step
- Linux for scratch --list (step by step)
- NHibernate Step by Step
- OGRE step by step
- step by step
- MinGW Step by Step
- 大杂烩---Step by Step
- sphinx4 STEP BY STEP
- EJB step by step
- NHibernate Step by Step
- 常用算法思想简介
- Android Call requires API level 11 (current min is 8)的解决方案
- poj 2311 Cutting Game sg函数
- 关于nil和 null和NSNull的区别
- appManifes
- Step by step use kali linux OS
- java文件随机读写--RandomAccessFile
- nyoj 42判断欧拉路径模板题
- HDU 4788——Hard Disk Drive
- 我们应该如何去了解JavaScript引擎的工作原理
- LinkedHashMap和HashMap的比较使用
- 云林深处,一场灵魂的宿醉
- execve()函数执行格式错误
- STL--函数对象学习