當前位置:首頁 » 文件管理 » 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-08 07:40:26 瀏覽:778
奧迪a6哪個配置帶後排加熱 發布:2024-09-08 07:06:32 瀏覽:100
linux修改apache埠 發布:2024-09-08 07:05:49 瀏覽:208
有多少個不同的密碼子 發布:2024-09-08 07:00:46 瀏覽:566
linux搭建mysql伺服器配置 發布:2024-09-08 06:50:02 瀏覽:995
加上www不能訪問 發布:2024-09-08 06:39:52 瀏覽:811
銀行支付密碼器怎麼用 發布:2024-09-08 06:39:52 瀏覽:513
蘋果手機清理瀏覽器緩存怎麼清理緩存 發布:2024-09-08 06:31:32 瀏覽:554
雲伺服器的優點與缺點 發布:2024-09-08 06:30:34 瀏覽:734
上傳下載賺錢 發布:2024-09-08 06:14:51 瀏覽:258