NFS server di FreeBSD

| Friday, November 22, 2013



  1. % su
  2. # ee /etc/exports
  3. add the following line:
/usr/ports/distfiles -maproot=root 10.10.7.4
Start NFS server
  1. % su
  2. # rpcbind
  3. # nfsd -u -t -n 4
  4. # mountd -r
setelah edit exports file, reload dgn :
  1. % su
  2. # /etc/rc.d/mountd onereload
Also, the showmount command can be used to display the exports on the server:
  1. % su
  2. # showmount -e

Rsync dari remote server ke lokal

| Thursday, November 21, 2013

 rsync -Pae "ssh -p 2233" root@10.10.7.25:/var/hosting /dataku/