A linux machine remotely mount another linux machine

The local computer system is unbantu, you want another linux computer files on the table next to mount a local directory. principle is to mount the network file system , i.e. NFS, the machine operation steps

A mounting nfs-common: apt install nfs-common 

Second, edit / etc / fstab, to be hung in the remote directory is written into: vim etc / fstab (Note that in the root mode to edit)

 

 

 

Third, after saving, execute the command: mount -a 

Fourth, the unit is to mount the directory, to see if hanging in the success.

Guess you like

Origin www.cnblogs.com/chaojiyingxiong/p/11332091.html