Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

Setting up Linux shares bewteen 2 Linux boxes...

Thread Tools
 
Search this Thread
 
Old 05-11-2005 | 10:17 AM
  #1  
yoda-g2's Avatar
Thread Starter
Contributing Member
 
Joined: Feb 2003
Posts: 569
Likes: 0
From: Spokane, WA
Setting up Linux shares bewteen 2 Linux boxes...

I have about 50mb of data that I need to migrate to a Red Hat AS 3.0 (same as 9.0) from a Mandrake 9.2 box. I can't find any info on mounting shares on a linux box. Everything seems centered around samba which I really don't need in this situation.

I have GUI and terminal with the RH box, and command line only to the Mandrake box.

Any help would be great!
Old 05-11-2005 | 10:25 AM
  #2  
yoda-g2's Avatar
Thread Starter
Contributing Member
 
Joined: Feb 2003
Posts: 569
Likes: 0
From: Spokane, WA
Oh ya, I also have Webmin access to both boxes.
Old 05-11-2005 | 10:33 AM
  #3  
Mickdady's Avatar
Contributing Member
 
Joined: Jan 2005
Posts: 648
Likes: 0
From: Mill Creek, Washington
put the files in a directory on the webserver that is accessible from the web and then go to the destination box and use fget to access the files. If you want to do it locally you could use FTP.
Old 05-11-2005 | 10:45 AM
  #4  
yoda-g2's Avatar
Thread Starter
Contributing Member
 
Joined: Feb 2003
Posts: 569
Likes: 0
From: Spokane, WA
Hmm, neither of these have ftp configured, and neither one hosts a website or web services. It is just an older proxy server/spam filter that I'm upgrading to a new box. They are also both on the same network. I tried the fget thing, but it doesn't seem to be on either of these boxes.

Forgive my ignorance, most of my experience is on with Windows and AD stuff. I can get around linux pretty well, but I am by no means an expert.


Thanks for the help!
Old 05-11-2005 | 10:49 AM
  #5  
mike_d's Avatar
Registered User
 
Joined: Aug 2003
Posts: 613
Likes: 0
From: Mountains outside of Boulder
if it's a one time only thing where you just need to get the data transferred, then i'd use something like scp or sftp. if it's something where you're going to want a semi-permanant connection, then i suggest nfs.

sftp works over the ssh protocol. so you can do something like this

sftp username@othercomptuername

and then all the commands are like normal ftp commands to get and put files


scp also works over the ssh protocol, but works just like cp

scp localfiles username@othercomputername:/remote/path/to/save/files/to


or for the more permant connection use nfs.

on system holding the files edit your /etc/exports file and add something like this

/path/to/share othercomputername(list of parameters)

and then on the other computer you can add something like this to your /etc/fstab files

firstcomptuername:/path/to/share /mountpoint nfs list of parameters

check out 'man exports' and 'man nfs' for details on the parameters

mike
Old 05-11-2005 | 10:50 AM
  #6  
Mickdady's Avatar
Contributing Member
 
Joined: Jan 2005
Posts: 648
Likes: 0
From: Mill Creek, Washington
Setting up samba shares is really easy. I think that might be your best bet. I have the same version of redhat running on one of my machines so if you get lost let me know.
Old 05-11-2005 | 10:51 AM
  #7  
Mickdady's Avatar
Contributing Member
 
Joined: Jan 2005
Posts: 648
Likes: 0
From: Mill Creek, Washington
ooh great idea mike!
Old 05-11-2005 | 10:58 AM
  #8  
mike_d's Avatar
Registered User
 
Joined: Aug 2003
Posts: 613
Likes: 0
From: Mountains outside of Boulder
one more idea. check out netcat. it's probably not installed on your computer by default, but it's a small download and is really quick at transferring files over a network.

mike
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
foampile
03+ 4Runner/GX470, & 05+ Tacomas
1
12-18-2022 01:29 PM
malteserunner
Early Land Cruisers (Build-Up Section)
89
02-09-2018 06:59 AM
RobotMoose
Tool Time
5
09-02-2015 05:53 AM
88sasturbotoy
Axles - Suspensions - Tires - Wheels
2
08-11-2015 01:56 AM



Quick Reply: Setting up Linux shares bewteen 2 Linux boxes...



All times are GMT -8. The time now is 12:22 PM.