In Linux, we can also use graphical windows for some settings. Today, we will explain how to configure the Linux NFS server. 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, convenient, and fast.
1 Linux NFS server configuration window
Enter the system-config-nfs command at the shell prompt to open the "Linux NFS server configuration" window, as shown in 1.
Figure 1 "Linux NFS server configuration" Window
2. Add NFS share
In the "Linux NFS server configuration" window, to add a shared directory, click "add" in the toolbar to open the "add NFS share" dialog box, as shown in 2.
Figure 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 should have "read-only" or "read/write" permissions.
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. In the "host" text box, enter the host name (localhost) or the IP address of the NFS server) as the NFS server name. select a permission for the shared directory in "basic permissions". The default permission is "read-only.
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.
Figure 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 the check boxes are as follows.