Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The Construction of FTP Service and three access ways

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The Construction of FTP Service and three access ways

FTP is File Transfer Protocol (File transfer Protocol)

Used for two-way transfer of control files on Internet. With "upload" and "download" functions, the "download" file is to copy the file from the remote host to your own computer; to "upload" the file is to copy the file to the remote host with your own computer.

Three ways of access

 win+r enter cdm command to access the server

 file browser access

 Filezilla third-party software access

First, server building (server2016)

1. Open Server Manager-add roles and features

2. Add web server (IIS)

3. Add a FTP server

4. Open the windows management tool

5. Open IIS Manager

6. Bind virtual machine network card to configure server and client IP (server IP is 192.168.80.33, real machine IP is 192.168.80.20)

7. Add a FTP site

8. Fill in the site information

9. Bind IP and SSL settings

Note: the bound IP address is the IP address configured by the server server2016, which is used to log in to the server IP address from the client.

10. Authentication and authorization information

11. Add access users (jack)

(1) change password policy

Enter secpol.msc in win+r in the server system, disable the complex password, in order to facilitate the login of FTP account

(2) add jack users

Find computer management in window management tools

2. Verification of three access paths

1. Win+r input cmd to access

Verify that the file was downloaded successfully

2. File browser access

Enter ftp://192.168.80.33 in the address bar

Fill in the account and password

Verify the login results (you can upload and download by dragging files)

3. Filezilla third-party software access (more convenient)

Note: all FTP uploads can be overwritten with the same file name, and the permissions of the users corresponding to the folders in the server need to be changed.

Add two FTP sites

1. Repeat the above steps to add the site to specify the user as tom, add the tom user in the computer management, and disable the complex password policy.

Note: as shown in the figure, there is a stop icon in the test-b site, and no matter how it is enabled, it cannot be enabled. The main reason is that the two sites use the same IP and port number, so it is necessary to build a DNS server to achieve FTP access with the same IP and port number in different sites.

2. Set up DNS server

Open Server Manager-add roles and Features-add DNS Server-install

3. Open the DNS server

A. Create a new area

B. Select the area type

C. Fill in the region name (the format must be the domain name format)

Note: next, there is no need to change until the new area is complete.

D. Create a new host

E. Fill in the relevant information

Note: aaa.com the user in this area is jack, repeat the above steps, add a new region bbb.com, and give the user in the region tom.

F. Bind hostnames for the two FTP sites respectively

~ Edit binding

~ Select the IP to edit

~ enter the host name

~ repeat the above steps to bind the hostname bbb.com of the test-b station

Note: after successful binding, it is found that the stop icon of the test-b site disappears, indicating that both sites can be accessed.

G. Add the corresponding DNS in the local virtual network card VMnet1

H, cmd verification

I. Access through filezilla software

Visit the test-a site

Visit the test-b site

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report