Environment: RHEL6.2 Enterprise Edition VMware8.0 server configuration steps: (1) if nfs is not installed on your computer, you need to install it using an rpm package, which is generally three packages. (2) (because my linux does not have graphical configuration, I can only edit the configuration in text mode) First, edit the Script: the place where the line is to be edited, I want to share/home/share. The accessible IP address is 192.168.241, Which is readable.
Environment:
RHEL6.2 Enterprise Edition
VMware8.0
Server configuration steps:
(1) If nfs is not installed on your computer, you need to install it using an rpm package, which is generally three packages.
(2) (because my linux does not have graphical configuration, I can only edit the configuration in text mode) First, edit the script:
The address to edit is the place where the line is drawn. This sentence means that I want to share/home/share. The accessible IP address is 192.168.241, which has a readable and writable attribute, writes data to files in real time.
(3) set shared folder attributes:
(4) restart the nfs service:
Client configuration steps:
(1) mount the shared folder to the/mnt directory to determine whether nfs is configured successfully:
Note: The warning is displayed here because I have mounted it before. If you mount it for the first time, there is no prompt.
I previously created three folders a, B, and c in the/home/share directory, and created three files 1, 2, 3 in the/mnt directory, if nfs is configured successfully, you should be able to see these three files in the/home/share and/mnt directories:
At this point, nfs configuration is successful!
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10