[newbie] Setup NFS access?

2004-11-07 Thread Eric Scott
Yo peeps;
I'm trying to set up an NFS server on my Mandrake 9.2 server with client 
access from a SuSE 9.1 box.  Here's what I did on the server:

[EMAIL PROTECTED]:~ ssh sipca.org
[EMAIL PROTECTED]'s password:
[EMAIL PROTECTED] eric]$ su
Password:
[EMAIL PROTECTED] eric]# vi /etc/exports

snip
Added /var/www/html   sipca.org(ro,root_squash)
/snip

[EMAIL PROTECTED] eric]# exportfs -r
exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for export 
*:/home/eric.
  Assuming default behaviour ('sync').
  NOTE: this default has changed from previous versions
exportfs: /etc/exports [3]: No 'sync' or 'async' option specified for export 
sipca.org:/var/www/html.
  Assuming default behaviour ('sync').
  NOTE: this default has changed from previous versions
[EMAIL PROTECTED] eric]#

On the SuSE box I got:

linux:/mnt # mount -t nfs sipca.org:/var/www/html /mnt/athlonxp
pmap_getmaps rpc problem: RPC: Timed out
mount: sipca.org:/var/www/html failed, reason given by server: Permission 
denied

I'm new to NFS... and all this I just tried from a googled howto.  Any help?
   Thanx,
 ES
-- 
Registered Linux user #366862

Not that you care, but this message was sent from a 750MHz Athlon system 
running SuSE Linux 9.1 (Kernal 2.6.4) and KMail 1.62.  I aslo run Red Hat 
Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake 
Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various 
systems and architectures for various reasons.  Yeah, and there's a old Mac 
OS in there somewhere that I use as a bootloader for Linux, and a Windows XP 
box used as a router for my Linux-based network, but they don't count, 'cuz 
they aren't real OS's.  Who me? Biased? Nah!



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread Derek Jennings
On Sunday 07 November 2004 19:12, Eric Scott wrote:
 Yo peeps;
 I'm trying to set up an NFS server on my Mandrake 9.2 server with client

 access from a SuSE 9.1 box.  Here's what I did on the server:
 [EMAIL PROTECTED]:~ ssh sipca.org
 [EMAIL PROTECTED]'s password:
 [EMAIL PROTECTED] eric]$ su
 Password:
 [EMAIL PROTECTED] eric]# vi /etc/exports

 snip
 Added /var/www/html   sipca.org(ro,root_squash)
 /snip

 [EMAIL PROTECTED] eric]# exportfs -r
 exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for
  export *:/home/eric.
   Assuming default behaviour ('sync').
   NOTE: this default has changed from previous versions
 exportfs: /etc/exports [3]: No 'sync' or 'async' option specified for
  export sipca.org:/var/www/html.
   Assuming default behaviour ('sync').
   NOTE: this default has changed from previous versions
 [EMAIL PROTECTED] eric]#

 On the SuSE box I got:
 linux:/mnt # mount -t nfs sipca.org:/var/www/html /mnt/athlonxp
 pmap_getmaps rpc problem: RPC: Timed out
 mount: sipca.org:/var/www/html failed, reason given by server: Permission
 denied

 I'm new to NFS... and all this I just tried from a googled howto.  Any
 help? Thanx,
  ES

Are you running a firewall? If so you need to open port 111 and also make sure 
the portmapper service is running.

BTW: The easy way for newbies to set up NFS servers is to use the 'NFS Mount' 
GUI in Mandrake Control Centre.  It works over an ssh link. Just start 'mcc'  
from your ssh shell.

derek 
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread Eric Scott
On Sunday 07 November 2004 14:08, Derek Jennings wrote:
 On Sunday 07 November 2004 19:12, Eric Scott wrote:
  Yo peeps;
  I'm trying to set up an NFS server on my Mandrake 9.2 server with client
 
  access from a SuSE 9.1 box. Here's what I did on the server:
  [EMAIL PROTECTED]:~ ssh sipca.org
  [EMAIL PROTECTED]'s password:
  [EMAIL PROTECTED] eric]$ su
  Password:
  [EMAIL PROTECTED] eric]# vi /etc/exports
 
  snip
  Added /var/www/html  sipca.org(ro,root_squash)
  /snip
 
  [EMAIL PROTECTED] eric]# exportfs -r
  exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for
   export *:/home/eric.
   Assuming default behaviour ('sync').
   NOTE: this default has changed from previous versions
  exportfs: /etc/exports [3]: No 'sync' or 'async' option specified for
   export sipca.org:/var/www/html.
   Assuming default behaviour ('sync').
   NOTE: this default has changed from previous versions
  [EMAIL PROTECTED] eric]#
 
  On the SuSE box I got:
  linux:/mnt # mount -t nfs sipca.org:/var/www/html /mnt/athlonxp
  pmap_getmaps rpc problem: RPC: Timed out
  mount: sipca.org:/var/www/html failed, reason given by server:
   Permission denied
 
  I'm new to NFS... and all this I just tried from a googled howto. Any
  help? Thanx,
ES

 Are you running a firewall? If so you need to open port 111 and also make
 sure the portmapper service is running.

 BTW: The easy way for newbies to set up NFS servers is to use the 'NFS
 Mount' GUI in Mandrake Control Centre. It works over an ssh link. Just
 start 'mcc' from your ssh shell.

 derek

Whelp I don't have a firewall... and I don't know about you but my MCC only 
lets me mount servers with NFS Mounts, not create them. Am I missing 
something? My entire /etc/exports file is as follows:

/home/eric   *(rw)
/var/www/html  *(rw)

It says permission denied when I try to access. Any help?

-- 
Registered Linux user #366862

Not that you care, but this message was sent from a 750MHz Athlon system 
running SuSE Linux 9.1 (Kernal 2.6.5) and KMail 1.62. I aslo run Red Hat 
Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake 
Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various 
systems and architectures for various reasons. Yeah, and there's a old Mac 
OS in there somewhere that I use as a bootloader for Linux, and a Windows XP 
box used as a router for my Linux-based network, but they don't count, 'cuz 
they aren't real OS's. Who me? Biased? Nah!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread H.J.Bathoorn
On Sunday 07 November 2004 23:45, Eric Scott wrote:
 /home/eric      *(rw)
 /var/www/html   *(rw)

 It says permission denied when I try to access.  Any help?

Just open /home/eric with konqueror and rightclick the directory you want to 
share, and go down to the bottom of the menu and select share.
If you haven't configured filesharing yet (be it nfs or samba) you can click 
on configure filesharing button there or (if you have); click on the 
shared radio button.

That's about it...it can't get much harder IMO;)

About /var/www/html; I'm not so sure that's shareable in the nfs way, I 
useally restrict myself to /home/triade files for safety's sake.


-- 
Good luck,
HarM


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread Eric Scott
On Sunday 07 November 2004 17:24, H.J.Bathoorn wrote:
 On Sunday 07 November 2004 23:45, Eric Scott wrote:
  /home/eric   *(rw)
  /var/www/html  *(rw)
 
  It says permission denied when I try to access. Any help?

 Just open /home/eric with konqueror and rightclick the directory you want
 to share, and go down to the bottom of the menu and select share.
 If you haven't configured filesharing yet (be it nfs or samba) you can
 click on configure filesharing button there or (if you have); click on
 the shared radio button.

 That's about it...it can't get much harder IMO;)

 About /var/www/html; I'm not so sure that's shareable in the nfs way, I
 useally restrict myself to /home/triade files for safety's sake.

Well sharing home direcories won't help me.  I need the html directory.

-- 
Registered Linux user #366862

Not that you care, but this message was sent from a 750MHz Athlon system 
running SuSE Linux 9.1 (Kernal 2.6.5) and KMail 1.62.  I aslo run Red Hat 
Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake 
Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various 
systems and architectures for various reasons.  Yeah, and there's a old Mac 
OS in there somewhere that I use as a bootloader for Linux, and a Windows XP 
box used as a router for my Linux-based network, but they don't count, 'cuz 
they aren't real OS's.  Who me? Biased? Nah!



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread H.J.Bathoorn
On Monday 08 November 2004 00:32, Eric Scott wrote:
 Well sharing home direcories won't help me.  I need the html directory.

So what are you trying to share?

/var/www/html sounds more like a webserver to mewhich could be reached 
by:http://adres_of_your_box_here:80; depending on what webserver software 
you're running, or from where you're connecting from if you've got a 
firewall..don't need any sharing there!
-- 
Good luck,
HarM


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread Eric Scott
On Sunday 07 November 2004 17:53, H.J.Bathoorn wrote:
 On Monday 08 November 2004 00:32, Eric Scott wrote:
  Well sharing home direcories won't help me. I need the html directory.

 So what are you trying to share?

 /var/www/html sounds more like a webserver to mewhich could be reached
 by:http://adres_of_your_box_here:80; depending on what webserver software
 you're running, or from where you're connecting from if you've got a
 firewall..don't need any sharing there!

Right, I'm trying to share the web server directory read/write for easy remote 
website editing.  It seems like it'd be much more convenient over NFS than 
FTP or SCP.  If you've got a better idea I'm open for tips.  My I-net 
connection has like a 4k upload rate, and editing over SSH/VNC is starting to 
become a real chore.  I just got FTP running though, which I will need for a 
few clients, and can live with it for the present, but as a web host 
administrator I'd like to have NFS access to the entire http server 
directory.
Thanx,
   ES
-- 
Registered Linux user #366862

Not that you care, but this message was sent from a 750MHz Athlon system 
running SuSE Linux 9.1 (Kernal 2.6.5) and KMail 1.62.  I aslo run Red Hat 
Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake 
Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various 
systems and architectures for various reasons.  Yeah, and there's a old Mac 
OS in there somewhere that I use as a bootloader for Linux, and a Windows XP 
box used as a router for my Linux-based network, but they don't count, 'cuz 
they aren't real OS's.  Who me? Biased? Nah!



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread H.J.Bathoorn
On Monday 08 November 2004 02:04, Eric Scott wrote:
 On Sunday 07 November 2004 17:53, H.J.Bathoorn wrote:
  On Monday 08 November 2004 00:32, Eric Scott wrote:
   Well sharing home direcories won't help me.  I need the html directory.
 
  So what are you trying to share?
 
  /var/www/html sounds more like a webserver to mewhich could be
  reached by:http://adres_of_your_box_here:80; depending on what webserver
  software you're running, or from where you're connecting from if you've
  got a firewall..don't need any sharing there!

 Right, I'm trying to share the web server directory read/write for easy
 remote website editing.  It seems like it'd be much more convenient over
 NFS than FTP or SCP.  If you've got a better idea I'm open for tips.  My
 I-net connection has like a 4k upload rate, and editing over SSH/VNC is
 starting to become a real chore.  I just got FTP running though, which I
 will need for a few clients, and can live with it for the present, but as a
 web host administrator I'd like to have NFS access to the entire http
 server directory.
   Thanx,
ES

Well frankly, I've not discovered a better way than ssh yet.

There might be a slight speed gain over NOT_encrypting but that surely doesn't 
weigh up to the security ssh gives.

Don't try to use vnc at those speeds...it's just too damn slow, as actualy all 
X-forwarding is too!
Get used to the commandline and you'll be administrating at a lot lower speed 
if need be:)
Another speed gain would/could also be keeping a mirrored copy of your remote 
websites locally and then using rsync to keep them updated (in sync) -- be 
it in secure_mode or not.but that would be a different thread;)

NFS is certainly NOT the way to go for easy/fast web maintainance, that was 
meant for local (LAN) stuff.
-- 
Good luck,
HarM


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Setup NFS access?

2004-11-07 Thread Derek Jennings
On Monday 08 November 2004 01:20, H.J.Bathoorn wrote:
 On Monday 08 November 2004 02:04, Eric Scott wrote:
  On Sunday 07 November 2004 17:53, H.J.Bathoorn wrote:
   On Monday 08 November 2004 00:32, Eric Scott wrote:
Well sharing home direcories won't help me.  I need the html
directory.
  
   So what are you trying to share?
  
   /var/www/html sounds more like a webserver to mewhich could be
   reached by:http://adres_of_your_box_here:80; depending on what
   webserver software you're running, or from where you're connecting from
   if you've got a firewall..don't need any sharing there!
 
  Right, I'm trying to share the web server directory read/write for easy
  remote website editing.  It seems like it'd be much more convenient over
  NFS than FTP or SCP.  If you've got a better idea I'm open for tips.  My
  I-net connection has like a 4k upload rate, and editing over SSH/VNC is
  starting to become a real chore.  I just got FTP running though, which I
  will need for a few clients, and can live with it for the present, but as
  a web host administrator I'd like to have NFS access to the entire http
  server directory.
  Thanx,
 ES

 Well frankly, I've not discovered a better way than ssh yet.

 There might be a slight speed gain over NOT_encrypting but that surely
 doesn't weigh up to the security ssh gives.

 Don't try to use vnc at those speeds...it's just too damn slow, as actualy
 all X-forwarding is too!
 Get used to the commandline and you'll be administrating at a lot lower
 speed if need be:)
 Another speed gain would/could also be keeping a mirrored copy of your
 remote websites locally and then using rsync to keep them updated (in
 sync) -- be it in secure_mode or not.but that would be a different
 thread;)

 NFS is certainly NOT the way to go for easy/fast web maintainance, that was
 meant for local (LAN) stuff.

If you use Quanta to manage your web pages then you can easily synchronise to 
your web server using sftp The only thing you need on the server is to be 
running an ssh server.

Konqueror is also real nice to use with sftp. Just enter
fish://[EMAIL PROTECTED]/path/to/folder  in the URL line of Konqueror
('fish' is included by default in Mandrake, but I am not sure if Suse includes 
it)

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com