当前位置: 首页 > news >正文

有哪些网站建设工作中国大数据平台官网

有哪些网站建设工作,中国大数据平台官网,品牌推广的三个阶段,html成品源代码众所周知防火墙是计算机的安全性的重要保障,所以在RHEL 5防火墙的设置中也很很要,也正是因为它很重要所以在这里要对这个重要而又繁琐的RHEL 5防火墙设置进行一下详细的描述。在RHEL5.2上安装好了Oracle,可以开始进行Oracle练习了。由于我的R…

众所周知防火墙是计算机的安全性的重要保障,所以在RHEL 5防火墙的设置中也很很要,也正是因为它很重要所以在这里要对这个重要而又繁琐的RHEL 5防火墙设置进行一下详细的描述。

在RHEL5.2上安装好了Oracle,可以开始进行Oracle练习了。由于我的RHEL是安装在虚拟机上的,总在虚拟机里操作终归不是那么方便并且响应速度也较慢。好在Oracle 10g里已经有了B/S的管理界面,那么在VM的Host上操作岂不是简单、快捷!虚拟机(VM)IP:10.10.10.197,虚拟机主机(HOST)IP:10.10.10.198,桥接方式(Bridged)连接。可当我在浏览器地址栏输入地址http://10.10.10.197:1158/em时,却提示“Firefox  无法建立到 10.10.10.197:1158 服务器的连接”。可在VM中却执行得很强大,在10.10.10.198上Ping 10.10.10.197也没问题。开始寻找解决办法。从【System->Administration->Security Level and Firewall】进入。RHEL 5防火墙是Enabled状态。可Trusted Services里却明明有WWW(HTTP)服务,为何还是不行呢?

再从【System->Administration->Server Settings->Services】查看服务,找到一个名为iptables的服务,原来它就是防火墙服务

有停止,和在Windows下的Services一样,那么Stop掉。在10.10.10.198上刷新http://10.10.10.197:1158/em。一切尽在预料之中,界面出来了!看来还是防火墙配置的问题。在网络上搜索了一下,可以进行如下配置(参考:http://linux.ccidnet.com/art/9513/20070601/1098119_1.html):

1. 查看RHEL 5防火墙现有配置
[root@RHEL ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source   destination
RH-Firewall-1-INPUT  all  --  0.0.0.0/00.0.0.0/0  
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:1158
Chain FORWARD (policy ACCEPT)
target prot opt source   destination
RH-Firewall-1-INPUT  all  --  0.0.0.0/00.0.0.0/0  
Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source   destination
ACCEPT all  --  0.0.0.0/00.0.0.0/0  
ACCEPT icmp --  0.0.0.0/00.0.0.0/0   icmp type 255
ACCEPT esp  --  0.0.0.0/00.0.0.0/0  
ACCEPT ah   --  0.0.0.0/00.0.0.0/0  
ACCEPT udp  --  0.0.0.0/0224.0.0.251 udp dpt:5353
ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp dpt:631
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:631
ACCEPT all  --  0.0.0.0/00.0.0.0/0   state RELATED,ESTABLISHED
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW tcp dpt:21
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW tcp dpt:22
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW tcp dpt:443
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW tcp dpt:23
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW tcp dpt:80
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with icmp-host-prohibited

2.清除RHEL 5防火墙配置
[root@RHEL ~]# iptables -F
[root@RHEL ~]# iptables -X
[root@RHEL ~]# /etc/rc.d/init.d/iptables save
Saving firewall rules to /etc/sysconfig/iptables:  [  OK  ]
[root@RHEL ~]# iptables -L -n
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

3.添加RHEL 5防火墙配置
将特定的端口添加到允许列表。比如EM使用的1158、telnet使用的23和Litener使用的1521等。
[root@RHEL ~]# iptables -A INPUT -p tcp --dport 1158 -j ACCEPT
[root@RHEL ~]# iptables -A INPUT -p tcp --dport 23 -j ACCEPT
[root@RHEL ~]# iptables -A INPUT -p tcp --dport 1521 -j ACCEPT

保存配置:
[root@RHEL ~]# /etc/rc.d/init.d/iptables save
Saving firewall rules to /etc/sysconfig/iptables:  [  OK  ]

查看一下当前配置:
[root@RHEL ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:1158
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:23
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp dpt:1521
Chain FORWARD (policy ACCEPT)
target prot opt source   destination
Chain OUTPUT (policy ACCEPT)
target prot opt source   destination  

重启一下防火墙服务:
[root@RHEL ~]# service iptables restart
Flushing firewall rules:   [  OK  ]
Setting chains to policy ACCEPT: nat filter[  OK  ]
Unloading iptables modules:[  OK  ]
Applying iptables firewall rules:  [  OK  ]
Loading additional iptables modules: ip_conntrack_netbios_n[  OK  ]ntrack_ftp
经过如此配置,在10.10.10.198上访问EM正常,使用PL/SQL Developer等也能正常连接。

其实如果仔细的跟住步骤来,应该还是比较容易掌握RHEL 5防火墙设置的,以上就是笔者对于RHEL 5防火墙设置的总结,希望可以帮助到大家对于RHEL 5防火墙的使用。

 
http://www.lbrq.cn/news/2620423.html

相关文章:

  • 可以做动漫的网站有哪些seo诊断分析工具
  • 做网站用什么服务器中国国家培训网正规吗
  • 盐城市城乡建设局网站网络竞价
  • 购物网站有哪些?培训心得体会范文大全2000字
  • html5静态网站大数据培训课程
  • 菠菜网站做首存亚洲足球最新排名
  • 网站设计答辩ppt搜索引擎营销
  • 国家城乡住房建设部网站首页seo网站优化方案书
  • 网站设计模块网络营销方式有哪些
  • 申请网站域名空间手机自己怎么建电影网站
  • 专业定制网站制作公司现在推广平台哪家最好
  • 做弹幕网站网站seo查询站长之家
  • 做网站用的字体域名解析查询
  • 广东营销网站制作站长友情链接
  • 嵌入式应用软件开发流程seo竞价排名
  • 网站套餐网页万能搜索网站
  • C#如何做简易网站淘宝关键词优化推广排名
  • 网站建设不完整什么意思武汉百度推广代运营
  • wordpress联系我们网站seo工具
  • 自己做衣服网站抖音推广平台联系方式
  • 北京做网站建设公司哪家好南昌网站优化公司
  • 网站提交做外链有什么作用企业网站seo案例分析
  • 扁平网站设计爱站网关键词排名
  • 做国际网站怎么能快速打开湖南有实力seo优化
  • 购物网站建设开发费用分析文山seo公司
  • 重庆建设局网站短链接生成
  • 高中文凭能学做网站吗数据分析网官网
  • asp access网站建设源代码百度推广账户优化
  • 网站建设与管理2018百度明星人气榜入口
  • 怎么做外贸网站推广今日头条权重查询
  • 使用Spring Boot + Angular构建安全的登录注册系统
  • 部署Web UI自动化测试平台:SeleniumFlaskTester
  • Bug 记录:SecureRandom.getInstanceStrong()导致验证码获取阻塞
  • 统计鱼儿分布情况 Java
  • linux定时器管理 timer_*系统调用及示例
  • 如何让 RAG 检索更高效?——大模型召回策略全解