- 博客(5)
- 收藏
- 关注
原创 Failed to start iptables.service: Unit iptables.service failed to load: No such file or directory.
如果遇到这种情况的话可以先查看当前centos的版本,centos7以上将启动防火墙(iptables)命名为firewalld使用systemctl status firewalld.service 查看当前防火墙状态,然后使用systemctl stop|start指令停止或者启动firewalld。systemctl disable firewalld.service设置开机不启动。...
2020-04-25 16:07:39 515
原创 centos7 上mariadb使用数据库配置过程
centos7 上mariadb使用数据库首先检查是否安装mariadb在检查是否安装mariadb-server然后vim进入到vim /etc/my.cnf.d/server.cnf 目录中[mysqld]中添加skip_name_resolve=ONinnodb_file_per_table=ON两个字段第一个是登录时不反解域名第二个是iniodb使用单独的表存储空间...
2020-04-24 21:05:10 787
原创 linux中mysql设置无密码登录
ERROR 1045 (28000): Access denied for user ‘localhost’@‘localhost’ (using password: YES)设置无密码登录vim /etc/my.cnf 添加skip-grant-tables重启systemctl restart mysqld.service查看状态systemctl status mysqld.ser...
2020-04-24 15:09:23 2639
原创 有无虚拟网卡virbr0配置Tcp:bind 53端口监听
有无虚拟网卡virbr0配置Tcp:bind 53端口监听一,centos6,7,8中有virbr0虚拟网卡上图显示虚拟网卡virbr0添加IP地址: ip addr add 192.168.80.176 dev virbr0通过 vim /etc/named.conf修改options中的listen-on port {}中的ip地址,注意要和新添加的ip一致,注意大括号内首位空格和...
2020-04-23 22:55:23 670
原创 centos6.7发送mail时出现parameter mydomain: bad parameter value: 7
centos6.7发送mail时出现parameter mydomain: bad parameter value: 7#centos6.7 为xshell连接,当使用test向另一用户my发送mail是出现上述问题。不知道如何修改。
2020-04-17 21:06:33 592
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人