LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-06-2010, 04:06 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 37
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 ?

Last edited by pinga123; 04-07-2010 at 07:47 AM.
 
Old 04-06-2010, 04:10 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,565

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
Did you search anywhere for this information:

http://www.lmgtfy.com/?q=yum+server
 
Old 04-07-2010, 07:48 AM   #3
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 37
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.
 
Old 04-07-2010, 08:00 AM   #4
kevmcool
Member
 
Registered: Dec 2009
Location: London
Distribution: CentOS
Posts: 36

Rep: Reputation: 15
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
 
Old 04-07-2010, 08:32 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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.....
 
Old 04-07-2010, 07:57 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,064

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Quote:
Originally Posted by pinga123 View Post
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.

Last edited by salasi; 04-07-2010 at 08:04 PM. Reason: dummy error
 
1 members found this post helpful.
Old 04-08-2010, 04:03 AM   #7
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 37
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.
 
Old 04-08-2010, 01:33 PM   #8
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
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...
 
Old 04-09-2010, 12:11 AM   #9
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by brucehinrichs View Post
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?
 
Old 04-09-2010, 12:15 AM   #10
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
Pay for a subscription.
 
Old 04-09-2010, 01:13 AM   #11
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by brucehinrichs View Post
Pay for a subscription.
If the OS is free then why do they ask for a subscription?
 
Old 04-10-2010, 04:59 AM   #12
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,064

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Quote:
Originally Posted by pinga123 View Post
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.
 
Old 04-10-2010, 09:45 AM   #13
kusanagiyang
LQ Newbie
 
Registered: Nov 2009
Posts: 25

Rep: Reputation: 1
Smile this is not going to help period

Quote:
Originally Posted by salasi View Post
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
 
Old 04-10-2010, 09:57 AM   #14
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by pinga123 View Post
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.
 
  


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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
Yum client package/updates installation and updates through local Yum Server gautamnarayan Linux - Server 1 03-11-2010 02:51 AM
Yum server santanu419 Linux - Server 1 05-11-2008 05:48 PM
X server not working after yum update & font server problems snow93 Linux - Software 1 08-02-2006 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:28 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