1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc ...
分类:
其他好文 时间:
2017-09-21 21:11:58
阅读次数:
121
1,centos7 使用 systemctl 替换了 service命令 参考:redhat文档: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_ ...
分类:
其他好文 时间:
2017-09-20 00:48:44
阅读次数:
184
如果从MySQL5.6升到5.7,可能会出现Table 'performance_schema.session_status' doesn't exist和Native table 'performance_schema'.'session_status' has the wrong structu ...
分类:
其他好文 时间:
2017-09-19 21:17:57
阅读次数:
648
#!/bin/bash interface1=`ls /sys/class/net|grep en|awk 'NR==1{print}'`interface2=`ls /sys/class/net|grep en|awk 'NR==2{print}'` interface_file1="/etc/s ...
分类:
其他好文 时间:
2017-09-19 11:26:35
阅读次数:
202
操作系统环境:CentOS Linux release 7.0.1406(Core) 64位CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙步骤。1、关闭firewall:systemctl stop firewalld.service #停止firewal ...
分类:
其他好文 时间:
2017-09-18 14:48:50
阅读次数:
177
SYSMAN和DBSNMP用户密码过期后OEM无法使用,并报以下错误: SYSMAN用户的密码被加密后存放在不同的地方,这样database control(OMS和agent)可以不用每次访问数据库时都输入密码。 当在数据库中改变了SYSMAN的密码后,还要将新密码提供给database cont ...
分类:
数据库 时间:
2017-09-16 20:32:36
阅读次数:
261
rsyslog 服务器重启后 发现不能接受到外部日志 只能接受本地日志 关闭防火墙即可 1 关闭防火墙: # systemctl stop firewalld 2 将SELINUX设置为disabled # setenforce 0 # sed -i 's#SELINUX=enforcing#SEL ...
分类:
其他好文 时间:
2017-09-15 20:18:13
阅读次数:
227