User Tools

Site Tools


сервис_nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
сервис_nfs [2021/01/14 16:04]
val [Windows 2008]
сервис_nfs [2024/04/05 13:21]
val [Dеbian/Ubuntu]
Line 13: Line 13:
 root@server:​~#​ cat /​etc/​exports root@server:​~#​ cat /​etc/​exports
 </​code><​code>​ </​code><​code>​
-#/​var/​cache/​apt/​archives 192.168.X.0/24(ro,​sync,​no_subtree_check)+#/​var/​cache/​apt/​archives 192.168.0.0/16(ro,​sync,​no_subtree_check)
 #/home 192.168.X.0/​24(rw,​sync,​no_subtree_check) #/home 192.168.X.0/​24(rw,​sync,​no_subtree_check)
 #/​var/​www/​html/​sarg 192.168.X.1(rw,​sync,​no_subtree_check,​no_root_squash) #/​var/​www/​html/​sarg 192.168.X.1(rw,​sync,​no_subtree_check,​no_root_squash)
 +
 +#/var/www *(rw,​sync,​no_root_squash,​subtree_check)
 +#/var/www 192.168.0.0/​16(rw,​sync,​no_subtree_check,​no_root_squash) 172.16.0.0/​12(rw,​sync,​no_subtree_check,​no_root_squash) 10.0.0.0/​8(rw,​sync,​no_subtree_check,​no_root_squash)
 </​code><​code>​ </​code><​code>​
 root@server:​~#​ service nfs-kernel-server restart root@server:​~#​ service nfs-kernel-server restart
Line 77: Line 80:
 </​code>​ </​code>​
  
-В свойствах папки включить NFS Sharing, и настроить Permissions (ALL_MACHINES ReadWrite, AllowRootAccess)+В свойствах папки ​(лобой,​ но удобнее C:​\home) ​включить NFS Sharing, и настроить Permissions (ALL_MACHINES ReadWrite, AllowRootAccess)
  
  
Line 145: Line 148:
 nfsclient# mount nfsserver:/​var/​cache/​apt/​archives /mnt nfsclient# mount nfsserver:/​var/​cache/​apt/​archives /mnt
  
-nfsclient# dpkg -i /mnt/zabbix*+nfsclient# dpkg -i /mnt/*deb
 </​code>​ </​code>​
  
сервис_nfs.txt · Last modified: 2024/04/16 12:34 by val