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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-08-2010, 08:45 AM
|
#1
|
Member
Registered: Nov 2009
Posts: 39
Rep:
|
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
|
|
|
02-08-2010, 09:09 AM
|
#2
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152
|
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
|
|
|
02-08-2010, 09:16 AM
|
#3
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
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.
|
|
|
02-08-2010, 09:33 AM
|
#4
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152
|
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.
|
|
|
02-08-2010, 01:35 PM
|
#5
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
^ sshfs works well for me.
it is not as standard as nfs but it gets the job done quicker.
|
|
|
02-08-2010, 04:51 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,398
|
|
|
|
02-09-2010, 02:50 AM
|
#7
|
Member
Registered: Nov 2009
Posts: 39
Original Poster
Rep:
|
Many thanks to all you Linux good fellas
I have enough to work with
cheers
D
|
|
|
All times are GMT -5. The time now is 12:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|