RHCE exercises and analysis (4)

1. Open the /nfs/shared directory for all users to query information;

2. Open the /nfs/upload directory for all users to upload and download data;

1. Mount and create directories

Insert image description here
Edit "exports" to write
Insert image description here

2. Add groups and users

Insert image description here
The above picture cannot be created because user already exists, so it is changed to "useradd -u 2001 -g 2001 nfs-upload"

3. Restart

Insert image description here

4. Create a mount.directory

Insert image description here
Insert image description here

5. Add permissions and create files

Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/Nirvana92/article/details/127930012