Install MySQL 5.7.5-m15 on Ubuntu Server 14.04 LTS
2014-12-10 14:16
567 查看
Install libaio
MySQL depends on the libaio library. If you have not the libaio installed on your system, then install it first.
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. Or comment out the line begin with "deb cdrom:" in /etc/apt/sources.list. Or download the libaio1 .deb package from archive.ubuntu.com, and then install the .deb with dpkg -i.
Besides downloading the .deb, if you have the Ubuntu Server .ISO file, you can get the libaio1 .deb package from the ISO file.
Install MySQL
Download MySQL .deb bundle tarball and install MySQL common files first, then community server, client, shared client library.
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. Or comment out the line begin with "deb cdrom:" in /etc/apt/sources.list. Or download the 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
相关文章推荐
- Install MySQL 5.7.5-m15 on Ubuntu Server 14.04 LTS from Source
- mysql -server-5.6 install master and slave on ubuntu 14.04server
- Install MariaDB Server 10.0 on Ubuntu 14.04 LTS ( Trusty Tahr )
- How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
- Install Ceph on Ubuntu 14.04 Server
- How to install VNC server on ubuntu 14.04
- Install And Configure Nagios on Ubuntu 14.04 LTS
- How to Install Docker on Ubuntu 14.04 LTS
- Install MySQL Server 5.1 On Ubuntu 10.04 Lucid Lynx
- How to Install Docker on Ubuntu 14.04 LTS
- Comlile and Install OpenVas 8 on Ubuntu Server 14.04
- How to install subversion 1.7 (svn1.7) on ubuntu14.04 LTS [Tested By Carson Zang, passed!]
- Unity doesn't work on VNC server under Ubuntu 14.04 LTS ubuntu 14.04unity 桌面 和vnc
- how-to-install-vnc-server-on-ubuntu-14.04
- How to install OpenERP 6 on Ubuntu 10.04 LTS Server-2
- How To Install VNC Server On Ubuntu 14.04
- How To Install DenyHosts On Ubuntu 14.04 Server
- How to install OpenERP 6 on Ubuntu 10.04 LTS Server--1
- Install Ganglia on Ubuntu 14.04 Server (Trusty Tahr)
- How to Install Docker on Ubuntu 14.04 LTS