LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2008, 07:14 AM   #1
prasenjitbehera
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Red face yum installation in a single machine


hi buddy

i hv installed RHEL-5 in my home computer.i want to install rpm through YUM.i have already copied all the rpms from RHEL DVD from Server dir and paste it in to /var/ftp/Pub/Server.then i hv created /etc/yum.repos.d/server.repo and in that i have writen follwing.

[Server]
name=Server1
baseurl=ftp://station1.example.com/var/ftp/pub/Server
gpgcheck=0
enable=1

here station1.example.com is my sysem localhost name

after that i hv done yum clean all and yum update both are workin fine but when i want to install it will give error no -4
so please help me out so that i can install rpm through yum

regards
Prasenjit Behera
 
Old 03-21-2008, 04:58 AM   #2
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
why ftp?

You have installed all the RPM files on the local machine, into the public ftp server.

Do you plan to make your YUM repository available on the Internet?
Is your FTP server running properly?

If it's only for yourself, then you could set the repository path as a local path instead of the current 'ftp://' (I never tried that, though). Or you could simply use RPM directly - in a certain way that's what YUM does. Maybe something like rpm -Uvh ./*.rpm within your /var/ftp/Pub/Server directory.


Hope this helps,
Regards,
SIMP

Fedora Development

Last edited by simplicissimus; 04-02-2008 at 05:50 AM.
 
  


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
running more than one login on a single machine Four Linux - Newbie 1 03-31-2007 11:46 PM
Transparent proxy on single machine SadPenguin Linux - Networking 3 01-30-2007 04:11 AM
Resource sharing b/w two OS, Single Machine ank_ankur Linux - General 3 08-02-2006 10:15 AM
configuring two NIC's on single machine b0nd Slackware 4 10-06-2005 02:51 PM
transparent proxy on a single machine kscott121 Linux - Networking 2 06-27-2004 09:37 PM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration