初学Linux,为了安装JIRA选择安装MySQL数据库,折腾了一天,也百度了很多别人的文章,终于在参考
http://blog.csdn.net/tanjun592/article/details/71797972?locationNum=9&fps=1
下跨过了这个“小坑”。
一、官网下载MySQL安装包
https://dev.MySQL.com/downloads/file/?id=469456
二、解压安装包
#tar -xvf mysql-5.7.18-1.el7.x86_64.rpm-bundle.tar
解压后会生成很多文件。
【借用别人的内容】[root@hostaa mysql_rpm]# ls -l
总用量 1141908
-rw-r–r– 1 root root 584652800 5月 13 01:02 mysql-5.7.18-1.el7.x86_64.rpm-bundle.tar
-rw-r–r– 1 7155 31415 25079412 3月 20 17:40 mysql-community-client-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 277784 3月 20 17:40 mysql-community-common-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 3777808 3月 20 17:40 mysql-community-devel-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 45493312 3月 20 17:40 mysql-community-embedded-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 23924496 3月 20 17:40 mysql-community-embedded-compat-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 126060264 3月 20 17:40 mysql-community-embedded-devel-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 2237888 3月 20 17:40 mysql-community-libs-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 2113196 3月 20 17:40 mysql-community-libs-compat-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 54661812 3月 20 17:40 mysql-community-minimal-debuginfo-5.7.18-1.el7.x86_64.rpm
-rw-r–r– 1 7155 31415 169622200 3月 20 17:41 mysql-community-server-5.7.18-1.el7.x86_