1.hadoop的伪分布安装1.1 设置ip地址执行命令service network restart验证:ifconfig1.2 关闭防火墙执行命令service iptables stop验证:service iptables status1.3关闭防火墙的自动运行执行命令chkconfig i...
分类:
其他好文 时间:
2015-04-20 00:11:37
阅读次数:
103
PAT 1090. Highest Price in Supply Chain (25)(DFS啊 )...
分类:
其他好文 时间:
2015-04-19 21:26:15
阅读次数:
158
16.iptables配置管理·配置文件:·通过iptables添加的规则并不会永久保存,需要serviceiptablessave命令永久保存到/etc/sysconfig/iptables文件中,·CentOS自带默认iptables规则,保存自定义规则会覆盖默认规则,·基本操作:·iptables服务默认启动,serviceiptablesstatus..
分类:
其他好文 时间:
2015-04-19 19:48:24
阅读次数:
108
#防火墙允许端口
iptables-AINPUT-mstate--stateNEW-mtcp-ptcp--dport80-jACCEPT
iptables-AINPUT-mstate--stateNEW-mtcp-ptcp--dport3306-jACCEPT
#SELinux配置
SELINUX=disabled
#Nginx安装
yum-yremovehttpd*php*
yum-yinstallnginx
servicenginxstart
chkconfignginxon
..
分类:
其他好文 时间:
2015-04-19 19:40:16
阅读次数:
153
嵌入式入门-远程登录
一 登录前提
1 windows与linux相互ping通
ifconfig
2 linux关闭防火墙
/etc/init.d/iptables stop
二 登录工具-命令行
1 putty
2 SecureCRT
三 登录工具-图形化
1 vncserver
附:my_qq8727857...
分类:
其他好文 时间:
2015-04-19 19:33:55
阅读次数:
142
1.Priority use ID selector2.Add TagName before Class selector3.Never add Tag before ID, because ID is unique4.Use find() instead of children()5.Chain ...
分类:
Web程序 时间:
2015-04-19 19:25:20
阅读次数:
132
linux系统- 文件共享
一
文件共享的前提
1 windows与linux相互ping通
测试方法如下
则ping通
2 linux的防火墙关闭
/etc/init.d/iptables stop
二 samba配置
1 安装samba
2 设置密码:smbpasswd -a username
3 配置samba
4 重启samb...
分类:
系统相关 时间:
2015-04-19 14:44:28
阅读次数:
159
linux系统-远程登录
一 登录前提
1 windows与linux相互ping通
使用ifconfig查看网络状态
2 linux关闭防火墙
/etc/init.d/iptables stop
二 登录工具-命令行
1 putty
2 SecureCRT
三 登录工具-图形化
1 vncserver...
分类:
系统相关 时间:
2015-04-19 11:34:33
阅读次数:
195
iptables是编写netfilter规则的工具。一般情况下,升级kernel可顺便升级netfilter模块。连接追踪模块是xt_state.ko.TCP/IP的状态有12种,而iptables关于连接的状态只有4种:Established,New,Related,Ivalid.Established的状态定义为,只要封包能成功穿越防火墙,之后所有相关的..
分类:
其他好文 时间:
2015-04-19 06:37:44
阅读次数:
585
iptables 配置如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)target prot ...
分类:
系统相关 时间:
2015-04-18 23:35:32
阅读次数:
281