修改/etc/sysconfig/iptables 文件,添加以下内容:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
1.db.runCommand(
2.{
3. mapreduce : <collection>,
4. map : <mapfunction>,
5. reduce : <reducefunction>
6. [, query : <query filter object>]
7. [, sort : <sort the query. useful optimization>] for
8. [, limit : <number of objects to from collection>] return
9. [, out : <output-collection name>]
10. [, keeptemp: < | >] true false
11. [, finalize : <finalizefunction>]
12. [, scope : <object where fields go into javascript global scope >]
13. [, verbose : ] true
14.});
1.db.runCommand(
2.{
3. mapreduce : <collection>,
4. map : <mapfunction>,
5. reduce : <reducefunction>
6. [, query : <query filter object>]
7. [, sort : <sort the query. useful optimization>] for
8. [, limit : <number of objects to from collection>] return
9. [, out : <output-collection name>]
10. [, keeptemp: < | >] true false
11. [, finalize : <finalizefunction>]
12. [, scope : <object where fields go into javascript global scope >]
13. [, verbose : ] true
14.});