Install MySQL 5.7.5-m15 on Ubuntu Server 14.04 LTS
Install libaio
MySQL depends on the libaio library. If you have not the libaio installed on your system, then install it first.
apt-get install libaio1
If the command above prompts that you need insert the disc labled "Ubuntu Server 14.04 LTS ...", just do it if you have the disc. But if you don‘t have, don‘t worry about this. You can download libaio1 .deb package from archive.ubuntu.com, and then install the .deb with dpkg -i.
mkdir ./libaio wget http://archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.109-4_amd64.deb dpkg -i libaio1_0.3.109-4_amd64.deb
Besides downloading the .deb, if you have the Ubuntu Server .ISO file, you can get the libaio1 .deb package from the ISO file.
mount -o loop ubuntu-14.04.1-server-amd64.iso /media/cdrom/ mkdir ./libaio cp /media/cdrom/pool/main/liba/libaio/* ./libaio/
Install MySQL
Download MySQL .deb bundle tarball and install MySQL common files first, then community server, client, shared client library.
mkdir ./mysql wget http://cdn.mysql.com/Downloads/MySQL-5.7/mysql-server_5.7.5-m15-1ubuntu14.04_amd64.deb-bundle.tar tar xvf mysql-server_5.7.5-m15-1ubuntu14.04_amd64.deb-bundle.tar dpkg -i mysql-common_5.7.5-m15-1ubuntu14.04_amd64.deb dpkg -i mysql-community-server_5.7.5-m15-1ubuntu14.04_amd64.deb dpkg -i mysql-community-client_5.7.5-m15-1ubuntu14.04_amd64.deb dpkg -i libmysqlclient18_5.7.5-m15-1ubuntu14.04_amd64.deb
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。