Now, most families use monthly-paid broadband to access the Internet. When we fully enjoy the pleasure of surfing fast, have we considered using existing resources to do something for ourselves? Right. The purpose of this article is to set up an FTP server on the local machine. It is a great choice to create an FTP server for remote resource sharing! The following steps take Windows XP as an example.
Warm-up phase:
Don't be too busy before starting. We have to first get our computer to stay online-apply for a domain name. The IP address is used to find your computer in the vast sea of Network. At present, most monthly subscriptions provide a dynamic IP address, which means that the IP address is different for each dial-up access, you cannot change the IP address once! You can apply for a free Domain Name At http://www.oray.net.
Step 1: Apply for a domain passport (account) and activate a free domain name.
Connect to http://www.oray.net/, click the registration Passport holder on the left side of the page, and complete the registration as instructed. Click "Domain Name Service Center" on the left and select "register domain name record" from the drop-down menu. Then, enter your personalized domain name in the "free Domain Name" box.
Step 2: Install dynamic domain name resolution software on the local machine.
Http://www.oray.net/products/peanuthull_support.asp. After the download is complete, follow the prompts to install the software. when entering the steps shown in figure, enter the account and password we just registered on the website.
|
Enter your domain passport |
All the way to "Next", the software will be automatically started after installation, so far the dynamic IP address problem has been resolved, your computer can be found in the sea. Now you can officially configure the FTP service!
Setup phase:
On Windows platforms, FTP servers are commonly used by using the built-in IIS and third-party Software Serv-U. For the similarities and differences between the two methods, you can refer to the report on it168. The main reason is that IIS is relatively simple but not secure, while Serv-U is much more secure. The Installation Process of IIS is as follows.
If you build a small FTP Server (with no more than 20 visitors at the same time) and do not transmit large volumes of data (such as audio and video) at the same time ), this method is the easiest, but note that the operating system version is yo. IIS is only applicable to Windows NT/2000/XP systems.
Step 1: Install the IIS component.
This component is not installed when the system is installed. Therefore, go to the control panel and open the "Add/delete Windows Components" item in "Add/delete programs, in the displayed window, select "intenet Information Service (IIS)", click "details" in the lower right corner, select "File Transfer Protocol (FTP) service", and click OK.
Step 2: Set the directory path to be shared.
This directory is the list of files seen when someone accesses your FTP server. In the control panel management tool, open "Internet information service ". Find "ftp site" on the left of the window and open the drop-down list. Then, right-click "Default FTP site" and select Properties. Switch to the "home directory" tab shown in. The address in the "local path" box is the default FTP shared directory. Click Browse to specify your actual shared directory. In addition, you can set file access permissions for the FTP server, for security considerations, we generally only open the read permission to prevent anonymous users from arbitrarily modifying directory files. Valid users can enable the write permission only when necessary.
|
Specify the main directory path |
Step 3: complete the configuration.
Switch to "Security Account" in the "Default FTP site" window and remove the check box before "Allow anonymous connections; on the message tab, you can set the prompt message when the user accesses or exits your FTP server! There is also a "Maximum number of connections", which refers to the maximum number of hosts connected to the local FTP at the same time. If your computer is not configured well, we recommend that you do not set it to more than 5.
Final stage:
After the above three steps are correctly configured, your FTP server should already be working. For the sake of insurance, we can first test whether the access is normal on the local machine. The method is simple: enter in the address bar of the browser (ftp: // The free Domain Name you applied in the peanut shell ), if you can see the Directory and file in the path set in the "main directory" of IIS, it will be successful.
Supplement:In security user settings, IIS is different from other Professional FTP server software. It is managed based on a Windows User Account, and does not allow access to accounts; to add or delete an account that allows access, you must first set it in "Computer Management" in "Administrative Tools" of the control panel, then, add or delete the FTP site operator option on the "Security Account" tab of IIS.
As I mentioned at the beginning, IIS is easy to set up and can be implemented quickly. It is suitable for users who play server applications for the first time. After using IIS for a while and accumulating considerable experience, you can use some third-party software with powerful functions and build it with the FTP firewall knowledge. I believe that your FTP is "powerful and powerful!