当前位置:首页 » 文件管理 » suseftp

suseftp

发布时间: 2022-02-16 15:07:41

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

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

B. 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

C. suse linux 如何设置ftp端口号

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

D. suse 定时ftp任务 脚本怎么写

重点是这一句:ftp-v-i-n218.200.245.84>/home/mediation/log/ftpcdr.log从这一句看出所有的FTP命令都是从“/home/mediation/config.billing”此文件中读取的,所以你要的FTP命令都在这个文件中。

E. suse linux怎么安装ftp

suse自带的包管理,叫yast,现在可能是yast2了,图形界面直接打开yast搜索vsftpd安装就行。命令行的话用yast2 install vsftpd

F. 如何在linux下开启FTP服务

Linux下ftp服务可以通过搭建vsftpd服务来实现,以CentOS为例,首先查看系统中是否安装了vsftpd,可以通过执行命令rpm -qa |grepvsftpd来查看是否安装相应的包,如果没有安装那么可以执行yum-yinstallvsftpd来安装,安装之后首先创建ftp用户,比如ftp_test,命令如下:

useradd-s/sbin/nologin-d/home/ftp_testftp_test

目录尽量不要选择根目录下,这里是/home/ftp_test,并且ftp_test这个目录不要手动创建,否则权限会有问题,执行命令的时候会自动创建,

现在可以看到上面的路径是一个/,对于ftp用户来说也就是根目录了,只能在这个目录下操作,而无法跳出这个目录

以上就是vsftpd服务的基本搭建过程,实际使用时可以分配多个用户

G. 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

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

H. suse11 FTP客户端是哪个rpm包

一、 安装步骤:
www1:~#
zypper install -y vsftpd

www1:~# vi /etc/vsftpd.conf

# line 18: uncomment ( allow writing )
write_enable=YES

# line 39: uncomment
ls_recurse_enable=YES

# line 59: uncomment ( allow local user )
local_enable=YES

# line 69: uncomment ( enable chroot )
chroot_local_user=YES

# line 75: uncomment ( enable chroot list )
chroot_list_enable=YES

# line 79: uncomment ( specify chroot list )
chroot_list_file=/etc/vsftpd.chroot_list

# line 91: uncomment ( no anonymous )
anonymous_enable=NO

# line 200: uncomment: ( allow ascii mode )
ascii_upload_enable=YES
ascii_download_enable=YES

# add at the bottom: specify your root directory
local_root=/home
# use local time
use_localtime=YES

www1:~# vi /etc/vsftpd.chroot_list

# add users you allow to move over their home directory
test

www1:~# /etc/init.d/vsftpd start
Starting vsftpddone
www1:~# chkconfig vsftpd

二、安装后验证

I. 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

热点内容
文件夹红色感叹号 发布:2024-10-26 08:11:23 浏览:86
ipv4的服务器地址是多少 发布:2024-10-26 08:10:26 浏览:157
maven自动下载源码 发布:2024-10-26 07:55:11 浏览:523
比较经济的数据存储方案 发布:2024-10-26 07:53:36 浏览:256
lms源码 发布:2024-10-26 07:41:45 浏览:871
oracle实例与数据库 发布:2024-10-26 07:41:44 浏览:735
巫师3与黑魂三哪个配置要求高 发布:2024-10-26 07:35:13 浏览:607
数据库连接实例 发布:2024-10-26 07:34:38 浏览:700
vbwebbrowser缓存 发布:2024-10-26 07:25:55 浏览:474
脚本血色 发布:2024-10-26 07:25:09 浏览:576