Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to install Samba on a CentOS machine that has no internet connection, and to which I can only access remotely through an intermediary Windows machine. I have no experience with CentOS so I asked about how to set up Samba, and I was advised to use yum to download and install it automatically. However, since the machine has no internet access, yum doesn't seem to work. I imagine I will need to download Samba manually and then install it myself on the machine.

I would need step by step instructions on how to do this. In particular:

  1. Where do I get the Samba setup package from?
  2. Once I get the Samba package on to the machine, how do I install it?

Many thanks indeed.

share|improve this question
up vote 0 down vote accepted

The RPMs you want are: samba, samba-client and samba-common. If you want a web interface to samba, you will want the samba-swat RPM. You can find these at any number of Centos repo sites and download them via ftp, wget or whatever. Then you can create a local repository on your Centos box (see man createrepo) and install them using yum.

share|improve this answer
Does anybody just "rpm -I package1.rpm package2.rpm ..." anymore? – Evan Anderson Dec 4 '09 at 4:47
Don't think so. – fpmurphy1 Dec 6 '09 at 4:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.