Warning: Undefined array key "cperpage" in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 230

Warning: Undefined variable $output in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 300

Warning: Undefined variable $fixed_tags in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 301

Warning: Undefined variable $isshowdots in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 302

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 305

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 308

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 311

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $more_text_link in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320
ftp – 理想社会

Tagftp

iptables开启ftp规则

i

设置了iptables的禁止所有的端口,只容许可能访问了策略后大部分情况下会出现ftp不能正常访问的问题,因为ftp有主动和被动连接两种模式,少添加一些策略就会出问题。 首先要加载ftp模块 modprobe ip_conntrack_ftp modprobe ip_nat_ftp 然后加载策略 iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -I INPUT -p tcp --dport 21 -j ACCEPT iptables -I OUTPUT -p tcp --dport 21 -j ACCEPT 要是不想每次都加载模块的话...

VSFTP+MySQL虚拟用户配置

V

VSFTP+MySQL虚拟用户配置
1、 安装vsftp软件
下载vsftp(最新版本)软件: wget
如果要开始ssl功能的话,安装vsftp之前要先安装openssl-0.9.8g.tar.gz包
[root@server2 ftp]# tar xzvf openssl-0.9.8g.tar.gz
[root@server2 ftp]# cd openssl-0.9.8g
[root@server2 openssl-0.9.8g]# ./config
[root@server2 openssl-0.9.8g]# make && make install

RHEL5下用vsftpd搭建FTP服务器

R

RPM安装包名:vsftpd-2.0.5-10.el5.i386.rpm

#rpm –ivh vsftpd-2.0.5-10.el5.i386.rpm 安装rpm程序包
#service vsftpd start  =/etc/init.d/vsftpd start 启动vsftpd服务
#service vsftpd stop  =/etc/init.d/vsftpd stop 停止vsftpd服务
#service vsftpd restart  =/etc/init.d/vsftpd restart 重启vsftpd服务
#service vsftpd status  =/etc/init.d/vsftpd status 检查vsftpd服务状态
# ntsysv 或 #chkconfig –level 35 vsftpd on 更改服务自动加载

Your sidebar area is currently empty. Hurry up and add some widgets.