IT

debian nfs 공유 및 받기

Dream Come True 2011. 7. 27. 10:53
반응형


#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/sbin/mount.nfs xxx.xxx.xxx.xxx:/serverpm /home/serverpm/mes1
/sbin/mount.nfs xxx.xxx.xxx.xxx:/serverpm /home/serverpm/mes2

 


/etc/export

/home 192.168.50.2(rw,sync,no_root_squash,no_subtree_check)
/home2 192.168.50.2(rw,sync,no_root_squash,no_subtree_check)

반응형