For more information about how to set up an FTP server-Linux Enterprise Application-Linux server application, see the following.
Tutorial on FTP Server Software Serv-U
Subtitle:
Author: admin Article Source: Reprint please indicate http://www.5217.cn clicks: 14246 Update Time:
Mail Serv-U is a widely used FTP server software that supports all Windows series such as 3x, 9x, ME, NT, and 2 K. You can set multiple FTP servers, set logon user permissions, log on to the main directory, and set the space size. The functions are complete. The Installation File is 1.33 MB in total.
Email
Pay attention to the toolbar of the preceding Serv-U management product. From left to right: delete users (other users may be involved), copy users (other users may be involved), cancel operations (do not save the changes), save the operation (Save the changes), refresh, help, purchase (connect to the Serv-U site), about Serv-U. After each step is completed, do not forget to save your results by following the tick!
Take Serv-U 3.0 and WIN2K as an example. The target audience is people who have no knowledge of Serv-U. This series is the first part. There are currently six articles, including downloading, installing, and creating the first available FTP server and further settings from Serv-U. I try to put as many images as possible, with detailed text instructions. I believe it will help beginners!
◎ Example in this tutorial: assume that the local IP address is "192.168.0.48" and you want to create an available FTP server named "ftp.bbc.com.
◎ Installation and basic settings in Section 1: shows you how to download and install Serv-U and how to create the first available FTP server.
◎ Section 2 MANAGER: basic understanding of Serv-U manager; this article is still being supplemented. You can view logs and create groups.
◎ Section 3 Account for user attributes: understanding of the Account option. You can change the user account, password, and home directory.
◎ Section 4 common user attributes: understanding of General (common) options. You can set the maximum logon information file and upload/download speed.
◎ Section 5 "Directory Access" of user attributes: understanding of the Dir Access option. Allows you to access directories.
◎ End of user attributes: understanding of other options. IP addresses that can be set to allow or deny access, and FTP space restrictions.
Section 1 installation and basic settings of Serv-U
I. Installation
Expand the compressed file “servu3b7.zip.exe and execute “setup.exe "to start installation. Select the default option for all. After the installation is complete, you do not need to restart. You can view the related files directly in "Start> program> Serv-u ftp Server. For example:
2. Create the first available FTP Server
1. For example, if the local IP address is "192.168.0.48", a DNS record for the domain name "ftp.bbc.com" has been established.
2. Open the Serv-U manager. Select "Serv-U Administrator", that is, "Setup Wizard" (setting Wizard) appears ). This wizard helps you easily complete basic settings, because it is recommended to be used. Select "Next" (Next step ). For example:
3. Follow these steps in the Installation Wizard:
(1) IP address: Enter "192.168.0.48 ". (This item is blank if dynamic IP addresses are used or no valid IP addresses exist .)
(2) Domain name (Domain name): Enter "ftp.bbc.com ".
(3) Install as system server (to be installed as a system server): Select "Yes ".
(4) Allow anonymous access (Do You Want To accept anonymous logon): You can select this option based on your needs. For example, select "Yes ".
⑸ Anonymous home directory (anonymous main directory): enter (or select) a home directory for anonymous users to log on.
Unlock Lock anonymous users in to their home directory (Lock the user in the selected home directory): whether to set the home directory in the previous step as the root directory of the user; select "Yes ".
Creating Create named account (do you want to Create another account): Check whether a Common Logon user account is created. Select Yes ".
Your Account login name (User login name): The name of a common user Account. For example, enter "nanshan ".
Login Password: Set the user Password. Because the entered password is displayed in plain text (rather than *), only once is entered.
Home directory: enter (or select) The Home directory of the user.
Unlock Lock anonymous users in to their home directory (Lock the user in the main directory): Select "Yes ".
Administrative Account admin privilege (Account Management privilege): Generally, the default value "No privilege" is used ).
Complete the setting by selecting "Finish. For example:
4. We can see that an FTP server has been created, with the server address "ftp.bbb.com". There are two users under it. One is the Anonymous user "Anonymous" and the password is blank; one is the normal user "nanshan", whose password is the content entered in the Wizard.
5. Basic permissions. For example, if you select "nanshan" user in the left-side pane, the settings window, as shown in, appears in the right-side pane. Select "Dir Access" to set whether the user has "Read" and "Write" operations on the file in its main directory (that is, "Path), "Append" (write and add), "Delete" (Delete), "Execute" (Execute); whether to have "List" for the directory (display the List of files and directories), "Create" (new directory), "Remove" (modify directory, including Delete, move, rename), and "Inherit" (whether the above permission includes the directory tree below it) and so on.
3. Use this FTP Server
1. logon format under DOS. For example, "ftp ftp.bbc.com ".
2. logon format in the browser. Such as "ftp://ftp.bbc.com ".
3. Set the FTP client application software. For example, in CuteFTP, for example:
Section 2 Serv-U Manager
1. "Local Server" (Local Server) attributes
1. Local Server: You can set whether to enable the FTP service automatically or manually enable or stop the FTP service.
2. License: NO content for the shared version.
3. Settings ):
(1) General/Max. speed: You can set the maximum transmission rate (kb/s ).
(2) General/Max. no. of users: You can set the maximum number of users connected to this server.
(3) Other General projects are related to maintaining server security.
4. Activity (Activity status ):
(1) Users: displays information such as the IP address of the user currently logged on and the current working status. We recommend that you select "Auto reload" (Auto refresh ). If you select a User, right-click it and select "Kill User" to kick it out of the server.
(2) Blocked IPs (Blocked IP address): This is used to temporarily prohibit some IP addresses from accessing the system. Click "+" on the toolbar to add the IP addresses that are temporarily forbidden and the total time of Logon prohibition (calculated from the increase ). The list shows the banned IP address, the complete Domain Name of the corresponding computer, and the time (in seconds) to unban the IP address. Right-click the list to delete the prohibited IP addresses.
(3) Session Log (System Log): records all operation traces and error messages that Log on (or attempt to Log on) to the local machine.
2. "Domains" (Domain Name) attributes
1. ftp.bbc.com (the selected FTP server name): You can modify the domain name, IP address, and port number.
2. Settings: and IP addresses that allow or prohibit logon.
(1) General/Max no. of Users (maximum number of Users): You can set the maximum number of Users allowed to log on to the FTP server at the same time.
(2) IP Access/Deny access: you can set a list of IP addresses that only refuse to log on to the FTP server.
(3) IP Access/Allow access (allowed): You can set a list of IP addresses allowed to log on to the FTP server only.
(4) IP Access/Rule (Rule): Enter the specified IP address or IP address range. Accept a single IP address, such as "192.168.0.88", accept a range of IP addresses such as "192.168.0.4-192.168.0.11", accept wildcards such as "192.168.0. *", and accept a single IP address such as "192.168.0.1 ?" And so on. "Add" is "Add", and "Remove" is "delete.
Delayed Message (message): Some prompt display information can be changed here, such as "Signon Message file" (start broadcasting) and "Server offline" (the Server is not working) "No anonymos access" (Anonymous logon is not accepted.
3. Activity (Activity status ):
(1) Users: displays the Users logging on to the server and their statuses. We recommend that you select "Auto reload" (Auto refresh ).
(2) Domain Log (System Log): records all operation traces and error messages that Log on (or attempt to Log on) to the server.
4. Groups (Group ):
(1) Using Groups (group), you can create one or more directories that determine attributes (read and write) and control permissions (grant or prohibit access from certain IP addresses) in advance, in the future, when we create new users and need to use these directories, we just need to add them directly. We don't need to repeat the settings. In this case, setting up a group can greatly reduce the setting workload.
(2) create a New Group: Select "Group> right-click> New Group", enter the Group name in "Group name", and click "finish. For example:
(3) set "Dir Access" (directory Access permission): Select "Add" (Add) here to Add the target directories (multiple directories), and then set the Access permissions for them one by one. For specific settings of this project, see the relevant content after this tutorial.
(4) and "IP Access" (IP Control): For specific settings of this item, see the relevant content in the forefront of this article.
Replica of the replica group: You can copy the created group like a copy file. Select the Group name, right-click the Group, and select "Copy Group" to Copy the Group. Really good function! ^-^
Using "Group": Under "Users", select the username of the Group to be used, and click the icon next to "Group (s)" in the right panel, select the desired group name (you can use the Ctrl or Shift key to select multiple groups at the same time). Multiple group names are automatically separated by commas.
Then go to "Dir Access" and press the refresh icon on the toolbar (the one on the left of the book icon) to see the final effect. For example:
Section 3 "Account" of Serv-U user attributes)
I. Account option. For example:
Ii. Descriptions and application examples
1. Disable account: If this account is selected, it cannot be used.
2. User name: the User name is displayed here and can be changed. After modification, the User name on the left panel is automatically changed accordingly.
3. Group (s): If a Group is created, more directories can be selected here. The directory attributes in these groups are determined when the group is created. You cannot modify them in "Dir Access! If the group user's home directory is not in the directory tree contained in the root directory (see the 5th description below), the group user cannot enter.
4. Password: "<>" indicates a Password, which is confidential and is not displayed. If it is blank, no password is required. If you enter any password, "<>" is displayed ".
5. Home directory (main directory): in principle, this is the main directory after the user logs on. The actual root directory for user logon is determined by "Lock user in home directory" in the "General" attribute.
(1) For example, if the path is "d: \ myweb" and the corresponding item in "General" is selected, the main directory and root directory are "d: \ myweb ".
(2) For example, if the path here is "d: \ myweb" and the corresponding item in "General" is not selected, the main directory is "d: \ myweb ", the root directory is d :\".
(3) Note: it can be modified as needed, but it cannot be beyond the range of the disk where "Path" is located in "Dir Access". Otherwise, you will not be able to see anything after logon!
6. Notes: This item is used to mark descriptive text.
Section 4 "General" (commonly used) of Serv-U user attributes)
I. General (common) options. For example:
Ii. Descriptions and application examples
1. Lock user in home directory (Lock user in main directory): if selected, only users are allowed to access the files and directories below "main directory" (the main directory is the root directory ); if this option is not selected, you can access the actual root directory (for example, "d: \") of the disk where the main directory is located. -- of course, you may not have the permission to read other file directories or write files, but we recommend that you select this option.
2. Hide 'did' files (Hide "hidden" files): files whose attributes are "hidden" are not displayed in the list.
3. Always allow login (Always accept logon): This account is Always valid.
4. Allow only N login (s) from same IP address (only accept N users with the same IP address to log on): this is useful for limiting the number of machines connected to the external LAN!
5. Allow user to change password: Some FTP clients Allow users to change their FTP passwords, which are prepared here.
6. Max. upload speed (maximum upload rate): You can limit the maximum file upload rate (in kb/s) on the client ).
7. Max. download speed (maximum download rate): maximum rate of downloading files (in kb/s ).
8. Idle time-ou (Idle overflow time): If you do not work for more than one minute (read/write operations), the existing connections are discarded.
9. Max. no. of users (maximum number of users): the maximum number of users allowed to connect to the server at the same time.
10. Logging message file: enter (or select) the complete path and file name of a pre-created text file (generally, after successful logon, a prompt message is displayed. The prompt information is as follows:
11. Password type (Password type): select the default "Regular Password ).
Section 5 "Dir Access" for Serv-U user attributes)
1. "Dir Access" option. For example:
Ii. Descriptions and application examples
1. Path: the actual Path of the Directory; Access (attribute): Access attribute; Group: Group.
2. Files/Read: The "Read" Operation (copying, downloading, not viewing) on an object.
3. Files/Write: The "Write" Operation (upload) on the file.
4. Files/Append: the power to perform "write" and "Attach" operations on Files.
5. Files/Delete: The right to Delete (upload, rename, Delete, and move) Files.
6. Files/Execute: the right to run executable Files directly.
7. Directories/List: view the file and directory.
8. Directories/Create (Create): Permission to Create a directory.
9. Directories/Remove: the right to move, delete, and rename Directories.
10. Inherit (inheritance): If this option is selected, the above selected attributes will act on the entire directory tree under the specified directory in the selected "Path"; otherwise, it will only work on the current directory.
11. When there are multiple "paths", sometimes order is crucial. For example, if the main directory is "d: \ myweb" and there is a directory named "d: \ myweb \ win98" under it, you want: \ myweb \ win98 "can only have viewing power, while other directories in the main directory have full control power. Required:
(1) "Add" A "Path", select "d: \ myweb", and select all permissions (especially "Inherit"); then "Add" another "Path ", select "d: \ myweb \ win98" and select "List" as the permission ).
(2) If the main directory is in front and the other directory is in, you will find that you have full control over the "win98" directory after logging in!
(3) but if you put the Home Directory behind the other directory, the result is exactly what you need.
Therefore, we can conclude that the basic rule set here is to put special attributes in front and shared attributes in the back!
Section 6 end of Serv-U user attributes
1. "IP Access" option.
1. Deny Access: If this option is selected, the IP addresses listed below are denied Access to the FTP server.
2. Allow Access: If this option is selected, only the IP addresses listed below are allowed to Access the FTP server.
3. Rule: Enter the IP address here, and press the down icon to add it to the list. The up hand is to delete the selected IP address.
Ii. "UL/DL Ratios" (upload/download ratio) option.
3. "Quota" option.
1. Enable disk quota (disk quota allowed): select this option to set the size of the upload space.
2. Current (current): displays space in use. You can click "Calculate Current" to obtain this value.
3. Maximum (Maximum): The Maximum upload space can be set here. For example:
4. The unit above is "kb" (kilobytes ).
4. Other operations
1. Add a New FTP server: Select "Domains → right-click → New Domain" on the left panel, and then prompt for the operation. Note that if it uses the same IP address as the existing FTP server, you must select a different port number!
2. Delete an FTP server: select the corresponding server name in the left-side Navigation Pane, and then right-click and choose Delete.
3. Create a New User: select the corresponding server name in the left-side Navigation Pane, and then right click → New User.
4. Delete a User: select the User name in the left-side Navigation Pane and right-click the User and choose Delete User.
5. Copy a User: select the User name on the left panel (you can also choose any location on the right panel), and then select "right-click → Copy User. This item is also very useful! As shown in: