Visit Our UNIX and Linux User Community


installing Redhat Repository server


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat installing Redhat Repository server
# 1  
Old 05-03-2012
installing Redhat Repository server

Hello,

can someone please assist me userguide to setup simple Redhat yum Repository server with out using redhat satellite server. So all client will be pointing to this repository server to install rpm's.

Thanks,
# 2  
Old 05-04-2012
The free version of RHN Satellite that does not require paying for an entitlement from Red Hat is called Spacewalk, at Spacewalk: Free & Open Source Linux Systems Management. It's fully documented at Spacewalk: Free & Open Source Linux Systems Management. It's normally used to support Fedora channels, but you can upload RHEL distributions or any other RPMS to it and set up channels.

Without a valid Satellite entitlement, you won't be able to subscribe to Red Hat Network to get the ongoing additions/changes/errata for RHEL, but you can load static content.
# 3  
Old 05-04-2012
1. Copy the RPMs from the installation DVDs to the /var/www/html/el6/6/os directory
2.

The apache web server should be running; now, create a repository header by issuing the below command:


Code:
createrepo /var/www/html/el6/6/os

3.

Now, in the client machine, create a file /etc/yum.repos.d/el.repo to have it look like:


Code:
[Local-Repository]
name=Local Repository
baseurl=http://10.0.1.101/repo
enabled=1
gpgcheck=0

# 4  
Old 05-09-2012
make sure the repository file name in both server and client pc are same and try to do with ftp instead of http
such as
In client--
Code:
#vim  /etc/yum.repos.d/server1.repo
[Localrepo]
name=local repo
baseurl=ftp://192.168.0.254/pub/Packages
enable=1
gpgcheck=0
:wq!

In server---
Code:
vim /etc/yum.repos.d/server1.repo
[Localrepo]
name=local repo
baseurl=ftp:///var/ftp/pub/Packages
enable=1
gpgcheck=0
:wq!


Last edited by zaxxon; 05-09-2012 at 04:58 AM.. Reason: code tags

Previous Thread | Next Thread
Test Your Knowledge in Computers #206
Difficulty: Easy
Exterior Gateway Protocol (EGP) is a modern, widely used, routing protocol.
True or False?

10 More Discussions You Might Find Interesting

1. Proxy Server

RedHat Satellite server - Setting up HP Repository

Hi all, We have been using Satellite to patch our RedHat servers for a while but up until recently these have only been virtual machines. Now we have a requirement to install a few physicals and I am trying to setup a sync a custom channel for the HP reository. Our setup is that the... (2 Replies)
Discussion started by: wayned
2 Replies

2. Red Hat

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.

Most of my commands are returning this error on RHEL 6 64 bit: Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix: # rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm 1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies

3. UNIX for Advanced & Expert Users

Trying to figure out the CVS repository server.

We have an issue where we are able to check out files from unix however not from windows. On Unix I have the cvs host set to /home/group/CVSROOT but when I try and access the folder from windows I get an exception that the server refuses connection. On unix the CVSROOT is a filer and not the... (0 Replies)
Discussion started by: jjohnson
0 Replies

4. Red Hat

Yum repository linking to ftp site of Redhat

I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has - baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo. I hope, my question is clear that is there a... (5 Replies)
Discussion started by: RHCE
5 Replies

5. Red Hat

Installing X-manager in redhat 5.3

Dear all, I want to install X-manager in my linux 5.3 server so that i can access it from any windows computer. Can any one give me download link to x-manager for linux and steps to install the same in my linux server. Thanks and Regards Monoj Das (2 Replies)
Discussion started by: monojcool
2 Replies

6. UNIX for Dummies Questions & Answers

Access of Microsoft Team Foundation Server (TFS) repository from Unix Server

Hello, Some of our application team uses Microsoft Team Foundation server (TFS) reposity tool for their .NET projects , I would like to access it form Unix/Linux machine. Please let me know how can access the TFS from unix. Thanks (0 Replies)
Discussion started by: posix
0 Replies

7. UNIX for Advanced & Expert Users

CVS: move part of repository (branch) to SVN server

Hi all, We have CVS server running for few years with absolutely no problems. Because of conditions not depending on me, I'm forced to move some part of our repository to another server (SVN). I need to move ONLY one branch from CVS server to SVN server. The branch must be moved with all... (7 Replies)
Discussion started by: +Yan
7 Replies

8. Red Hat

Help installing Oracle 9i/10g on RedHat?

If anybody can help would be greatly appreciated... I get the same error with Oracle 9i & 10g when installing on Red Hat Fedora 4, it's java related... Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-03-16_01-09PM/jre/lib/i386/libawt.so: connat restore segment... (0 Replies)
Discussion started by: Joncamp
0 Replies

9. UNIX for Dummies Questions & Answers

Installing Redhat, Help! =(

Hello everyone, I want to host a mud and I found the cheapest way to do this was to install Linux on my computer and use it as the server. I downloaded both of the ISO images, it took 16 hours but i did it. But, I have no CD burner. I read that I could make a boot diskette, but how do i get... (3 Replies)
Discussion started by: Frax
3 Replies

10. UNIX for Dummies Questions & Answers

Installing RedHat Linux 7

Hey everybody. Its been awhile since I last posted but in short I am now in posession of RedHat Linux 7.0 which I got from a book called the RedHat 7 Bible. As this is not an official distribution I cannot get product support from RedHat so I decided to try here. I have three computers. I... (2 Replies)
Discussion started by: TheGoof
2 Replies

Featured Tech Videos