kali2016.2(debian)快速安装mysql5.7.17

糊里糊涂的删除了kali原本的mysql5.6.27版本,原本的mysql与很多软件关联在一起,每次安装都失败,后来把相关的都卸载了(悲催的浪费了一天)


 

下载地址  debian mysql下载地址

https://dev.mysql.com/downloads/mysql/

下载后解压


 

libmysqlclient20_5.7.17-1debian8_amd64.deb
libmysqlclient-dev_5.7.17-1debian8_amd64.deb
libmysqld-dev_5.7.17-1debian8_amd64.deb
mysql-client_5.7.17-1debian8_amd64.deb
mysql-common_5.7.17-1debian8_amd64.deb
mysql-community_5.7.17-1debian8_amd64.changes
mysql-community-client_5.7.17-1debian8_amd64.deb
mysql-community-server_5.7.17-1debian8_amd64.deb
mysql-community-source_5.7.17-1debian8_amd64.deb
mysql-community-test_5.7.17-1debian8_amd64.deb
mysql-server_5.7.17-1debian8_amd64.deb
mysql-testsuite_5.7.17-1debian8_amd64.deb

 


安装之前下载libmecab大于libmecab2 0.996-1.1的版本,因为mysql-community-server 依赖于 mysql-client (= 5.7.17-1debian8)

 

 

libmecab2 0.996-1.1下载地址

ftp://mirrors.ircam.fr/pub/debian/pool/main/m/mecab/libmecab2_0.996-1.1_amd64.deb

libmecab 0.996-3的下载地址如下

ftp://ftp.us.scene.org/debian/pool/main/m/mecab/libmecab2_0.996-3_amd64.deb

或者自己搜索

http://www.filewatcher.com/_/?q=libmecab2+0.996&p=1

安装

dpkg -i libc6_2.19-18+deb8u7_amd64.deb


 

debian linux mysql5.7.17安装顺序

sudo dpkg -i mysql-common_5.7.17-1debian8_amd64.deb


dpkg -i  libmysqlclient20_5.7.17-1debian8_amd64.deb
 dpkg -i libmysqlclient-dev_5.7.17-1debian8_amd64.deb


dpkg -i libmysqld-dev_5.7.17-1debian8_amd64.deb


dpkg -i mysql-community-server_5.7.17-1debian8_amd64.deb
dpkg -i mysql-server_5.7.17-1debian8_amd64.deb


dpkg -i mysql-community-client_5.7.17-1debian8_amd64.deb


pkg -i mysql-client_5.7.17-1debian8_amd64.deb

其余三个安不安装随便


启动和停止mysql服务命令

/etc/init.d/mysql start
/etc/init.d/mysql stop

 

IT文库 » kali2016.2(debian)快速安装mysql5.7.17
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址