CentOS7安装MySQL8的大坑 发表于 2024-03-22 | Chris 按官方文档,安装好MySQL后,配置好/etc/my.conf文件,但是启动失败,查日志发现报错: 1 /usr/sbin/restorecon: lstat(/data/mysql) failed: No such file or directory 是因为datadir文件 [阅读全文] CentOS MySQL
CentOS安装mysql5.7 发表于 2017-07-20 | Chris 安装 下载MySQL yum源安装包: https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm 安装MySQL yum源: 1 yum localinstall mysql57-community-release-el7-11.noarch.rpm 安装 1 yum install mysql-community-server 配置 编辑/etc/my.cnf文件,添加一行配置 1 skip-grant-tables = 1 启动 [阅读全文] CentOS mysql
firewalld常用操作 发表于 2015-10-09 (上次修改时间 2018-03-09) | Chris CentOS 7之后默认使用firewall做防火墙,配置文件位置: /etc/firewalld/zones/public.xml firewalld的基本使用 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [阅读全文] linux CentOS CentOS 7 firewalld
systemctl 发表于 2015-10-09 | Chris systemctl是CentOS 7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体 1 2 3 4 5 6 7 8 9 10 11 [阅读全文] linux CentOS CentOS 7 systemctl