LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configure YUM (https://www.linuxquestions.org/questions/linux-newbie-8/configure-yum-765725/)

harishk 10-31-2009 01:18 AM

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

vinaytp 10-31-2009 01:30 AM

Quote:

Originally Posted by harishk (Post 3738825)
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 !!!

yogeshbabar420 10-31-2009 06:10 AM

configuring the yum
 
Quote:

Originally Posted by harishk (Post 3738825)
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

harishk 11-02-2009 10:00 PM

Java MySql
 
how java an Mysql to get worked with fedora 10.what are the commands....hav to install anyother packages for this?

linuxlover.chaitanya 11-02-2009 11:36 PM

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.

yogeshbabar420 11-03-2009 03:22 AM

java and mysql on fedora 10
 
Quote:

Originally Posted by harishk (Post 3742085)
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.

linuxlover.chaitanya 11-03-2009 05:05 AM

Quote:

Originally Posted by yogeshbabar420 (Post 3742328)

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.

yogeshbabar420 11-04-2009 03:34 AM

sorry
 
Quote:

Originally Posted by linuxlover.chaitanya (Post 3742408)
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.

linuxlover.chaitanya 11-04-2009 04:18 AM

Quote:

Originally Posted by yogeshbabar420 (Post 3743890)
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.


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