Solved

Installing Red Hat rpms manually

Posted on 2014-01-22
9
639 Views
Last Modified: 2014-01-22
I have a private Red Hat  network. A couple of rpms that I have tried to installed require dependencies to complete the install.  I do not have a Red Hat subscription.
It is it possible to use the Red Hat install CD as a yum repository to install the rpms and dependencies.  
If so, how?
0
Comment
Question by:gumball60
  • 2
  • 2
  • 2
  • +2
9 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 400 total points
ID: 39801814
Yes.

This is how you do it.  Your CD/DVD should already be mounted, is it?

What is the directory where it is mounted??
Suppose the above is /mnt/media
cd /mnt/media

Find the directory that contains the repodata folder
Suppose you have :
ls /mnt/media/Server/

And you get repodata as one of the folders.  Note it can be a little different, but you need to know the folder that contains repodata

Then configure the repo as follows:

cd /etc/yum.repos.d
vi iso.repo

Open in new window

In this file put:
[My ISO Repository]
baseurl=file:///mnt/media/Server
enabled=1

Open in new window

0
 
LVL 23

Expert Comment

by:savone
ID: 39801815
Why not just install CentOS and NOT break the law?
0
 

Author Comment

by:gumball60
ID: 39801834
Savonne...not breaking the law....The Red Hat software was purchased from Red Hat to be installed on network not accessible to the internet.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 31

Expert Comment

by:farzanj
ID: 39801840
IMHO, RedHat doesn't charge for their software.  They charge for their support.  If he already has RedHat software, not keeping the support active is not breaking any law.  Yes, CentOS is a much better option.
0
 
LVL 44

Expert Comment

by:Darr247
ID: 39801853
I concur
64-bit CentOS 6.5 install DVDs
http://isoredirect.centos.org/centos/6/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1to2.torrent

32-bit CentOS 6.5 install DVDs
http://isoredirect.centos.org/centos/6/isos/i386/CentOS-6.5-i386-bin-DVD1to2.torrent

If you'd rather put them on USB - http://wiki.centos.org/HowTos/InstallFromUSBkey
Note that for a standard server or desktop install, Anaconda does not prompt for disk 2.
0
 
LVL 23

Expert Comment

by:savone
ID: 39801900
I see two bad ideas...

1) A grey area in the law, that in my opinion applies here.

2) Running a insecure version of any OS is a bad idea.  It's even a worse idea when you have a perfectly good FREE option that offers no drawbacks verses your current situation.
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39801959
i've never heard of a red hat version designed for systems without internet access
in my years working with red hat systems, if you have a system that isn't registered with a valid subscription, it's a violation of the EULA (red hat representative made that clear to me before when the former engineering VP wanted to stop paying for it)

at any rate, when it comes to those packages, where did they come from?
if it was downloaded somewhere else and copied locally, then trying to get dependencies from the original media may not work because of conflicting versions if the download is looking for a specific version that is newer than the media

if the version is irrelevant then use yum and install directly from the media.  yum will try to install any dependencies.  trying to install with rpm won't do that and will crap out if something required isn't already there
0
 
LVL 44

Expert Comment

by:Darr247
ID: 39801981
There are currently over 850 of us sharing the 64-bit CentOS install DVDs via torrent, by the way.
0
 

Author Closing Comment

by:gumball60
ID: 39802044
Thanks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ubuntu not booting - How get past GRUB? 3 58
awk sed 8 68
Using Linux to replace Windows Server 2008 R2 for network drives 5 107
linux - yum package installation issue 2 64
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question