SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
I've been reading some tutorials/guides/etc here and there about Samba and I'm a little confused. I have two Slack boxes (my main box and an old POS I plan to use as a place to practice a little Apache/web serving) and I want to just transfer files between them. Do I have to have something like Samba running to send say an HTML or script file from my main box to my other "test" server? Most of the Samba guides I've found deal with transferring files between Linux and Windows. My computers are already connected to the internet via a router (hence each other) so I guess I'm looking for a quick and easy solution rather than having to straighten out my myriad of questions and confusion with Samba.
Last edited by SaintsOfTheDiamond; 02-26-2006 at 03:21 AM.
1) If you only want to transfer files, have a look at scp. On the server side you only have to run sshd.
2) Samba. On the client side you have to mount your samba share. Look for smbmount (it's equal to: "mount -t smbfs"). It would be the same as mounting a Windows share.
3) NFS. I don't know if Slack's Kernel support nfs, but I think so. Google for the NFS HOWTO.
So it's up to you. In my eyes the easiest solution is the scp one.
(Maybe for the future: There are also projects to mount directories with plain ssh. sshfs or shfs for example. But they didn't work stable enough on my setup)
as you can see it's silly and complicated. using nfs, scp, ftp....
slack 1 (english) > slack 2 (english).
well silly analogy but you get the point. samba is for windows compatibilty.
you could use NFS, but personally i would just use SSH for the odd file transfer (use nfs if you want to copy things all the time). SCP is part of the SSH suite of tools.
If you want to play with Apache, just run it on one box and use its ip in the browser on the other box to connect.
If you want use ssh to connect from one to other to run commands and/or start services use 'ssh ip'. You will be asked pass and then you can run commands as if you were sitting at other box.
as you can see it's silly and complicated. using nfs, scp, ftp....
slack 1 (english) > slack 2 (english).
well silly analogy but you get the point. samba is for windows compatibilty.
Actually it's a great analogy. I'll take a look at that tutorial and see what I can dig up on Google. I just had no idea where to start and now I've got a little better idea of what I need .. I think.
Last edited by SaintsOfTheDiamond; 02-26-2006 at 09:52 AM.
I use NFS because I mount drives/tranfer loads of files.
Fairly easy to setup, and Slackware DOES support it straight out of the kernel.(Sorry, dom83. Slackware supports most everything. Recompiles for me are required to get RID of stuff I don't use....lol)
Just a quick update. I got my computers talking and I'm able to send files back and forth using scp following satinet's How-To in the other thread. I'm sure I'll be content with this setup for a while until the novelty/convenience wears off and I have time to look into NFS a little more. Thanks again!
Another option is using Konqueror (assuming you use kde) and typing "fish://remote_host" in the url window. You'll be prompted for your user name and password on the remote machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.