一步一个坑,总能到平路
最近项目需要把所有软件都集成在docker里,使用的麒麟4-x86镜像;集成mysql5.7.开始步骤。
镜像准备
kylin-4.0.2sp2-server-v3.tar.xz;
jdk-8u331-linux-x64.tar.gz;
mysql-server_5.7.34-1ubuntu16.04_amd64.deb-bundle.tar
nginx;
注:按照自己的需求准备相应的程序镜像
mysql下载
在mysql官网下载mysql版本
地址:https://downloads.mysql.com/archives/community/
根据需求,可以选择适合自己的版本;
在此以mysql5.7.33,ubantu16.04为例:如图
![](https://img-blog.csdnimg.cn/img_convert/b9e6ca25fbf54cbaaa8b3d2e351ba8fe.png)
选择mysql-server_5.7.34-1ubuntu16.04_amd64.deb-bundle.tar进行下载;文件解压后:
![](https://img-blog.csdnimg.cn/img_convert/db88e4ba93c0a198363b0ce6b4f891ee.png)
因为是离线安装,还需要下载必要的动态库包,如下图:
![](https://img-blog.csdnimg.cn/img_convert/cd1c714f44f547926177b6afc31d2f7d.png)
动态库下载
动态包下载地址为:https://launchpad.net/ubuntu/xenial/;
![](https://img-blog.csdnimg.cn/img_convert/477d9bb68ccf2125da93b4d33d4ea203.png)
![](https://img-blog.csdnimg.cn/img_convert/7847ac8a4ef398456a199d1242e8adc4.png)
![](https://img-blog.csdnimg.cn/img_convert/d5774e03d37996428ec3aff0b2e37480.png)