LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-27-2008, 02:02 PM   #1
sravanth.svk
LQ Newbie
 
Registered: May 2006
Posts: 21

Rep: Reputation: 0
creterepo and httpd instalation in RHEL 5


HI all,
I have installed RHEL 5 version on my laptop which we get from the training partners.
after installation i tried installing http packages using rpm it gave me dependency errors .
then one of my fried suggested to install createrepo. and then use yum
and as i am installing on the local system id did not understand the reason behind creating a repository.
some one has shown me the process of using yum and the repo using the pre available script.but i would like to know step by step
please advice.

One more thing i don't understand is that y the option --aid is not installing the needed packeges.

2) if some on can give me the parameters to be passed at the boot prompt at the time of installation to detect the sata hard disk in RHEL4i will be very happy as i think i have no problem using RHEL4
my laptop is dell latitude is d630.


thanks in advance
sravanth.svk
 
Old 11-01-2008, 05:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,304
Blog Entries: 54

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
Quote:
Originally Posted by sravanth.svk View Post
after installation i tried installing http packages using rpm it gave me dependency errors .
Best to post actual error messages, not a description of the error.


Quote:
Originally Posted by sravanth.svk View Post
id did not understand the reason behind creating a repository.
Having all packges locally means resolution remains local. Comes in handy when you don't have 'net access or have your own repo of software.


Quote:
Originally Posted by sravanth.svk View Post
some one has shown me the process of using yum and the repo using the pre available script.but i would like to know step by step please advice.
Code:
# Copy directory structure
cp -r /source_dir/redhat/RPMS/ /target_dir
# Create cache dir
mkdir /target_dir/redhat/RPMS/cache
createrepo -u /target_dir/redhat/RPMS/ -o /target_dir/redhat/RPMS -v \
 -c /target_dir/redhat/RPMS/cache /target_dir/redhat/RPMS
# Then set access rights where necessary
# Create Yum local repo config:
echo "[localrepo]
name=localrepo
baseurl=file:///target_dir/redhat/RPMS/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta" >> /etc/yum.repos.d/localrepo.repo
# Then use 'yum --disablerepo=\* --enablerepo=localrepo [command]'
That should do it.


Quote:
Originally Posted by sravanth.svk View Post
One more thing i don't understand is that y the option --aid is not installing the needed packeges.
Come again?


Quote:
Originally Posted by sravanth.svk View Post
if some on can give me the parameters to be passed at the boot prompt at the time of installation to detect the sata hard disk in RHEL4i will be very happy as i think i have no problem using RHEL4
SATA detection should be automagical if hardware is supported, SATA is enabled in the BIOS settings and the kernel version has drivers?
 
Old 11-08-2008, 10:01 PM   #3
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 475

Rep: Reputation: 73
Quote:
Originally Posted by sravanth.svk View Post
One more thing i don't understand is that y the option --aid is not installing the needed packeges.
I believe you are referring to the rpm "--aid" option which will attempt to resolve dependencies using packages in current directory or locations specified in /etc/sysconfig/up2date/something-or-other (been a while and no RHEL4 system for me to check for accuracy at the moment). I've only ever used it in RHEL4 and it was a band--aid to get something done quickly because I needed it done then.

Quote:
Originally Posted by sravanth.svk View Post
2) if some on can give me the parameters to be passed at the boot prompt at the time of installation to detect the sata hard disk in RHEL4i will be very happy as i think i have no problem using RHEL4
my laptop is dell latitude is d630.
you may try passing the 'all-generic-ide' parameter from the RHEL4 installer boot: prompt.
 
  


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
Software Instalation In Rhel 5.0 parvezalam Linux - Newbie 1 06-15-2008 08:33 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Instalation of RHEL 4 on windows as duel boot gaff_in Red Hat 1 11-01-2007 03:34 AM
regaring tata indicom broadband instalation on RHEL orCentOS arnabc79@gmail.com Linux - Hardware 1 09-05-2007 02:25 AM


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

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