Teach you to configure the FreeBSD FTP NFS method

Source: Internet
Author: User
Tags anonymous file system ftp ftp access root directory

The following prompts are available for FTP settings: User Confirmation requested

Do your want to have anonymous FTP access to this machine?

Yes [No] selecting the default [No] and pressing the Enter key will still allow access to FTP to users who have an account on this machine. To enable FTP anonymous access, use the arrow keys to select Yes and then press ENTER. You will see the following (or similar) screen:

The default anonymous FTP configuration press F1 to view the online Help documentation: This screens allows to configure the anonymous FTP user.

The following configuration values are editable:

Uid:the user ID you wish to assign to the anonymous FTP user.

All files uploaded'll is owned by this ID.

Group:which Group you wish the anonymous FTP user to is in.

Comment:string describing this user in/etc/passwd

FTP Root Directory:

Where files available for anonymous FTP would be kept.

Upload subdirectory:

Where files uploaded by anonymous FTP users to go. The default FTP root directory will be placed in the/var directory. If your/var directory space is not sufficient to meet your FTP requirements, you can change the FTP root directory to the/USR/FTP directory in the/usr directory. When you are satisfied with all the configuration, press Enter to continue. User Confirmation requested

Create a welcome message file for anonymous FTP users?

[Yes] No if you select Yes and press ENTER, the text editor will automatically open to allow you to edit FTP welcome information.

Edit FTP Welcome Information

This text editor is called EE. Follow the instructions to modify the message text or later modify it with your favorite text editor. Remember the location of the file shown below the screen. Press ESC to eject a dialog box that defaults to a leave editor. Press Enter to exit and continue. Press Enter again to save the changes.

Configuring NFS

The Network File System (NFS) allows you to share your files on the network. A machine can be configured as an NFS server, a client, or both. Start configuration with the following prompts: User confirmation requested

Do your want to configure this machine as a NFS server?

Yes [No] if you do not want to install the network file system, select [No] and press ENTER. If you select Yes, a dialog box will appear reminding you that you must first create a exports file. Message

Operating as an NFS server means so you must-configure

/etc/exports file to indicate which hosts are allowed certain kinds of

Access to your The local filesystems.

Press [Enter] now to invoke an editor On/etc/exports

[OK] Press Enter to continue. The system launches a text editor to let you edit the exports file.

Edit exports file

Follow the instructions to add the real output file directory or edit it yourself later with your favorite editor. Please note the name and location of the file displayed below the screen. Pressing the ESC key appears with a dialog box, and the default option is a leave editor. Press Enter to leave and continue.            NFS clients allow your machine to access Server for NFS. User Confirmation requested

Do your want to configure this machine as a NFS client?

Yes [no] select [Yes] or [no], and then press Enter, as you want.

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.