中文成人无字幕乱码精品_成人免费看电影_欧美日韩在线视频一区二区_麻豆久久精品_日本不卡免费新一二三区_伊人网一区

  • IDC銷售:020-66849165/66849090/66849088
  • 云服務銷售:020-66849108/9091 | 客服(備案,域名,虛機,郵箱):020-66849000-2

登錄 | 會員注冊 | 控制面板 | 幫助中心 | 購物車 | 舉報中心

? ? 域名活動
幫助中心FAQ

 

1.安裝服務

#yum -y instal vsftpd

2.修改配置

#vi /etc/vsftpd/vsftpd.conf

標黃為必需修改,其他選項按需修改(ps:對應被動模式選項配置選項不存在,可自行添加)

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).

anonymous_enable=NO

 

# Make sure PORT transfer connections originate from port 20 (ftp-data).

connect_from_port_20=YES

pasv_enable=YES

pasv_min_port=1000

pasv_max_port=2000

 

# When "listen" directive is enabled, vsftpd runs in standalone mode and

# listens on IPv4 sockets. This directive cannot be used in conjunction

# with the listen_ipv6 directive.

listen=YES

 

# This directive enables listening on IPv6 sockets. By default, listening

# on the IPv6 "any" address (::) will accept connections from both IPv6

# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6

# sockets. If you want that (perhaps because you want to listen on specific

# addresses) then you must run two copies of vsftpd with two configuration

# files.

# Make sure, that one of the listen options is commented !!

listen_ipv6=NO

3.iptables放行

-A INPUT -p tcp --dport 20:21 -j ACCEPT

-A OUTPUT -p tcp --dport 20:21 -j ACCEPT

-A INPUT -p tcp --dport 1000:2000 -j ACCEPT

-A OUTPUT -p tcp --dport 1000:2000 -j ACCEPT

4.用戶建立

因為ftpusers、user_list中均有root,說明默認禁止root登錄FTP,因此可以使用非root其他用戶直接登錄FTP,訪問路徑默認用戶路徑/home/用戶名

5.登錄方式

windows:百度一堆方法軟件

linux:

# ftp 124.172.154.66

Connected to 124.172.154.66.

220 (vsFTPd 3.0.2)

530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type

Name (124.172.154.66:root): idchost

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 (124,172,154,66,4,102).

150 Here comes the directory listing.

-rw-rw-r--    1 1000     1000         2397 Aug 21 11:15 domain.txt

-rw-rw-r--    1 1000     1000         5429 Aug 21 11:45 domain_ip.txt

226 Directory send OK.

ftp> quit

221 Goodbye.

 

 

主站蜘蛛池模板: 四虎影院最新网址 | 欧美第8页 | 欧美一级片在线 | 国内精品视频一区国产 | 国产精品视频入口 | 色在线免费观看 | 日本成年人免费网站 | 欧美一区二区二区 | 嫩草视频在线观看免费 | 欧美视频在线免费 | 成年人在线观看视频 | 国产精品一区二区久久乐夜夜嗨 | 久久久精品国产 | 四虎.com| 亚洲毛片在线 | 天天干天天爽 | 久久久一二三四 | 国产av毛片 | 久久久久久久伦理 | 国产日韩在线视频 | baoyu133. con永久免费视频 | 一区二区三区回区在观看免费视频 | 亚洲午夜精品一区二区三区 | 黄色一级影视 | 美女超碰在线 | 国产精品久久久久久久久 | 99国产精品久久久久久久 | 国产女人免费看a级丨片 | av电影中文字幕在线观看 | 91麻豆精品久久久久蜜臀 | 视频一区二区三区中文字幕 | 亚洲人成人一区二区在线观看 | 黄色片子视频 | 羞羞视频网 | 欧美一级高清在线 | 久操国产| 欧美成人小视频 | 天天做天天爱天天操 | 成人激情综合 | 99热精品在线 | 国产女人网 |