Setting up an FTP server is actually very easy. First, you must ensure that your machine can access the Internet at a speed not lower than kbps of ADSL.
. Secondly, the hardware performance must meet your needs. Finally, you need to install FTP server-side software. There are many such software, you can use micro
A soft IIS (Internet Information Server Internet Information Service System) can also use professional software. Different software provision
Different functions, and different requirements and operating systems. Generally, the minimum requirements of the system are as follows:
CPU: P ⅲ MHz or above
Memory: 256 MB or above
Bandwidth: ADSL kbps or above
For the operating system, Windows 98/ME/NT/2000/XP can be used. If the performance and security requirements of the server are low, you can use
Windows 98 and Windows ME. Unless otherwise specified, Windows XP Professional Edition is used as the operating system.
The setup and Setup of FTP servers are similar.
1. Set up with IIS
If you only want to create a small FTP server with no more than 10 concurrent online users, and do not transmit large data volumes at the same time,
You can use IIS 5.0 as the server software (IIS is only applicable to Windows NT/2000/XP operating systems ).
1. Install
IIS components are not installed in Windows XP by default. You must manually add and install IIS components. Go to the control panel and find "Add/Delete ".Program",
Select "Add/delete Windows Components". In the displayed "Windows component wizard" window, set "Internet Information Service"
(IIS) is selected. The "√" background color before this option is gray, because the FTP service component is not installed in Windows XP by default.
. Click "details" in the lower-right corner. In the pop-up "Internet Information Service (IIS)" window, find "File Transfer Protocol (
FTP) service, select and confirm.
After installation, restart the instance. Windows NT/2000 and Windows XP are installed in the same way.
2. Set
After the computer restarts, the FTP server starts to run, but some settings are required. Click Start> All Programs> Management Tools>
Internet Information Service, go to the Internet information service window, find "Default FTP site", right-click
Right-click the menu and select "properties ". In "properties", we can set the FTP server name, IP address, port, access account, and FTP object
Location, the message received when the user enters the FTP.
1) basic FTP site information
Go to the "ftp site" tab, where the "Description" option is the name of the FTP site, which is used to name your server. You can enter
For example, "my station", "ip address" is the Server IP address, and the system defaults to "all unallocated", which generally does not need to be changed,
If there are two or more IP addresses in the drop-down list, it is best to specify them as public IP addresses; "TCP port" is usually still set to the default 21
Port; "connection" option is used to set the maximum number of user connections allowed to connect to the server at the same time; "connection timeout" is used to set a waiting time
If the online time of the user connected to the server exceeds the waiting time without any operation, the server will automatically disconnect from the user
Connection.
2) Set accounts and their Permissions
Many FTP sites require users to enter the user name and password to log on. This user name and password are called accounts. Different users can use
The same account can access the site. Multiple accounts can be set for the same site. Each account can have different permissions, such as uploading and downloading,
Some allow download only.
3) Security Settings
Go to the "Security Account" tab, which includes "Allow anonymous connection" and "Allow anonymous connection only". The default value is "Allow anonymous connection"
In this case, the FTP server provides anonymous logon. "Allow anonymous connections only" is used to prevent users from accessing the account with administrative permissions,
After selection, even the Administrator account cannot log on, and FTP can only be managed through "local access" on the server.
. The "ftp site operator" option is used to add or delete accounts with certain permissions on the FTP server. IIS and other professional
The FTP server software is different. It manages accounts based on Windows user accounts, and cannot be set to allow access by the FTP server.
To add or delete an account that is allowed to access, you must first set it in "Computer Management" in "Management Tools" provided by the operating system.
Set the Windows User Account, and then add or delete it through the FTP site operator option on the "Security Account" tab. But
Windows 2000 and Windows XP Professional Edition, the system does not provide the "ftp site operator" account addition and deletion function, only provides
Administrator is a management account.
Tip: Anonymous Logon generally does not require the user to enter the user name and password to log on successfully. If necessary, you can use "anonymous"
Account name. Use any email address as the password to log on.
4) set the user logon directory
Finally, set the FTP home directory (the initial location after the user logs on to FTP), go to the "home directory" tab, and select
Set the root directory of the FTP site, and set the read, write, and directory access permissions for the directory. "Unix" and "Ms" in "directory list style"
-Dos: Assume that G \ FTP is set as the root directory of the site, after the user logs on to FTP, the former will display the main directory as "\"
The latter is displayed as "g \ FTP ".
After the configuration is complete, the FTP server is actually built. If the preceding IP address is 218.1.1.1, the user uses the FTP client software
To log on to the FTP server to upload/download software, such as CuteFTP and flashfxp. Unless otherwise stated, the FTP client software mentioned in this article is
Take CuteFTP Pro 2.0 as an example), enter 218.1.1.1 in the Host field, and enter 21 in the port field. The address of this server is expressed as: ftp
// 218.1.1.121. Although IIS is easy to install and easy to set, it is not powerful and difficult to manage, especially when you create a new base
The authorized access account must be configured with complicated settings, and the security of IIS itself is also poor, which is proneCode"
Virus attacks targeting IIS vulnerabilities, so many people prefer to use third-party FTP server software.
2. Using third-party FTP server software such as Serv-U
In addition to IIS, there are also a lot of FTP server software that can be set up, such as Wu-FTP, proftpd, Serv-U, but most of them only apply to Unix
In Linux, if you are using a Windows system, we strongly recommend using Serv-U. Serv-U (: HTTP
// Www. newhua. com/ftpservu. htm, including a Chinese package) is a widely used FTP server software that supports windows
3X/9x/ME/NT/2000 and other Windows series. It is easy to install and has powerful functions. You can use the same IP address to set multiple FTP servers and limits.
Logon permissions, home directories, space sizes, and remote logon management are suitable for most self-built ftp users.
1. Install
Serv-U is easier to install than IIS. First, execute the original installation file in English and follow the prompts to "Next. Note that
When selecting the installation directory, it is best to choose to install it in a non-system disk, to avoid future system exceptions and re-set the account.
Then execute the Chinese file, select the original installation directory, and complete the installation by "Next.
2. Set
Different from IIS, Serv-U prompts the user step by step in wizard mode during the first running. The whole process cannot exceed five
Minutes, very user-friendly. For convenience, assume that we need to set up a fixed IP address 218.1.1.1, port 21, and the root directory is absolute.
The path is g \ FTP, which allows anonymous access and public FTP with a username of DYS, a password of Syd, and a management account named "myftp"
Server. Run Serv-U. In the displayed wizard window, set the following options in sequence:
1) "your IP address": here we fill in 218.1.1.1. If you are using ADSL or other dial-up methods, there are dynamic IP addresses or
Leave the IP address of the local machine empty.
2) "Domain Name": the name of the FTP site. You can name it at will. Enter "myftp" here ".
3) "Anonymous Account": determines whether anonymous users are allowed to access the FTP site. Select "yes ".
4) "anonymous main directory": sets the directory location after an anonymous user logs on to the site. Enter "g \ FTP ".
5) "locked in main directory": In "anonymous main directory", set the directory location after anonymous users log on to "G: \ FTP \ guest ".
", Then, after selecting" yes ", when anonymous users log on to FTP, they will be locked in the G \ FTP \ guest directory and can only view the guest object
The contents in the directory cannot enter the "ftp" directory at the upper level, and the directory is displayed as "\" in the FTP client software. If it is not locked,
It is displayed as "G: \ FTP \ guest ". Select "yes ".
6) "named account": determines whether to create an account with certain administrative permissions. Select "yes" here ".
7) "account name": indicates the Account Logon Name with certain management permissions. Enter "dys ".
8) "account password": Set the Account Logon password. Enter "Syd ".
9) "main directory": Like "anonymous main directory", it is used to set the directory location after the management account logon. Enter "G: \ FTP ".
10) "locked in main directory": Select "yes ".
11) "Administrator permission": used to set the management permission level for the management account. Select "no permission" here, which will be detailed later.
The setting is complete. if the address is FTP // 218.1.1.121, the FTP server is successfully set up. Finally, the available CuteFTP is anonymous and
DYS account logon verification.
Tip: these settings are not final settings. You can modify them at any time on the main Serv-U Interface.
3. Use the same IP address to set up multiple FTP servers
If the bandwidth permits, you can use the same IP address to easily set up multiple servers. In Serv-U, place the "Domain" under "local server"
Each FTP server in "is called a" domain ". The" myftp "server just created is a domain named" myftp. More
Servers are actually creating multiple domains with different ports.
Right-click "Domain" and select "new domain". In the pop-up Wizard, refer to "myftp" for settings, but do not
The port of the created "Domain" or the port occupied by other system services conflict with each other. If 22 is entered, the server address is:
FTP // 218.1.1.122. In this case, you can set up multiple FTP servers.
3. Use Dynamic IP domain name resolution software to set up an FTP server with a fixed domain name
In the above introduction, we assume that the server has a fixed IP address of 218.1.1.1. In fact, most of
Users usually use ADSL or other methods to dial up the Internet. Since the IP addresses allocated after each dial-up access are different, does this mean
Why can't I set up an FTP server?
There are two solutions: first, leave "your IP address" blank in the Wizard just now, and then complete other wizard settings. Enter the Serv-U master
On the page, click "Help> local IP Address" on the menu bar to copy the local IP address, and then notify each user through other channels. Each
Repeat this operation once for dial-up Internet access. Second, download and install a dynamic IP domain name resolution software from the Internet, such as dns2go
Such software, regardless of how the local IP address changes, can automatically resolve a fixed domain name to the local IP address. In this way, use
You only need to enter this fixed domain name as the FTP address to access your server. Obviously, the first method is quite troublesome and requires your
The second method is quite simple. Users only need to remember this domain name and do not have to worry about IP changes. What is lacking in the US is that the vast majority
Such software can be used permanently only after paid registration.
Let's take 88ip as an example to understand its settings.
Suppose we want to apply for a domain name: dys1.88ip.com. First, use Serv-U (IIS and other FTP server software) as described above)
Set up an FTP server. Leave "your IP address" blank and go to http // www.88ip.net to download and install the 88ip Standard Edition.
.
88ip requires a paid registration to own a permanent domain name. If it is registered for free, it can only be tried for 15 days. Run the 88ip Standard Edition client.
The settings window is displayed. To obtain a domain name, you must register it first. In "basic information", enter the user name and valid Email
For the address, password, and contact number, select your domain name. In "Domain Name Information", enter the "Domain Name" box in dys2, "Domain Name"
Select "88ip.com" in the "suffix" drop-down box. At this time, "your complete domain name is" below will be displayed as dys1.88ip.com. Make sure no
Click "register" to register. If the registered user name or domain name has been registered by another user, the software will
Prompt: After modification, register again. After successful registration, "registration successful, user ID: XXXXXXXX" will be displayed in "execution status"
", Write down the user ID for future payment or technical support. Finally, click the "LOAD" button to send the successfully applied account email.
Load information to the local machine.