Monday, 24 August 2009

ubuntu sharing: fast.

Host:
sudo apt-get install nfs-kernel-server
sudo dpkg-reconfigure portmap (select no)

/etc/exports now exists. Add the directory to be shared, and the
machines allowed to connect:

/home/me/projects/phd/python 192.168.1.111(ro)
/home/me/parallel 192.168.1.111(rw)


---
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-kernel-server restart
--- OR, post 2009: ----
sudo service portmap restart
sudo service nfs-kernel-server restart
----

on the client:
sudo apt-get install portmap nfs-common

and mount: remote, local spec:

sudo mount 192.168.1.110:/home/me/projects/phd/python /home/me/projects/phd/python

sudo mount 192.168.16.31:/home/me/parallel /home/me/parallel

No comments:

Post a Comment