in fedora os
first open
vi /etc/exports
add bellow line
/home/USER_NAME/public_html 192.168.1.*(rw,async,no_root_squash)
exportfs -a -v
service nfs start
chkconfig nfs on
service portmap restart
chkconfig portmap on
service iptables stop
(if you want to iptables service permanently disable)
/sbin/chkconfig iptables off
then after mount nfs from other system bellow command
mount -o rw,async 192.168.1.(server id):/home/USER_NAME/web /home/USERS_NAME/MOUNT_DIR_NAME
auto mount in booting (server dir local sys dir)
192.168.1.1:/home/keval/web /home/keval/kevalweb nfs defaults 0 0
==============================
if ssh login not work on fedora
then try commnad through
passwd username
first open
vi /etc/exports
add bellow line
/home/USER_NAME/public_html 192.168.1.*(rw,async,no_root_squash)
exportfs -a -v
service nfs start
chkconfig nfs on
service portmap restart
chkconfig portmap on
service iptables stop
(if you want to iptables service permanently disable)
/sbin/chkconfig iptables off
then after mount nfs from other system bellow command
mount -o rw,async 192.168.1.(server id):/home/USER_NAME/web /home/USERS_NAME/MOUNT_DIR_NAME
auto mount in booting (server dir local sys dir)
192.168.1.1:/home/keval/web /home/keval/kevalweb nfs defaults 0 0
==============================
if ssh login not work on fedora
then try commnad through
passwd username
No comments:
Post a Comment