Vsftpd 軟體包的安裝

2021-06-09 17:30:34 字數 1302 閱讀 4662

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匿名使用者主目錄

軟體包安裝

指令碼安裝包,c語言源 開源 編譯時間長。lamp環境搭建 linux apache mysql php 效率高 mnt cdrom packagehttpd 2.2.15 15.el6.centos.1.i686.rpm httpd 軟體名 2.2.15 軟體版本 15 軟體發布次數 el6.ce...

centOS軟體包安裝

之前使用ubuntu,工作需要開始轉向centos,簡單記錄軟體包安裝 centos的軟體安裝大致可以分為兩種型別 centos rpm檔案安裝,使用rpm指令 ubuntu deb檔案安裝,使用dpkg指令 centos yum安裝 ubuntu apt get安裝 rpm指令 一 查詢系統裝已經...

yum安裝軟體包

yum install subversion rpm qa grep subversion subversion 1.6.11 10.el6 5.x86 64 rpm ql subversion 1.6.11 10.el6 5.x86 64 usr share doc subversion 1.6....