摘要: 环境:主机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 阅读全文
posted @ 2013-10-08 23:12 一天不进步,就是退步 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: ‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. Recent versions of GNU Grep (>= 2.5.2) provide:‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. So you can do:grep -R --exclude-dir=node_module... 阅读全文
posted @ 2013-10-08 21:57 一天不进步,就是退步 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 原地址:http://www.cnblogs.com/zqwang0929/p/3352237.html在 Linux 操作系统下,几乎所有的软件均通过RPM 进行安装、卸载及管理等操作。RPM 的全称为Redhat Package Manager ,是由Redhat 公司提出的,用于管理Linux 下软件包的软件。Linux 安装时,除了几个核心模块以外,其余几乎所有的模块均通过RPM 完成安装。RPM 有五种操作模式,分别为:安装、卸载、升级、查询和验证。 1)用RPM安装软件包,最简单的命令如下:1 #rpm -i example.rpm 安装 example.rpm 包;2 #rpm 阅读全文
posted @ 2013-10-08 09:19 一天不进步,就是退步 阅读(363) 评论(0) 推荐(0) 编辑