Centos7.5 yum 安装mysql5.7

本文档介绍了如何在Centos7.5系统上通过yum包管理器来安装mysql5.7。首先,确保基础环境准备就绪,然后详细阐述配置mysql5.7的yum源的步骤,最终成功部署mysql5.7。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Centos7.5通过yum安装mysql5.7

注:安装的是mysql5.7并不是mariadb-server

基础环境准备,不做过多描述之前文档中都详细解释过。

[root@localhost ~]# hostname --all-ip
192.168.200.101 
[root@localhost ~]# firewall-cmd --stat
not running
[root@localhost ~]# getenforce
Disabled
[root@localhost ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
[root@localhost ~]# systemctl status iptables
● iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@localhost ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall dae
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值