启动FirewallD服务: systemctl?enable?firewalld.service????????#设置开机启动
systemctl?start?firewalld.service????????????#开启服务 查看防火墙状态: systemctl?status?firew...
分类:
系统相关 时间:
2015-05-12 21:09:44
阅读次数:
229
在RHEL 7.0中安装启动iptables: yum?install?iptables-services????????????????????#安装iptables
systemctl?mask?firewalld.service??????????????#屏蔽firewalld服务
...
分类:
系统相关 时间:
2015-05-12 19:23:12
阅读次数:
234
我们都知道在LINUX下可以使用命令行补齐功能来快捷的输入命令,但在RHEL7或者CentOS7,变化很多了。很多配置命令变得很长了,手动输入命令略显繁琐,好在RHEL7支持命令行加参数自动补齐,增加的很多新命令都可以使用参数自动补齐。例如防火墙配置使用了firewall-cmd,添加规则什..
分类:
其他好文 时间:
2015-05-12 19:09:39
阅读次数:
116
双网卡绑定实验环境:RHEL7.0#nmcliconnectionaddtypeteamcon-nameteam0ifnameteam0config‘{"runner":{"name":"activebackup"}}‘#nmcliconnectionshow#nmcliconnectionmodifyteam0ipv4.addresses192.168.254.88/24更改IP#nmcliconnectionmodifyteam0ipv4.methodmanual设置固定I..
分类:
其他好文 时间:
2015-05-10 01:11:15
阅读次数:
210
1.安装apache服务器 yum install httpd*2.更改firewall centos7默认使用firewall而不是熟悉的iptables systemctl stop firewalld.service systemctl disabledfirewalld.servi...
分类:
其他好文 时间:
2015-05-08 19:57:12
阅读次数:
144
学习openstack第一步安装centos71.选择安装centos\RHEL7.X最小化安装并添加开发工具,因为centos7的安装和centos6.x安装差别巨大,centos7安装时图形界面选择安装CentOS7选择英文不要选择中文,因为中文报警觉得看着很不爽,而且翻译的有问题。选择时区,亚洲(asia)上海(cit..
分类:
其他好文 时间:
2015-05-06 11:13:18
阅读次数:
184
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2015-04-29 19:18:09
阅读次数:
269
PermitRootLogin nosystemctl restart sshd.service;yum -y install firewalld;systemctl start firewalld.service cp /usr/lib/firewalld/services/ssh.xml /et...
分类:
其他好文 时间:
2015-04-23 15:15:57
阅读次数:
262
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。firewall:systemctl start firewalld.service#启动firewallsystemctl stop firewalld.service#停止firewallsystemct...
分类:
其他好文 时间:
2015-04-23 12:26:34
阅读次数:
130
准备篇:RHEL 7.0系统安装配置图解教程:http://www.osyunwei.com/archives/7702.html一、使用系统镜像文件配置本地yum源1、使用WinSCP.exe等工具上传系统镜像文件rhel-server-7.0-x86_64-dvd.iso到/usr/local/...
分类:
其他好文 时间:
2015-04-19 00:58:38
阅读次数:
241