LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 10-31-2009, 02:18 AM   #1
harishk
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
Red face Configure YUM


HI,
Cud u tel me how to configure YUM in fedora 10....am not able to install softwares...nd plz tel me hw to configure data cards using mvdial
thank U
 
Old 10-31-2009, 02:30 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by harishk View Post
HI,
Cud u tel me how to configure YUM in fedora 10....am not able to install softwares...nd plz tel me hw to configure data cards using mvdial
thank U
Hi harishk

Welcome to LQ....

Google is your friend...
To configure local yum repositary

Cheers !!!
 
Old 10-31-2009, 07:10 AM   #3
yogeshbabar420
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 1
Smile configuring the yum

Quote:
Originally Posted by harishk View Post
HI,
Cud u tel me how to configure YUM in fedora 10....am not able to install softwares...nd plz tel me hw to configure data cards using mvdial
thank U
hello friend follow the steps:

1) copy the all the pacakges any place like /usr/packages
2) #rpm -ivh /usr/packages/createrepo<version>.rpm
3) createrepo -v /usr/Packages
4) vi /etc/yum.repos.d/server1.repo (create this file) and in that file write the following things as it is:

[Server]
name=Server folder
baseurl=file:///usr/packages
gpgcheck=0
enabled=1

5) #yum clean all


Regards,
yogesh babar
 
Old 11-02-2009, 11:00 PM   #4
harishk
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Question Java MySql

how java an Mysql to get worked with fedora 10.what are the commands....hav to install anyother packages for this?
 
Old 11-03-2009, 12:36 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can use YUM to install packages. Use --list command to list out the packages provided by YUM. Java should most probably installed.
You can install mysql using yum install mysql-server.
 
Old 11-03-2009, 04:22 AM   #6
yogeshbabar420
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 1
Thumbs up java and mysql on fedora 10

Quote:
Originally Posted by harishk View Post
how java an Mysql to get worked with fedora 10.what are the commands....hav to install anyother packages for this?


hello hrishk

do 1 thing first configure the same steps that i provided to you for yum configuration for Red hat. just 1 change is there in fedora 10 u will find all that packages under the packages folder.
1) copy that folder at anywhere suppose at /usr/Packages
2) now use ur Red hat Enterprise DVD and mount it at /media
3) now do #rpm -ivh /media/Rhel<full dir name>/Server /createrepo<versionname>.rpm
4) #createrepo -v /usr/Packages
5) Edit the everyfile which is present at /etc/yum.repos.d/ directory
and remember edit all the files with extension .repo
as baseurl=file:///usr/Packages/
make this entry in every .repo file wherever u will find baseurl.
6) # yum clean all
7) # yum install java*
8) # yum install mysql*
9) # service mysqld restart
10) now u will get both java also and mysql also at fedora 10.

Hrishk, i will suggest u to instead of Fedora10 go for RedHat enterprise.
 
Old 11-03-2009, 06:05 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by yogeshbabar420 View Post

Hrishk, i will suggest u to instead of Fedora10 go for RedHat enterprise.
Well, not a very good advice. RHEL is a paid distribution and unless you pay for the subscription you do not get updates and upgrades. Instead, CentOS can be used. But Fedora is not bad if you do not mind upgrading every 6 months though updates are provided for 18months.
 
Old 11-04-2009, 04:34 AM   #8
yogeshbabar420
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 1
Smile sorry

Quote:
Originally Posted by linuxlover.chaitanya View Post
Well, not a very good advice. RHEL is a paid distribution and unless you pay for the subscription you do not get updates and upgrades. Instead, CentOS can be used. But Fedora is not bad if you do not mind upgrading every 6 months though updates are provided for 18months.

hello sir,

i didn't said fedora is bad or Red hat enterprise is best. I just mentioned my advice for his problem. That yum can work very good with RHEL. and regarding the paid version if u just skip the Registration number(CD Key) while installation they will allow u to use all the features what they have in paid version. just they will not provide any support or updates or RHN.
And anyhow Fedora is also best.
 
Old 11-04-2009, 05:18 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by yogeshbabar420 View Post
hello sir,

i didn't said fedora is bad or Red hat enterprise is best. I just mentioned my advice for his problem. That yum can work very good with RHEL. and regarding the paid version if u just skip the Registration number(CD Key) while installation they will allow u to use all the features what they have in paid version. just they will not provide any support or updates or RHN.
And anyhow Fedora is also best.
Well if you skip the registration you do not even get to use YUM. YUM is the default package manager for RHEL now and if you do not register with RHN all the features are disabled. updates are one of them. You need to configure yum to use other repositories than what are default. They do not work unless registered with RH. CentOS repositories can be used with RHEL. So why use RHEL when not paying. Better to use CentOS rather and get all the updates.
 
  


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
how to configure yum joeatchen Linux - Newbie 10 12-05-2009 10:40 PM
Configure yum in RHEL 5.1 a24uall Linux - Newbie 7 05-21-2009 08:45 AM
how to configure yum in rhl 5 shailesh_jadhav Linux - Newbie 2 12-04-2008 04:37 AM
Need To Configure YUM on RH Enter.3 ALInux Red Hat 5 07-21-2007 09:08 PM


All times are GMT -5. The time now is 02:43 PM.

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