1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost~]#serviceiptablesstop//关闭防火墙iptables:清除防火墙规则:[确定]iptables:将链设置为政策ACCEPT:filter[确定]iptables:正在卸载模块:[确定][root@localhost~]#chkconfigiptablesoff[root@..
分类:
系统相关 时间:
2014-07-08 10:10:44
阅读次数:
298
Mac 使用 NFS 连接 Centos 上的共享文件夹NFS介绍网络文件系统(Network File System,NFS),一种使用于分散式文件系统的协议,由升阳公司开发,于1984年向外公布。功能是通过网络让不同的机器、不同的操作系统能够彼此分享个别的数据,让应用程序在客户端通过网络访问位于...
分类:
其他好文 时间:
2014-07-06 22:04:23
阅读次数:
328
超级好的配置centos下服务的链接 http://www.server-world.info/en/note?os=CentOS_6&p=nfs http://linux.vbird.org/linux_server/0330nfs.php 以下是NFS最显而易见的好处: 本地工作站使用更少的磁盘...
分类:
其他好文 时间:
2014-07-06 16:37:55
阅读次数:
188
当我编译完内核参数后,#/sbin/sysctl-perror:"net.bridge.bridge-nf-call-ip6tables"isanunknownkeyerror:"net.bridge.bridge-nf-call-iptables"isanunknownkeyerror:"net.bridge.bridge-nf-call-arptables"isanunknownkey去网上一查,发现缺少bridge这个模块文件通过执行:mo..
分类:
其他好文 时间:
2014-07-05 23:05:49
阅读次数:
234
snat:iptables -t nat -A POSTROUTING -s 192.168.1.14 -j SNAT --to-source 10.32.15.34其中,-s 192.168.1.14是想要访问外网的内网主机的ip,--to-source 10.32.15.34为做nat的serv...
分类:
其他好文 时间:
2014-07-05 20:16:40
阅读次数:
265
#!/bin/bashwhiletruedo badip=$(lastb-i-a|awk‘/ssh:notty/{print$NF}‘|sort|uniq-c|awk‘($1>3){print$2}‘) foriin$badip do iptables-tfilter-IINPUT-s$i-ptcp--dport22-jDROP done :>/var/log/btmp sleep10sdone
分类:
移动开发 时间:
2014-07-04 06:22:09
阅读次数:
364
问题描述:我使用目标机挂在nfs后,读写较大的文件就会出现server is not responding, still trying问题,google了一下,有人是这么解决的,如下***********************************************************...
分类:
其他好文 时间:
2014-07-03 19:53:24
阅读次数:
244
TFTP-uImage-NFS-rootfs :FL2440 # printenvbaudrate=115200ethaddr=08:00:3e:26:0a:5bbootdelay=1bootfile="uImage"filesize=23A08fileaddr=30000000netmask=25...
分类:
其他好文 时间:
2014-07-03 12:59:43
阅读次数:
261
1.配置网卡IP地址#ifconfigeth0192.168.186.1882.关闭防火墙#iptables-F3.安装软件所需要的软件:bind和caching-name#rpm-ivhbind-9.3.6-4.P1.el5#rpm-ivhcaching-nameserver-9.3.6-4.P1.el54.修改named.conf配置文件修改named.caching-nameserver.conf#cp/etc/named.caching-n..
分类:
其他好文 时间:
2014-07-02 15:52:02
阅读次数:
209