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
Next revision Both sides next revision
сервис_nfs [2019/07/03 13:21]
val [Windows 2003]
сервис_nfs [2021/04/12 08:52]
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)
Line 79: Line 79:
 В свойствах папки включить NFS Sharing, и настроить Permissions (ALL_MACHINES ReadWrite, AllowRootAccess) В свойствах папки включить NFS Sharing, и настроить Permissions (ALL_MACHINES ReadWrite, AllowRootAccess)
  
-<​code>​ 
-# mount server:/​home /home 
- 
-# chmod 777 /home 
-</​code>​ 
  
 ==== Windows 2016 ==== ==== Windows 2016 ====
Line 145: Line 140:
  
 ==== Установка ПО ==== ==== Установка ПО ====
 +
 +=== Debian/​Ubuntu ===
 +<​code>​
 +nfsclient# mount nfsserver:/​var/​cache/​apt/​archives /mnt
 +
 +nfsclient# dpkg -i /mnt/*deb
 +</​code>​
  
 === FreeBSD === === FreeBSD ===
Line 169: Line 171:
 </​code>​ </​code>​
  
-=== Ubuntu === 
-<​code>​ 
-root@gate:​~#​ mount nfs:/​var/​cache/​apt/​archives /mnt 
- 
-root@gate:​~#​ dpkg -i /​mnt/​fetchmail* 
- 
-root@gate:​~#​ umount /mnt 
-</​code>​ 
сервис_nfs.txt · Last modified: 2024/04/16 12:34 by val