主机访问虚拟机中linux上的web服务
|
环境:主机windows xp 虚拟机centos 6.4 [root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@localhost /]# /etc/rc.d/init.d/iptables saveiptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ] [root@localhost /]# cd /etc [root@localhost etc]# cd init.d[root@localhost init.d]# lsauditd crond halt iptables keepalived lvm2-lvmetad netconsole network rdisc rsyslog saslauthd sshdblk-availability functions ip6tables jexec killall lvm2-monitor netfs postfix restorecond sandbox single udev-post[root@localhost init.d]# /etc/init.d/iptables restartiptables: Flushing firewall rules: [ OK ]iptables: Setting chains to policy ACCEPT: filter [ OK ]iptables: Unloading modules: [ OK ]iptables: Applying firewall rules: [ OK ][root@localhost init.d]# (编辑:长春站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 如何从Linux init.d / rc.d脚本中查找错误消息?
- regex – sed – 删除大型csv文件中引号内的引号
- linux – dhclient:“RTNETLINK回答:文件存在”是什么意思
- linux – 杀死特定用户运行的进程
- LINUX学习:关于RedHat Linux无法使用yum命令安装gcc-c++问
- linux – 使用Vagrant从配置shell脚本更新.bashrc
- 是否可以使用awk将不同的行打印到不同的输出文件
- linux – i386:x64-32 vs i386 vs i386:x86_64之间的区别
- linux – XMonad:dmenu在启动时没有启动/生成
- pthreads:以编程方式收集有关在不同状态上花费的时间的信息
