LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is YUM Server (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-yum-server-800288/)

pinga123 04-06-2010 03:06 AM

What is YUM Server
 
I want to install Yum Server.However while going through the initial setup guide I have found some things to be very difficult to understand.

I m giving you the lines which i found hard to understand.
Request you to help me understanding them.

Quote:

Yum Repository Setup

This document explains how to create local yum repositories and configure up2date and yum to install and update packages from them.
Server Setup
Prerequisites:

* A machine running Enterprise Linux 4 or Enterprise Linux 5, for i386 or x86_64
* A valid CSI
What IS CSI?(Is it a special kind of license?)

Quote:

The steps below describe how to download latest packages from Unbreakable Linux Network and make them available through a local yum server. i386, x86_64, and ia64 repositories can be created and hosted on a single machine.
What do you mean by unbreakable linux?
What do you mean by i386, x86_64, and ia64 repositories ?

Quote:

1. Register the machine on the Unbreakable Linux Network.
1. Import the RPM GPG key

rpm --import /usr/share/rhn/RPM-GPG-KEY
What is RPM GPG key?

Quote:

2. Run up2date in text mode.

up2date-nox --register

3. Register the machine. Enter username, password, and a valid CSI.
Where would i find username and password ?

grail 04-06-2010 03:10 AM

Did you search anywhere for this information:

http://www.lmgtfy.com/?q=yum+server

pinga123 04-07-2010 06:48 AM

I have googled it and found few guides but i m still confused about some aspects ?There fore posting it in linux for dummy section.

kevmcool 04-07-2010 07:00 AM

hey friend
 
if you want to use yum to get packages of your dvd
what i do is
edit yum.conf and add at the bottom

[redhat.repo]
name=redhat.repo
baseurl=file:///media # locally mounted cd on /media OR
baseurl=file:///some/dir # if you want to copy all the packages to /some/dir
gpgcheck=0
enabled=1

turn off gpg
gpgcheck=0

pixellany 04-07-2010 07:32 AM

pinga;
Your description sounds like you are using RedHat Enterprise Linux (RHEL). Things like "CSI", username, and password probably relate to your RedHat subscription. If you do not have a paid subscription to RHEL, then you will probably be better off with something like CentOS (or some other Linux entirely.)

I missed **why** you want to have a YUM Server.....

salasi 04-07-2010 06:57 PM

Quote:

Originally Posted by pinga123 (Post 3925873)
What do you mean by unbreakable linux?

What do I mean? I haven't used the phrase. Unbreakable Linux is oracle's name for their version of RHEL.

Quote:

i386, x86_64, and ia64 repositories ?
Those are repositories ( = collections of things, in this case software packages ) of software for different software architectures. I'd bet, if you really tried, you could guess which one was compiled for i386 which for x86_64 and which for ia64. (hint: most people won't want the ia64 one; it is for the relatively uncommon itanium arch, where the other two are for variants of the more common x86 arch.)

You seem to be using some commercial version of Linux with paid-for support. Is there a good reason why your first line of attack wasn't to consult the people who you are presumably paying for support?

Quote:

Where would i find username and password ?
You, or the sys admin, if that's not you, will have given those initially. You really ought to remember them, as you won't be able to look up the password anywhere.

Quote:

There fore posting it in linux for dummy section.
This is the newbie sub-forum; it would be ideal if newbies aren't dummies, and not all are, by any means.

pinga123 04-08-2010 03:03 AM

My version of linux :OEM 5.4 64 bit.

Quote:

[root@YUMSERVER ~]# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
Release: 5.4
Codename: Carthage
You have mail in /var/spool/mail/root
Now whenever i fire a command up2date it give me following notification.
Quote:

[root@YUMSERVER ~]# up2date
Your GPG keyring does not contain the Enterprise Linux public key.
Without it, you will be unable to verify that packages Update Agent downloads
are securely signed on the Unbreakable Linux Network.

Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:
rpm --import /usr/share/rhn/RPM-GPG-KEY
How would i obtain Enterprise Linux public key.

brucehinrichs 04-08-2010 12:33 PM

Quote:

How would i obtain Enterprise Linux public key.
Your answer is the two lines above your question:
Quote:

To install the key, run the following as root:
rpm --import /usr/share/rhn/RPM-GPG-KEY
Just run this command as root, you're fine if your subscription is up to date...

pinga123 04-08-2010 11:11 PM

Quote:

Originally Posted by brucehinrichs (Post 3928784)
Your answer is the two lines above your question:


Just run this command as root, you're fine if your subscription is up to date...

I run the above command .
But whenever i run up2date-nox --register command it asks me username password and CSI number .
Now how do i go about it?

brucehinrichs 04-08-2010 11:15 PM

Pay for a subscription.

pinga123 04-09-2010 12:13 AM

Quote:

Originally Posted by brucehinrichs (Post 3929410)
Pay for a subscription.

If the OS is free then why do they ask for a subscription?

salasi 04-10-2010 03:59 AM

Quote:

Originally Posted by pinga123 (Post 3929461)
If the OS is free then why do they ask for a subscription?

Perhaps a better question is why, if the problem all along has been that you didn't choose to pay for a subscription, did you select a distribution that is only available on a basis that you wouldn't agree to?

To answer your question, you get a lot more than an OS. And because, to some people this represents value, they are prepared to pay. It is becoming increasingly clear that you are either not one of them, or don't want to be one of them.

Another answer is 'because they can' or maybe 'because they stay in business that way' and I don't blame them for that, but then I don't particularly care about being one of their customers.

kusanagiyang 04-10-2010 08:45 AM

this is not going to help period
 
Quote:

Originally Posted by salasi (Post 3930740)
Perhaps a better question is why, if the problem all along has been that you didn't choose to pay for a subscription, did you select a distribution that is only available on a basis that you wouldn't agree to?

To answer your question, you get a lot more than an OS. And because, to some people this represents value, they are prepared to pay. It is becoming increasingly clear that you are either not one of them, or don't want to be one of them.

Another answer is 'because they can' or maybe 'because they stay in business that way' and I don't blame them for that, but then I don't particularly care about being one of their customers.

sorry, guys. this is just absolutely ... cute, if u may
tickles my funny bone :)

pixellany 04-10-2010 08:57 AM

Quote:

Originally Posted by pinga123 (Post 3929461)
If the OS is free then why do they ask for a subscription?

Linux distros are typically OpenSource (there are some that include some proprietary SW), but OpenSource has nothing to do with charging money.

RedHat Enterprise is a paid distribution. It is set up for institutional users who want support from the vendor. If you do not want to pay for that support, you do have options: You can get a free "evaluation" copy or you can use CentOS.

But don't expect to use all of the RedHat-supported features without paying.


All times are GMT -5. The time now is 04:12 PM.