web服务器
84shelley
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CentOS 5.4环境下的Nginx+PHP5.3的完整安装
操作系统CentOS 5.4系统安装完成后,安装必要的包yum install autoconf gcc gcc-c++ libjpeg libjpeg-level libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel g原创 2010-03-13 18:26:00 · 1970 阅读 · 0 评论 -
nginx只允许某个IP段访问
只在虚拟主机文件里添加location / {allow 192.168.1.0/24;deny all;}即可,如要允许多个IP段,添加allow 就可以了。原创 2010-05-09 18:49:00 · 2102 阅读 · 3 评论 -
centos防火墙
# iptables -F # iptables -X # iptables -A INPUT -p tcp --dport 22 -j ACCEPT # iptables -P INPUT DROP # iptables -P OUTPUT ACCEPT # iptables -P FORWARD ACCEPT # service iptables save # service i原创 2010-09-21 02:04:00 · 511 阅读 · 0 评论 -
proftpd安装
1.3.4rc3 ./configure --prefix=/usr/local/proftpd --with-modules=mod_quotatab:mod_quotatab_file --enable-ctrls --enable-nls --enable-shadow --enable-dso --enable-autoshadow make && make install cp原创 2012-03-21 15:11:46 · 493 阅读 · 0 评论
分享