當前位置:首頁 » 文件管理 » 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 06:20:17 瀏覽:761
公鑰演算法特點 發布:2024-10-26 06:16:44 瀏覽:515
手機限制上傳 發布:2024-10-26 06:12:58 瀏覽:352
android怎麼更新sdk 發布:2024-10-26 06:06:31 瀏覽:308
dnsc語言 發布:2024-10-26 05:55:18 瀏覽:257
上傳視頻最新視頻 發布:2024-10-26 05:42:19 瀏覽:666
安卓手機拍攝臉歪怎麼回事 發布:2024-10-26 05:36:48 瀏覽:919
下述關於資料庫系統的正確敘述是 發布:2024-10-26 05:27:13 瀏覽:443
我的世界國際服117伺服器ip 發布:2024-10-26 05:27:13 瀏覽:259
香港多ip伺服器租用 發布:2024-10-26 05:17:36 瀏覽:552