摘要:
技巧一、防止proftpd进行DNS反查以及对用户端进行ident确认在proftpd.conf里面加入两行:UseReverseDNSoff IdentLookupsoff 防止proftpd进行DNS反查以及对用户端进行ident确认。===技巧二、proftpd如何允许以root身份登录在配置文件中使用下面的配置:RootLoginon ===技巧三、如何让匿名用户使用proftpd服务器建立一个用户,用户名为guest,然后在配置文件中使用下面的配置:AnonRequirePasswordoff Userprivate Groupprivate RequireValidShelloff 阅读全文
摘要:
编写开机启动脚本:I、nginx开机启动1、在/etc/init.d/目录下创建脚本vi /etc/init.d/nginx2、更改脚本权限chmod 775 /etc/init.d/nginx3、编写脚本内容 #!/bin/bash# nginx Startup script for the Nginx HTTP Server# it is v.0.0.2 version.# chkconfig: - 85 15# description: Nginx is a high-performance web and proxy server.# It has a lot of features, 阅读全文