LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-18-2013, 01:42 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Rep: Reputation: 37
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?
 
Old 10-18-2013, 01:53 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,760

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by rjo98 View Post
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.
 
Old 10-18-2013, 02:01 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
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
 
Old 10-18-2013, 02:16 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,760

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by rjo98 View Post
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.
 
Old 10-18-2013, 02:20 PM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
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.
 
Old 10-18-2013, 03:53 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,555

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
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 $$$
 
1 members found this post helpful.
Old 10-20-2013, 09:13 AM   #7
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat
Posts: 145

Rep: Reputation: 5
You can unregister one of other server, and register your server instead.
 
Old 10-21-2013, 09:18 AM   #8
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
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.
 
Old 10-21-2013, 10:39 AM   #9
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,760

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by rjo98 View Post
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/
 
Old 10-21-2013, 01:07 PM   #10
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
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.
 
Old 10-21-2013, 04:10 PM   #11
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,760

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by rjo98 View Post
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.
 
Old 10-21-2013, 04:20 PM   #12
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
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.
 
Old 10-23-2013, 06:02 AM   #13
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
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.
 
1 members found this post helpful.
Old 10-23-2013, 08:17 AM   #14
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
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.
 
Old 10-23-2013, 01:17 PM   #15
manoj_hanse
LQ Newbie
 
Registered: Mar 2008
Posts: 20

Rep: Reputation: 0
This may work:

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this system is not registerd with RHN , RHN support will be disable AbidDhanaiser Linux - Newbie 6 05-29-2013 12:25 AM
Cannot install the samba package...it says you ain't registered to RHN RishikMani Linux - Newbie 9 06-16-2012 05:08 AM
RHN Satellite or RHN Classic support will be disabled. danndp Red Hat 1 05-27-2011 07:20 AM
[SOLVED] RHN Satellite or RHN Classic support will be disabled. danndp Linux - Newbie 3 05-27-2011 06:04 AM
RHN account overview shows 1 sub available and RHN update install can't find mbennettinvail Red Hat 6 02-08-2010 07:34 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration