Vsftpd 軟體包的安裝

來源:互聯網
上載者:User


Vsftpd 軟體包的擷取和安裝
首先安裝ftp-0.17-51.1.el6.x86_64.rpm
然後安裝vsftpd-2.2.2-11.el6.x86_64.rpm
安裝rpm時需要擁有系統的root許可權
#rpm -ivh  ftp-0.17-51.1.el6.x86_64.rpm
#rpm -ivh  vsftpd-2.2.2-11.el6.x86_64.rpm
安裝完成之後,需要將設定檔複製到/etc目錄下,
#cp /etc/vsftpd/vsftpd.conf  /etc/


在命令列輸入以下命令即可啟動vsftpd,
#vsftpd &
[1] 7910


&表示vsftpd在後台運行。
用以下命令對安裝後的vsftpd進行檢測:
[tom@localhost ~]$ ftp localhost
Trying ::1...
ftp: connect to address ::1拒絕串連
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
220 (vsFTPd 2.2.2)
Name (localhost:liping): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (127,0,0,1,59,129).
150 Here comes the directory listing.
drwxr-xr-x    2 0        0            4096 Jun 22 07:55 pub
226 Directory send OK.
ftp> bye
221 Goodbye.


啟動和關閉vsftpd
啟動vsftpd服務
#service vsftpd start
停止vsftpd服務
#service vsftpd stop
重新啟動vsftpd服務
#service vsftpd restart
檢查vsftpd服務狀態

#service vsftpd status


/var/ftp匿名使用者主目錄

/var/ftp/pub匿名使用者的下載目錄






相關關鍵詞:
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.