LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2015, 11:31 AM   #1
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Rep: Reputation: Disabled
Repo configuration


Hi All,

PFA

Tried below steps by seeing youtube videos and forums.

After peforming all steps for repo configuration. Repolist is not showing the total no of pkgs. Here is short snap of steps i followed.

1. installed below pkgs from CD path
vsftpd-2.2.2-6.el6.x86_64.rpm
deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
createrepo-0.9.8-4.el6.noarch.rpm
2. mkdir /var/ftp/pub/server
3. copied Packages and this file 1a7fc54d30d0d44222742c63069ab0126afef9f160931cc15e564dbe6414f268-comps-rhel6-Server.xml to /var/ftp/pub/server
4. mv 1a7fc54d30d0d44222742c63069ab0126afef9f160931cc15e564dbe6414f268-comps-rhel6-Server.xml comps.xml
5. createrepo -g comps.xml -v /var/ftp/pub/server
6. configured repo file as below.
[root@localhost repodata]# cat /etc/yum.repos.d/server.repo
[server]
name=rhel6
baseurl=file:///var/ftp/pub/server
enabled=1
gpgcheck=0

7 . I dont still y am not getting the final output.

8. Even though i ve not registered with RHN, for people its working even its not registered with RHN.

Seeking help for the final output asap.

Quick response on this, will be very helpful.

Thanks All.
Attached Thumbnails
Click image for larger version

Name:	repo-error.png
Views:	37
Size:	155.5 KB
ID:	18632  

Last edited by arun natarajan; 06-07-2015 at 11:32 AM.
 
Old 06-07-2015, 04:54 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Not sure why you have installed vsftpd because you are not at all using it anyway. In your baseurl you have given the local path and vsftpd installation has nothing to do with it.

Have no idea on what these steps do:

Quote:
3. copied Packages and this file 1a7fc54d30d0d44222742c63069ab0126afef9f160931cc15e564dbe6414f268-comps-rhel6-Server.xml to /var/ftp/pub/server
4. mv 1a7fc54d30d0d44222742c63069ab0126afef9f160931cc15e564dbe6414f268-comps-rhel6-Server.xml comps.xml
5. createrepo -g comps.xml -v /var/ftp/pub/server
A simple approach would be:

1. Install following packages:

deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
createrepo-0.9.8-4.el6.noarch.rpm

2. mkdir /var/myrepo
3. Copy all the packages which you want to be in your repo to: /var/myrepo
4. Run the following command:
Code:
createrepo /var/myrepo
5. vi /etc/yum.repos.d/myrepo.repo and put the following contents:
Code:
[myrepo]
name=myrepo
baseurl=file:///var/myrepo
enabled=1
gpgcheck=0
6. Once done with step 5 run the following commands:
Code:
yum clean all
yum repolist
If this is only for local repository then the above should do. If you want to make this server available as repository server for other servers in the network then you have to configure httpd or vsftpd accordingly.
 
Old 06-07-2015, 05:00 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,673

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
Quote:
Even though i ve not registered with RHN, for people its working even its not registered with RHN.
there is your problem

and unless you BUY the required support contract

one that is mostly UNSOLVABLE

without the RHN updates
the thirdparty rpms will be incompatible

and you WILL kill your install

from your other post on "tree"
"tree cmd is not working"
you used rpm on a unregistered install

mixing RANDOM rpm's from random sources is the FASTEST!!!! way to "FUBAR" your install




PAY for RHEL 6.6 or install the FREE clone
CentOS 7.0 or the older 6.6



if you are ONLY installing software off the install dvd in a OFFLINE !!! install

there is no need to make a repo

just use the dvd

Last edited by John VV; 06-07-2015 at 05:07 PM.
 
1 members found this post helpful.
Old 06-07-2015, 05:28 PM   #4
joec@home
Member
 
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
Quote:
Originally Posted by John VV View Post
PAY for RHEL 6.6 or install the FREE clone
CentOS 7.0 or the older 6.6
Not to mention the legal ramifications of potentially stealing the security key off another RHEL server during steps 3 and 4.
 
Old 06-12-2015, 03:18 AM   #5
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Original Poster
Rep: Reputation: Disabled
Ty T3RM1NVT0R. It fixed now.
 
  


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
Repo file configuration for rpmfind.net's repository psp.kgl85 Linux - Newbie 1 02-21-2015 11:56 AM
mrepo configuration to mirror suse repo's rocker65 Linux - General 1 09-13-2013 09:22 AM
[SOLVED] Trying to split a large SVN repo into one git repo. Ian John Locke II Linux - Software 1 01-30-2012 09:19 AM
Best way to automate copying of Git repo to subversion repo? jceipek Linux - Server 0 03-15-2011 03:42 AM
repo configuration in Ubuntu kh.0733 Ubuntu 4 10-08-2010 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09: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
Open Source Consulting | Domain Registration