当前位置:首页 » 文件管理 » suse开启ftp

suse开启ftp

发布时间: 2024-07-27 06:21:11

Ⅰ suse 11怎么开启ftp服务

1.启动vsftp服务器
# cd /etc/xinetd.d/
# ls

# chkconfig vsftpd --list
# chkconfig vsftpd on
# chkconfig vsftpd --list

2.重新启动xinetd
# rcxineted restart

3.默认情况下xineted不自动启动,手动更改.
# chkconfig xinetd --list
# chkconfig xinetd on

4. 测试ftp服务器

提示:ftp默认目录为 /src/ftp

Ⅱ SUSE10操作系统 使用FTP工具无法连接什么原因

不确定你用的什么模式,我在自己的系统上测试了一下。
1.standalone 模式:
1.1yast xinetd 里off vsftpd
1.1.1 /etc/vsftpd.conf 里设置listen_ipv6=YES 注释掉listen=YES
FTP工作正常
/etc/init.d/vsftpd restart done
1.1.2 /etc/vsftpd.conf 里注释掉listen_ipv6=YES 设置listen=YES
# /etc/init.d/vsftpd restart done
ftp正常
1.1.3 /etc/vsftpd.conf 里设置isten_ipv6=YES 设置listen=YES
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed
ftp 无法连接 原因应为conf里写的 “ run two copies with two conf files”
1.1.4/etc/vsftpd.conf 里注释掉isten_ipv6=YES 注释掉listen=YES
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed
ftp 无法连接
1.1.5 根据 以下文档 不做测试 文档见
/usr/share/doc/packages/vsftpd/README.SUSE

”Starting with 10.1 vsftpd can be configured standalone
or over the xinetd superdeamon. Default is standalone.

If you want to run it over xinetd make sure the you enable
the service in the xinetd configuration (/etc/xinetd.d/vsftp)
and set the following line in /etc/vsftpd.conf

listen=NO

This is needed for vsftpd to over xinetd.“

2.xinetd 模式
2.1 yast xinetd 里 on vsftpd
/etc/vsftpd,conf 注释掉listen_ipv6=YES 设置listen=NO
#service xinetd restart
ftp 工作正常
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed
2.2 yast xinetd 里 off vsftpd
/etc/vsftpd,conf 注释掉listen_ipv6=YES 设置listen=NO
#service xinetd restart
ftp无法连接
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed

发现是因为yast中xinetd下的ftp被打开,ftp模式却是standalone模式

linux suse 服务器远程(FTP/TELNET)故障

1、是不是硬盘的问题啊,你换回原来的硬盘测试一下。
2、防火墙有没有开启相应的端口
3、测试一下网络环境 在连不上的情况下是否能ping通
4、ftp/telnet 配置文件有没有改变

Ⅳ suse linux进行端口映射实现内网ftp服务

# ftp
modprobe ip_nat_ftp ###加载ip_nat_ftp模块(若没有编译进内核),以使ftp能被正确NAT
modprobe ip_conntrack_ftp ###加载ip_conntrack_ftp模块
# 用DNAT作端口映射
iptables -t nat -A PREROUTING -d a.b.c.d -p tcp --dport 21 -j DNAT --to 192.168.0.5
iptables -A FORWARD -o eth0 -d 192.168.0.5 -p tcp --dport 21 -j ACCEPT
iptables -A FORWARD -i eth0 -s 192.168.0.5-p tcp --sport 21 -m --state ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth0 -s 192.168.0.5 -p tcp --sport 20 -m --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -o eth0 -d 192.168.0.5 -p tcp --dport 20 -m --state ESTABLISHED -j ACCEPT
iptables -A FORWARD -o eth0 -d 192.168.0.5 -p tcp --dport 1024: -m --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth0 -s 192.168.0.5 -p tcp --sport 1024: -m --state ESTABLISHED -j ACCEPT
# 用SNAT作源地址转换(关键),以使回应包能正确返回
iptables -t nat -A POSTROUTING -d 192.168.0.5 -p tcp --dport 21 -i eth0 -j SNAT --to 192.168.0.1

最后配置自动启动文件,这样开机就自动启动服务了

Ⅳ suse linux 如何设置ftp端口号

是配置监听端口吗?
监听端口缺省为21,如果不想用这个端口,修改ftp 服务器配置文件(vsftp)/etc/vsftpd/vsftpd.conf,增加(或修改)这一行:
listen_port=8000
重新启动ftpd:
sudo service vsftpd restart。

Ⅵ SUSE系统的FTP服务启动失败

不确定你用的什么模式,我在自己的系统上测试了一下。
1.standalone 模式:
1.1yast xinetd 里off vsftpd
1.1.1 /etc/vsftpd.conf 里设置listen_ipv6=YES 注释掉listen=YES
FTP工作正常
/etc/init.d/vsftpd restart done
1.1.2 /etc/vsftpd.conf 里注释掉listen_ipv6=YES 设置listen=YES
# /etc/init.d/vsftpd restart done
ftp正常
1.1.3 /etc/vsftpd.conf 里设置isten_ipv6=YES 设置listen=YES
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed
ftp 无法连接 原因应为conf里写的 “ run two copies with two conf files”
1.1.4/etc/vsftpd.conf 里注释掉isten_ipv6=YES 注释掉listen=YES
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed
ftp 无法连接
1.1.5 根据 以下文档 不做测试 文档见
/usr/share/doc/packages/vsftpd/README.SUSE

”Starting with 10.1 vsftpd can be configured standalone
or over the xinetd superdeamon. Default is standalone.

If you want to run it over xinetd make sure the you enable
the service in the xinetd configuration (/etc/xinetd.d/vsftp)
and set the following line in /etc/vsftpd.conf

listen=NO

This is needed for vsftpd to over xinetd.“

2.xinetd 模式
2.1 yast xinetd 里 on vsftpd
/etc/vsftpd,conf 注释掉listen_ipv6=YES 设置listen=NO
#service xinetd restart
ftp 工作正常
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed
2.2 yast xinetd 里 off vsftpd
/etc/vsftpd,conf 注释掉listen_ipv6=YES 设置listen=NO
#service xinetd restart
ftp无法连接
# /etc/init.d/vsftpd restart
exit status of parent of /usr/sbin/vsftpd: 1 failed

Ⅶ suse linux 安装完ftp后 怎么启动不了

命令输错了,启动是
service vsftpd start

热点内容
跳转页源码 发布:2024-09-17 03:13:05 浏览:543
html文件上传表单 发布:2024-09-17 03:08:02 浏览:784
聊天软件编程 发布:2024-09-17 03:00:07 浏览:726
linuxoracle安装路径 发布:2024-09-17 01:57:29 浏览:688
两个安卓手机照片怎么同步 发布:2024-09-17 01:51:53 浏览:207
cf编译后没有黑框跳出来 发布:2024-09-17 01:46:54 浏览:249
安卓怎么禁用应用读取列表 发布:2024-09-17 01:46:45 浏览:524
win10设密码在哪里 发布:2024-09-17 01:33:32 浏览:662
情逢敌手迅雷下载ftp 发布:2024-09-17 01:32:35 浏览:337
安卓如何让软件按照步骤自动运行 发布:2024-09-17 01:28:27 浏览:197