{"id":244,"title":"\u5f00\u673a\u81ea\u542f\u52a8\u53ca\u7aef\u53e3\u5f00\u542f","good":0,"bad":0,"hit":1921,"created_at":"2016-10-27 10:11:06","content":"

\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\uff1a<\/p>

http:\/\/www.cnblogs.com\/xlmeng1988\/archive\/2013\/05\/22\/3092447.html<\/a><\/p>

<\/p>

\u4fee\u6539\uff1a\/etc\/rc.d\/rc.local\uff0c\u5728\u91cc\u9762\u52a0\u5165\u8981\u542f\u52a8\u7684<\/p>

\/www\/lanmps\/action\/memcached start\/www\/lanmps\/action\/mysql start\/www\/lanmps\/action\/nginx start\/www\/lanmps\/action\/php-fpm start\/www\/lanmps\/action\/sphinx-for-chinese start<\/p>

svnserve -d -r \/svn\u4ed3\u5e93\u540d\/<\/p>

<\/p>

\u5f00\u653e\u7aef\u53e3\uff1a<\/p>

http:\/\/blog.sina.com.cn\/s\/blog_3eba8f1c0100tsox.html<\/a><\/p>

#\/sbin\/iptables -I INPUT -p tcp --dport 80 -j ACCEPT#\/sbin\/iptables -I INPUT -p tcp --dport 22 -j ACCEPT#\/sbin\/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT\u7136\u540e\u4fdd\u5b58\uff1a#\/etc\/rc.d\/init.d\/iptables save<\/p>

<\/p>

\u8bb0\u5f97\u91cd\u542f<\/p>

<\/p>

\u67e5\u770b\u6253\u5f00\u7684\u7aef\u53e3\uff1a# \/etc\/init.d\/iptables status-------------------------------------------------------\u8865\u5145\u8bf4\u660e\uff1a#\u5173\u95ed\u9632\u706b\u5899\/etc\/init.d\/iptables stopservice iptables stop #\r\n\u505c\u6b62\u670d\u52a1#\u67e5\u770b\u9632\u706b\u5899\u4fe1\u606f\/etc\/init.d\/iptables status#\u5f00\u653e\u7aef\u53e3:8080\/sbin\/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT#\u91cd\u542f\u9632\u706b\u5899\u4ee5\u4fbf\u6539\u52a8\u751f\u6548:(\u6216\u8005\u76f4\u63a5\u91cd\u542f\u7cfb\u7edf)\/etc\/init.d\/iptables restart#\u5c06\u66f4\u6539\u8fdb\u884c\u4fdd\u5b58\/etc\/rc.d\/init.d\/iptables save\u53e6\u5916\u76f4\u63a5\u5728\/etc\/sysconfig\/iptables\u4e2d\u589e\u52a0\u4e00\u884c\uff1a-A RH-Firewall-1-INPUT -m state\r\n\u2013state NEW -m tcp -p tcp \u2013dport 8080 -j ACCEPT<\/p>

#\u6c38\u4e45\u5173\u95ed\u9632\u706b\u5899chkconfig \u2013level 35 iptables off #\u6b64\u65b9\u6cd5\u6e90\u81ea\u7f51\u7edc\uff0c\u672a\u5b9e\u9a8c\uff0c\u5b89\u5168\u8003\u8651\u62d2\u7edd\u4f7f\u7528\u6b64\u65b9\u6cd5<\/p>

<\/p>"}