LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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: 39

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: Fedora40
Posts: 6,152

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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: 203Reputation: 203Reputation: 203
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: Fedora40
Posts: 6,152

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
^ 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: Rocky 9.2
Posts: 18,398

Rep: Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780
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: 39

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 anon111 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 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
Open Source Consulting | Domain Registration