作者:求学者 | 来源:互联网 | 2023-08-29 16:47
1.通过SSH工具将mysqlrpm包上传到linux2.解压tar包3.查看mariadb版本4.卸载系统自带的mariadb-lib5.查看安装依赖环境6.禁用selin
1.通过SSH工具将mysql rpm包上传到linux
![](https://img.php1.cn/3cd4a/1eebe/cd5/617c1173853af4b6.webp)
2.解压tar包
![](https://img.php1.cn/3cd4a/189d8/978/7dbdf0f38ad53545.jpeg)
3.查看mariadb版本
![](https://img.php1.cn/3cd4a/1eebe/cd5/a1be7872e8d4934f.webp)
4.卸载系统自带的mariadb-lib
![](https://img.php1.cn/3cd4a/18ace/696/1d8e759bd3e6bbec.jpeg)
5.查看/安装依赖环境
![](https://img.php1.cn/3cd4a/1eebe/cd5/dc7ef30f57b727c7.jpeg)
6.禁用selinux
![](https://img.php1.cn/3cd4a/1eebe/cd5/b386c433a16f5497.webp)
7.重启
![](https://img.php1.cn/3cd4a/1eebe/cd5/8343fdbffb0056b5.webp)
8.安装
8.1
![](https://img.php1.cn/3cd4a/1eebe/cd5/a1be7872e8d4934f.webp)
8.2
![](https://img.php1.cn/3cd4a/1eebe/cd5/780a3060eeed6a4e.webp)
8.3
![](https://img.php1.cn/3cd4a/94ce/a6e/865776f6fe3d5f59.jpeg)
8.4
![](https://img.php1.cn/3cd4a/18ace/696/1d8e759bd3e6bbec.jpeg)
8.5
![](https://img.php1.cn/3cd4a/1eebe/cd5/2d903861d5ad779c.png)
8.6
![](https://img.php1.cn/3cd4a/1eebe/cd5/8343fdbffb0056b5.webp)
8.7
![](https://img.php1.cn/3cd4a/1eebe/cd5/e88efe5b0a13a7fa.webp)
8.8
![](https://img.php1.cn/3cd4a/1eebe/cd5/8343fdbffb0056b5.webp)
8.9
![](https://img.php1.cn/3cd4a/1eebe/cd5/617c1173853af4b6.webp)
9.初始化数据库
![](https://img.php1.cn/3cd4a/1eebe/cd5/0d80e8a685a9a87b.png)
10.目录授权
![](https://img.php1.cn/3cd4a/1eebe/cd5/2fdc212433a29829.png)
11.启动服务
![](https://img.php1.cn/3cd4a/1eebe/cd5/bff2716168d1ed7b.webp)