LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2010, 08:45 AM   #1
deelinux
Member
 
Registered: Nov 2009
Posts: 37

Rep: Reputation: 15
Linux shares


Hello

I have two Redhat Linux systems and I want create a share on each and then be able to copy files to each using scripts etc. (I dont want to use FTP)

What is the most standard way of doing this?

I have read that you can use /etc/exports which seem easy enough, but how does one connect to the remote share and copy files etc, is this command line or file browser etc.

Again any pointers / help would be great

Rgds

D
 
Old 02-08-2010, 09:09 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
NFS is what you want.

It allows a remote filesystem to appear as if it was mounted locally, so it becomes part of your directory tree. The remote filesystem is "mounted" locally, thereafter there's no "connection" to be handled - NFS handles all that invisibly for you.

IIRC there are some security considerations, but you should be fine on your LAN

You can use any tools you like to manipulate these files: the GUI, the CLI, whatever.
Here's a link to a NFS HOWTO
 
Old 02-08-2010, 09:16 AM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
It allows a remote filesystem to appear as if it was mounted locally, so it becomes part of your directory tree. The remote filesystem is "mounted" locally, thereafter there's no "connection" to be handled - NFS handles all that invisibly for you.
The same can be done with Samba if there may be occasion to connect using a windows machine, then samba might be for you.
 
Old 02-08-2010, 09:33 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
There's no point in using samba if you have only linux PCs.

Don't forget that if you are running KDE and have ssh running on both machines, konqueror has the awesome fish://user@remotehost protocol. The remote user's /home shows up in your file manager, and you can drag and drop files and directories between machines. This is quick & easy when you just want to grab a file or two from some other computer. It is also secure, because it connects by using ssh.
 
Old 02-08-2010, 01:35 PM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,105

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
^ sshfs works well for me.

it is not as standard as nfs but it gets the job done quicker.
 
Old 02-08-2010, 04:51 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
See Chap 19 http://www.redhat.com/docs/en-US/Red...loyment_Guide/
 
Old 02-09-2010, 02:50 AM   #7
deelinux
Member
 
Registered: Nov 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Many thanks to all you Linux good fellas

I have enough to work with

cheers

D
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't View List of Shares in Nautilus, but can browse shares directly macgyver007 Linux - Networking 3 12-11-2008 04:13 PM
linux-connected printer shares with other linux computers, but not windows DJOtaku Linux - Hardware 1 05-29-2006 09:04 AM
Linux 'shares' Pozican Linux - Networking 5 04-25-2005 01:33 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
Shares in XP and linux mRnEw2lInEx Linux - Newbie 4 04-12-2003 03:45 AM


All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration