Okay, now you may think I am a bit of a linux newbie, and in ways I am. I've been a Windows guy for a few years, but I like Linux. I have this redhat box that I want to replace my NT box with but I need samba 2.2.2 in order for my XP and W2K machines to join its domain. I downloaded 2.2.2. I gunzipped it. I did the tar xvf filename.tar It put all the files somewhere. Now what? And, do I have to uninstall 2.2.1a before I install 2.2.2? Be easy on me, I'm just an english teacher. jim English Teacher Montpelier School
James: No problem.. All you need to do is follow the directions in the source download or off the web site. www.samba.org (I assume this is where you got the source from anyway). Yes, you should uninstall the earlier rpm version (if that's what it is) - rpm -e and it will be gone. This will keep you from mucking about with what version of smbd or nmbd is running and from what directory..... Try ./configure --help to see the options available to you - use what is appropriate for your environment. Them make and make install. HTH James ----- Original Message ----- From: "James Bear" <james.s.bear@sendit.nodak.edu> To: <samba@lists.samba.org> Sent: Friday, January 11, 2002 9:20 AM Subject: samba 2.2.2 install> Okay, now you may think I am a bit of a linux newbie, and in ways I am. > I've been a Windows guy for a few years, but I like Linux. > > I have this redhat box that I want to replace my NT box with but I need > samba 2.2.2 in order for my XP and W2K machines to join its domain. > > I downloaded 2.2.2. I gunzipped it. I did the tar xvf filename.tar > > It put all the files somewhere. > > Now what? > > And, do I have to uninstall 2.2.1a before I install 2.2.2? > > Be easy on me, I'm just an english teacher. > jim > English Teacher > Montpelier School > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
On Fri, 11 Jan 2002, James Bear wrote:> I downloaded 2.2.2. I gunzipped it. I did the tar xvf filename.tar > > It put all the files somewhere. > > Now what? > > And, do I have to uninstall 2.2.1a before I install 2.2.2?The easiest way is to just get an updated rpm from RedHat. Look for the "rawhide" directory on your nearest RedHat ftp mirror. You can get the source rpm (samba-2.2.2-8.src.rpm) and compile it yourself. Something like this: # rpm -i samba-2.2.2-8.src.rpm # cd /usr/src/redhat/SPECS # rpm -bb samba.spec # cd ../RPMS/i386 # rpm -Uhv samba*.rpm Or just download the precompiled i386 binaries from the same ftp and skip the first 4 steps. -U is update, and that replaces your current samba version, so you don't need to explicitly uninstall. If you still want to compile yourself from the tar.gz that is not very difficult, although the RedHat system will mostly think that you don't have samba installed. You don't have to uninstall when building yourself, but it helps avoid conflicts. So uninstall *all* samba rpms, not just the one named samba (ie all 3 of samba, samba-client, samba-common). The installation instructions are hidden in the docs directory. docs/htmldocs/UNIX_INSTALL.html (?) And you will probably want to read at least ENCRYPTION.html in the same dir. [I think samba should have followed a GNU practise of using plaintext README and INSTALL files in the root of the distribution. If nothing else to point people to where the docs are.] Following the instructions will give you a samba installed as /usr/local/samba (unless you specify otherwise) and you may have to play with your PATH or create symlinks to make your shell find the commands. /Urban
Okay. I think I did the install properly. I did a make and a make install. It looked like it put all the right files in the right places. And then, I accessed it through swat and it still says we have version 2.2.1a. Eh? Well, just for fun, I did a revert make and it showed me the files it restored. The only thing that I can see that happened either way is now nmbd won't start. It doesn't matter because I need 2.2.2 to be the samba working. I am guessing I should have uninstalled samba before I installed 2.2.2, but you know...and now I don't want to uninstall it because it's all I got. Anyway, I would appreciate some help on this. There was some advice given on how to find an rpm on the rawhide.redhat ftp site. If it's there, it's tough to find. I've got my box currently searching for it and we'll see, once we find it, how that works thanks jim jim English Teacher Montpelier School