Solved

Installing Red Hat rpms manually

Posted on 2014-01-22
9
643 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 35

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix process listing into CSV format 3 87
Internal CA server 6 134
Granting root permissions to a user (in Debian Jessie) 17 83
grep command usage 10 32
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

751 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