Article Title: graphic configuration of NFS servers in Linux practice. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In Red Hat Enterprise Linux 5, if you want to configure the NFS server, you can also use the NFS graphical configuration method. This method is simple, clear, and convenient.
1.1 NFS server configuration window
Enter the system-config-nfs command at the shell prompt to open the "NFS server configuration" window, as shown in 1.
"NFS server configuration" Window
1.2 add NFS share
In the "NFS server configuration" window, if you want to add a shared directory, click "add" in the toolbar to open the "add NFS share" dialog box, as shown in 2.
"Add NFS share" dialog box
The options on the "Basic" tab are as follows.
(1) "directory" text box: refers to the directory to be shared, such as/tmp /.
(2) "host" text box: refers to the host to share the directory.
(3) "basic permissions": Specifies whether the shared directory has the "read-only" permission or "read/write" permission.
Enter the directory path to be shared in the "directory" text box, or click "Browse" to open the "select a directory" dialog box, where you can select a system directory to share.
Return to the "add NFS share" dialog box, and enter the host name (localhost or IP address of the NFS server) in the "host" text box as the NFS server name. Select a permission for the shared directory in "basic permissions". The default permission is "read-only.
1.3 General options
Return to the "add NFS share" dialog box, and click the "general options" tab to open the "general options" tab, as shown in 3.
"General options" tab
On this tab, you can select the check boxes as needed. Generally, retain the default values of the system. The functions of each check box are as follows.
(1) allow connections from ports higher than 724: Services started on ports smaller than 724 must be started as root users, select the check box to allow users other than root users to start the NFS service. This check box corresponds to insecure.
(2) allow unsafe File Locking: the request does not need to be locked. This check box corresponds to insecure_locks.
(3) Disable subtree check: If the subdirectory of a file system is exported but the entire file system is not exported, the server checks whether the requested file is in the exported subdirectory. This check is called subtree check. Select this check box to disable the subtree check. If the entire file system is exported, select this check box to improve the transmission rate. This check box corresponds to no_subtree_check.
(4) Synchronous write operations as required: This check box is enabled by default. This check box does not allow the server to reply to these requests before the requests are written to the disk. This check box corresponds to sync. If this check box is cleared, The async option is used.
(5) force synchronous write operation immediately: Do not delay the write operation to the disk. The check box corresponds to no_wdelay.
[1] [2] Next page