Set up your own FTP server serv-u detailed configuration graphics tutorial [recommended]_FTP Server

Source: Internet
Author: User
Tags anonymous current time time and date port number

All are not very require the security of the case can be used Serv_u, of course, we can also through a number of settings to ensure Serv_u safe operation. Here to share under the Serv_u installation method, but also share sister good FTP server software to everyone.

Serv-u FTP Server v6.4.0.6 Special Edition (most widely used FTP servers)

FTP servers FileZilla Server Green Chinese version

First of all: Serv-u setting up an anonymous login account is a very simple operation.

Second: Anonymous English is: Anonymous

Finally: Create a new user with an account named Anonymous in the existing domain of serv-u, no case. With the construction of ordinary users is not the same: if the anonymous user name "Anonymous" input correct, it will not prompt you to enter the password, and then go directly to select the directory of the item, build users to the user after the permissions, and then test, OK success

Start Serv-u Adminisrator, appear as the image interface, first look at the "local server" this project, such as the figure, there is an option is "automatic start (System services)", selected, serv-u to register themselves as a system service, the boot automatically run, And it starts running without the user logging in.


Here to talk about the operation of Serv-u, look at the installation of the root directory, there are several files: ServUAdmin.exe is a configuration management tool, ServUTray.exe is the tool to host the system tray, ServUDaemon.exe is the serv-u daemon running daemon. As long as ServUDaemon.exe is running, FTP is already running, the other two programs is just a tool, sometimes serv-u runtime system tray Nothing, but others can still log in to your FTP, because ServUDaemon.exe in the background running.

Here are some settings, note that the settings here are global settings, you set up here the maximum upload download speed and the number of users to the following domain or user settings have restrictions, that is, even if the user set the speed is very large, the actual will not exceed the value set here. These settings are relatively easy, we see To do .... :)

The "activity" here is a monitor that can see the users connected to your FTP and their activities. Note that the "automatic overload in", in fact, is the meaning of automatic refresh, after the selection of the following monitoring content automatically updated at intervals.

OK, here we create a new domain, what is the use of the domain here, if your machine has two network cards, but also for different two network segments to provide FTP services, it is built here several different domains have a role ...

The new domain will start as a wizard, first to fill in your IP

Then is the domain name, if you are intranet, or no domain name, then just fill in the domain name or simply fill in the IP on the line.

Port number with the default of 21, of course, you can use other to increase the concealment .... :)

Then select the domain of the configuration file where the general user is not much words to the INI file in the OK, so back up is also more convenient.

Confirm the new domain is built, the newly built domain is offline, click "Put the domain online", this domain can be accessed.

This is just to get the FTP server working, but the user still can't log in, because the user has not yet been created, the following is to create users for the FTP server.

Adding users is also started as a wizard, where the user name is filled in

Then is the password, here is the clear text display, do not have to confirm, input once OK

Select a home directory, which is the directory that the user will enter after logging in.

Serv-u will ask if the user is locked in the home directory, which is to allow users to access only the home directory and subdirectories, and this option is necessary for security.

When you create a user, you set the settings for the user, where the settings inherit global settings and the settings of the domain, that is, global settings and domain settings have a limited effect on the settings here. These settings are also very simple, do not say more, try to know.
If you have more users, you can create groups, and users add the same method, and after adding users to the group, the user inherits the group's settings and permissions.
Here's how to make IP restrictions and how to add virtual directories, and set personalized welcome information.

IP restrictions can be set in the domain settings, or in the user settings, set the method is the same, but the scope of a large one small.
IP access rules are applied from top to down. For example, my FTP address is 172.18.10.12 (intranet), I want to let the network segment and 172.18.15.0/24 access, other addresses in addition to 172.18.11.200 can access all other prohibited. In addition, the 172.18.10.123 in this network section is forbidden to access. You can set this:
1. First of all, *.*.*.* is prohibited, that is, no one is allowed to connect. The IP address here can use wildcard characters, * represents any number,? represents a digit ...
2. Allow 172.18.10.* connection, allow 172.18.15.* connection
3. Allow 172.18.11.200 connection
4. Prohibit 172.18.10.123 connection
Set as shown in the picture.

Virtual directory is a more important thing, if it is not possible to put everything in a directory, then use the virtual directory can also make users look in a directory, this is more convenient.
The virtual directory is set in the domain's settings, as shown in the figure.
There are two places to add, one is the virtual path mapping, the other is a link, what is the difference between the two? The former is the virtual directory we are talking about, which maps a directory to the home directory of the FTP user, making it seem as if the directory is a subdirectory of the home directory. The link is to put a home directory (can be a virtual directory, but must be FTP), in another directory to do a link (note that this directory must be a real directory, the virtual directory can not). Here's a demonstration.

Add virtual directory: For example, my FTP home directory is "I:\ftp", and I want to map the e-book and the software in the K-disk to this directory. Dot Add, there will be an Add wizard, first to fill in the directory you want to be mapped, here I choose "J:\ebook".

Then fill in the virtual path, that is, in which directory to display the virtual directory, I want to map to the home directory, select "I:\ftp"

Then fill in the name to be displayed, OK.

Note that the virtual directory users must have access, otherwise users can not see the virtual directories after logging in, this is added in user settings, such as the figure

Add Link: I want to include a link in the home directory that links the virtual directory soft to the home directory with the name Softlink. Click Add, the first step in the wizard is to fill in where you want to put the link, and here, like the virtual directory, support variables such as "%home%".

And then the name of the link.

Finally fill in the directory to be linked, support relative directories (such as adding virtual directory links, in absolute directory can not be represented).

The effect of the virtual directory and link settings in FLASHFXP:

Finally, look at the setting of personalized welcome information. There is a Message tab in the settings for the domain. Here you can set up some messages that the FTP server responds to the client. Click to modify ..., if you want your FTP to be different, just set it up here.
Also, the FTP support welcome text, you can put the welcome information into a text file, so you can set a large paragraph style as a welcome word, and support many variables, you can make the welcome word more personalized.

Here are the variables that serv-u can support
Time and date
%time-Displays your computer's current time
%date-Display your computer's current date
Statistics for the server
%serverdays-Displays the number of days the server has been running
%serverhours-Displays the number of hours that the server has been running
%servermins-Displays the number of minutes that the server has been running
%serversecs-Displays the number of seconds the server has been running
%serverkbup-Displays the number of bytes that have been uploaded since the server was run
%serverkbdown-Displays the number of bytes downloaded since the server was run
%serverfilesup-Displays the number of files that have been uploaded since the server was run
%serverfilesdown-Displays the number of files that have been downloaded since the server was run
%loggedinall-Displays the number of users who have logged in since the server was run
%SERVERAVG-Displays the server's average bandwidth
%serverkbps-Displays the server's current bandwidth
Settings information for the server
%maxusers-Displays the maximum number of users that the server can log on at the same time
%maxanonymous-Displays the maximum number of anonymous users that the server can log on at the same time
User Information
%name-Displays the login username
%ip-Displays the user IP address of the login
%dir-Displays the current directory for the logged in user
%disk-Displays the current disk for the logged in user
%dfree-Displays the current disk space for the logged in user, in MB
%fup-Displays the number of files uploaded by the logged in user
%fdown-Displays the number of files downloaded by the logged in user
%ftot-Displays the total number of files uploaded and downloaded by the logged in user
%bup-Displays the number of bytes uploaded by the logged in user, in kilobytes
%bdown-Displays the number of bytes downloaded by the logged in user, in kilobytes
%btot-Displays the total number of bytes uploaded and downloaded by the logged in user, in kilobytes
%TCONM-Displays the logon user connection time, the unit is the minute
%tcons-Show logon user connection time, in seconds, to be used with%TCONM
%ratioup-Display the upload traffic limit of the login user
%ratiodown-Display the download traffic limit for the logged in user
%ratiocredit-Show users how many credit can upload and download, this is for some FTP is to upload how many files, can download how many files and set
%quotaused-Shows how much space has been used by the logged in user, in kilobytes
%quotaleft-show how much more space is available to the login user, in KB
%quotamax-Displays the maximum space for the logged in user, in kilobytes 3 are set for users with disk restrictions
Number of users
%unow-Shows how many users are currently connected
%uall-Shows how many users have been connected since the server was run
%u24h-Shows how many users in the last 24 hours
%uanonall-Displays the current total number of anonymous users
%uanonthisip-Displays the number of users who have logged on anonymously
%unonanonall-Displays all current non-anonymous login users
%UNONANONTHISIP-Displays all non-anonymous login users
%uthisname-Shows the number of users logged in using this name


For more variables, see Serv-u's Help.

On the Message tab of the domain settings, there is a "Start tag message file" (28 floor map), put your personality welcome word in a text file, and then select it here. The following is a typical message file
.
.

----------------------
Welcome to XXX's personal FTP server
Your IP address is:%IP
The time the server is currently located is%time
There have been%u24h users who have accessed this ftp in the last 24 hours
This FTP server has been running for%serverdays days,%serverhours hours and%servermins points.
How the server works:
All landing users:%loggedinall Total
Number of users currently logged in:%unow
Bytes already downloaded:%serverkbdown Kb
Number of bytes already uploaded:%serverkbup Kb
Number of files already downloaded:%serverfilesdown
Number of files uploaded:%serverfilesup
Server average bandwidth:%serveravg KB/SEC Server Current bandwidth:%serverkbps kb/sec
----------------------

The following is the effect of the welcome words in the FLASHFXP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.