kali2.0 + LAMP

时间:2022-09-09 22:49:26

0x01

  更新源

  leafpad /etc/apt/sources.list

#中科大kali源
deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
#阿里云kali源
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free  

  apt-get update & apt-get upgrade
  apt-get dist-upgrade

  apt-get clean

0x02

装php+apache+mysql 

apt-get install apache2

apt-get install php5

apt-get install mysql-server

apt-get install php5-mysql

      apt-get install php5-gd

0x03

  开服务

  service apache2 start

  service mysql start