Nền tảng Kiến thức - Hành trang tới Tương lai
Card image

Chương 2-Bài 11. Khởi tạo FTP Server trên IIS Server

Tác giả: Dương Nguyễn Phú Cường #8768
Ngày đăng: Hồi xưa đó
Lượt xem: 152

Giao thức truyền tải tập tin FTP và FTP Server

FTP là giao thức sử dụng để truyền tải tập tin (file), sử dụng cổng (port) 21 mặc định. FTP Server là máy chủ chuyên dùng để quản trị việc cấu hình truyền tải tập tin (file) thông qua giao thức FTP.

Cách khởi tạo FTP Server trên Window

Step 1: cài đặt FTP Server trên máy chủ Window

Đối với máy chủ Window Server 2012+

  1. On the Start screen, click the Server Manager tile, then click Yes.
  2. In the Server Manager Dashboard, click Add roles and features.
  3. If the Before you begin page of Add Roles and Features Wizard is displayed, click Next.
  4. On the Select installation type page, select Role-based or feature-based installation, and click Next.
  5. On the Select destination server page, select Select a server from the server pool, select your server from the Server Pool list, and then click Next.
  6. On the Select server roles page, expand the Web Server (IIS) node, and then expand the FTP Server node.
  7. Select the FTP Server check box and the FTP Service check box, and then click Next.
  8. On the Select features page, click Next.
  9. On the Confirm installation selections page, click Install.

Đối với máy chủ Window 10

  1. On the Start screen, type Control Panel, and then click the Control Panel icon in the search results.
  2. Click Programs, and then click Turn Windows features on or off.
  3. In the Windows Features dialog box, expand the Internet Information Services node.
  4. Expand the FTP Server node.
  5. Select the FTP Server check box and the FTP Service check box, and then click OK.

Step 2: khởi tạo FTP Side

  1. Open IIS Manager.
  2. In the Connections pane, expand the server node and click the Sites node.
  3. In the Actions pane, click Add FTP Site to open the Add FTP Site wizard.
  4. On the Site Information page, in the FTP site name box, type a unique friendly name for the FTP site.
  5. In the Physical path box, type the physical path or click the browse button (...) to locate the physical path of the content directory.
  6. Click Next to open the Binding and SSL Settings page.
  7. Under Binding, in the IP Address list, select or type an IP address if you do not want the IP address to remain All Unassigned.
  8. In the Port box, type the port number.
  9. Optionally, in the Virtual Host box, type a host name if you want to host multiple FTP sites on a single IP address. For example, type www.contoso.com.
  10. Clear the Start FTP site automatically box if you want to start the site manually.
  11. Under SSL, from the SSL Certificate list, select a certificate. Optionally, click View to open the Certificates dialog box and verify information about the selected certificate.
  12. Select one of the following options:
    • Allow SSL: Allows the FTP server to support both non-SSL and SSL connections with a client.
    • Require SSL: Requires SSL encryption for communication between the FTP server and a client.
  13. Click Next to open the Authentication and Authorization Information page.
  14. Under Authentication, select the authentication method or methods that you want to use:
    • Anonymous: Allows any user to access content providing only the user name anonymous or ftp. (Most, but not all, FTP clients enter user name for you automatically.)
    • Basic: Requires users to provide a valid user name and password to access content. Because Basic authentication transmits unencrypted passwords across the network, use this authentication method only when you know that the connection between the client and FTP server is secure, such as by using Secure Sockets Layer (SSL).
  15. Under Authorization, from the Allow access to list, select one of the following options:
    • All Users: All users, whether they are anonymous or identified, can access the content.
    • Anonymous Users: Anonymous users can access the content.
    • Specified Roles or User Groups: Only members of certain roles or user groups can access the content. Type the role or user group in the corresponding box.
    • Specified Users: Only specified users can access the content. Type the user name in the corresponding box.
  16. If you selected an option from the Allow access to list, select one or both of the following permissions:
    • Read: Permits authorized users to read content from the directory.
    • Write: Permits authorized users to write to the directory.
  17. Click Finish.
Hướng dẫn: https://www.liquidweb.com/kb/set-ftp-iis/

Các bài học