Linux - NewbieThis 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.
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.
OK, I've got Debian (squeeze) installed on one box as a server and on my desktop as a dual boot with WinXP. I installed the LAMP package and CUPS, though they will need some tweaking.
My question is, I would now like to install SAMBA so I can share files between my desktop and the server (using the server as a desktop until I get a second desktop up). Do I install SAMBA on both desktop and server or just on one or the other?
It seems that many packages/apps don't really tell you which machine to install these programs on, the server or the desktop. Same goes for CUPS and others like PhpMyAdmin...
Samba is a server application, so it goes on whatever machine is acting as the server. The SMB client-side tools should already be included on the client OS.
As said above Samba is a server applications but you put it where it will fit the need most. Put it where you plan to maintain file storage for your windows/linux machines. It will probably be best to put it on Your LAMP Server.
As said above Samba is a server applications but you put it where it will fit the need most. Put it where you plan to maintain file storage for your windows/linux machines. It will probably be best to put it on Your LAMP Server.
Thanks, guys. Is there a rule of thumb about where apps are generally supposed to be installed? I figure usually on the desktop, right?
Thanks, guys. Is there a rule of thumb about where apps are generally supposed to be installed? I figure usually on the desktop, right?
If I have understood your question correctly, there is no such rule of thumb. Install apps where you want to use them. In the case of Samba, the directories you want to share are presumably on the server so that's where Samba has to be installed, to make them available over the network to the Samba client computers which see them as Windows shares (in the jargon: CIFS, previously known as SMB networked file systems).
EDIT: when your desktop is running Debian it would be better served by sharing the same directories that you are sharing by Samba by NFS. Samba is for Windows and Windows file systems do not integrate well with Linux systems -- file naming systems and permissions are different so there is inevitably a kludge when running Samba.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.