Re: How to mount a remote file system to another linux box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




> I have never used NSF. I think it may be someting easy.>
> below is the location of graphs (these graphs are on my firewall - ip is
> 192.168.101.254 ) i want to export it to webserver @ 192.168.101.35
>
> /opt/polltc/polltc-1.05/eth1-1-tc.png
> /opt/polltc/polltc-1.05/eth1-24-tc.png
>
> can U help me for the above.

As you wish ;)
On the server (firewall in your case) edit /etc/exports and add:
/opt/polltc/polltc-1.05/        192.168.101.35(ro)
 YES, I did it.

(ro) will prevent NFS clients from writing to that location at server level

    

On the client (webserver) simply add similar line to /etc/fstab
192.168.101.254:/opt/polltc/polltc-1.05/ /graphs nfs defaults 0 0

YES, I did it.

/graphs must exist on clinet machine. Then point youd httpd to /graphs.

YES, I created it  as below

[root@host ~]# mkdir /graphs

Now, The question is how to mount it. Do i need to reboot both machines?

Or without rebooting, How to get it worked.
 


--
Thank you
Indunil Jayasooriya
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux