LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to install Samba if not on RHN (https://www.linuxquestions.org/questions/linux-server-73/how-to-install-samba-if-not-on-rhn-4175481318/)

anon091 10-18-2013 01:42 PM

How to install Samba if not on RHN
 
Hi all. I have a question. We don't have all our servers active in the RHN (cost cutting), but it appears one of our server doesn't have samba installed which it needs. Usually I would just yum install samba, but it can't since the server isn't rhn_register'd. Does that mean we screwed ourselves and can't install samba onto this server now?

TB0ne 10-18-2013 01:53 PM

Quote:

Originally Posted by rjo98 (Post 5048208)
Hi all. I have a question. We don't have all our servers active in the RHN (cost cutting), but it appears one of our server doesn't have samba installed which it needs. Usually I would just yum install samba, but it can't since the server isn't rhn_register'd. Does that mean we screwed ourselves and can't install samba onto this server now?

No, you CAN install it...but it's going to be MUCH more difficult. Either download the package(s) from some unknown repository and install them manually..one at a time...including all their dependencies (and THEIR dependencies, etc., etc.). That will get it installed. After that, you will have to repeat this process for each and every update/security fix, since you WILL NOT get them automatically.

Or you can install from source...same steps, but just takes longer. This is why you need to pay for Red Hat, or load CentOS.

anon091 10-18-2013 02:01 PM

Yeah, really regretting we had to cut back on the RHEL count that gave updates through yum, but what can you do sometimes. Guess i'll have to figure out how to do the manual install

TB0ne 10-18-2013 02:16 PM

Quote:

Originally Posted by rjo98 (Post 5048225)
Yeah, really regretting we had to cut back on the RHEL count that gave updates through yum, but what can you do sometimes. Guess i'll have to figure out how to do the manual install

What you can do is put your non-critical servers onto CentOS, which is 99.x% identical, but FREE. Keep your production units subscribed.

anon091 10-18-2013 02:20 PM

That was kinda my plan, but this one snuck up on me before I could get to doing that. I'll see if I can figure out the manual install or just hold off till I can reload a new server with Cent and move the stuff to it.

lleb 10-18-2013 03:53 PM

you may try setting up a spacewalk server.

http://spacewalk.redhat.com/

although RedHat has rolled it into their paid server, i believe SpaceWalk is still FOSS without a SLA from RH.

from what I understand of SpaceWalk you can download and keep a local cloan/mirror of your yum repository. then you can push the package to your server you have chosen to stop paying support for.

best and fastest way is to start paying for that license. RHEL service is very good and well worth the $$$

voleg 10-20-2013 09:13 AM

You can unregister one of other server, and register your server instead.

anon091 10-21-2013 09:18 AM

Thanks for the ideas guys. voleg, i'm not sure if that idea is on the up and up though.

I'm really having a hard time on finding how to manually install samba without the use of yum though.

TB0ne 10-21-2013 10:39 AM

Quote:

Originally Posted by rjo98 (Post 5049651)
Thanks for the ideas guys. voleg, i'm not sure if that idea is on the up and up though.

I'm really having a hard time on finding how to manually install samba without the use of yum though.

Really?? Putting in "how to install samba from source" into Google leads to plenty for me. Including detailed instructions on the Samba website:
http://www.samba.org/samba/docs/man/...n/install.html
http://www.samba.org/samba/docs/man/...compiling.html
http://www.samba.org/samba/download/

anon091 10-21-2013 01:07 PM

Guess I should have phrased my "really" statement better, but thanks for the links... I'll just close this thread as I can tell you're getting frustrated. Thanks for the help though.

TB0ne 10-21-2013 04:10 PM

Quote:

Originally Posted by rjo98 (Post 5049818)
Guess I should have phrased my "really" statement better, but thanks for the links... I'll just close this thread as I can tell you're getting frustrated. Thanks for the help though.

A BIT frustrated, yes. Your options haven't changed since you first posted. Either:
  • You have to register your server, and use yum to install
  • Download the RPM's (and ALL the dependencies) and install them manually.
  • Install CentOS and use yum to install
  • Download the source and compile per the instructions
The instructions for compiling are on the Samba source page, and were very easy to find.

anon091 10-21-2013 04:20 PM

Agree, options remain the same. Trying to get my head wrapped around them all has only slightly improved since my first post. I'll take it from here, just going to take me a while to fully understand it since I never manually did an install like this. Guess those 2 points were what I was trying to get at with my half worded statement.

I do appreciate all the help though pointing me in the right direction, which was what I needed, wasn't trying to upset you.

chrism01 10-23-2013 06:02 AM

Actually, if you've got the install media, setup a local repo https://code.google.com/p/iredmail/w...Yum_Repository.
Of course it won't be 100% up to date, but it'll be close enough (probably).

BTW, voleg's suggestion is do-able, its just a bit unwieldy, which is one of the reasons RH don't bother trying to tie a given subscription to a specific machine.
Sooner or later, people who do that regularly give up and either pay for RHEL or go Centos instead.

anon091 10-23-2013 08:17 AM

I do have the install media somewhere I believe, and those directions to setup a local repo look pretty easy, even for me haha. Maybe I should try that.

Good to know about vogel's suggestion. I had to cut back this year to save some money, so this was one of the servers we removed. Eventually the plan is to move it to CentOS as it's not production critical, but this snuck up on us before the time came for our server replacement project.

manoj_hanse 10-23-2013 01:17 PM

This may work:

http://www.linuxquestions.org/questi...r-rhel-644632/


All times are GMT -5. The time now is 04:15 PM.