会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
timerainbow
博客园
首页
新随笔
联系
订阅
管理
2014年10月21日
Linux 下关闭防火墙设置
摘要: 一.Linux下开启/关闭防火墙命令1) 永久性生效,重启后不会复原开启: chkconfig iptables on关闭: chkconfig iptables off2) 即时生效,重启后复原开启: service iptables start关闭: service iptables stop需...
阅读全文
posted @ 2014-10-21 12:34 timerainbow
阅读(604)
评论(0)
推荐(0)
编辑
查看本机IP
摘要: $ifconfig
阅读全文
posted @ 2014-10-21 10:50 timerainbow
阅读(105)
评论(0)
推荐(0)
编辑
linux修改localhost方法
摘要: 方法一:暂时修改机器名:hostname www.2cto.com 用hostname命令可以临时修改机器名,但机器重新启动之后就会恢复原来的值。 #hostname //查看机器名 #hostname -i //查看本机器名对应的ip地址方法二:永久性修改机器名:修改系统配置文件 修改/e...
阅读全文
posted @ 2014-10-21 10:46 timerainbow
阅读(5378)
评论(0)
推荐(0)
编辑
公告