Yum repository configuration on Amazon EC2 instancehow do I install scripts like pg_lsclusters on a Amazon AWS Linux AMIPostgreSQL 9.0 and PHP on Amazon EC2FFMPEG Install on EC2 - Amazon Linuxrpm -Uvh & yum installUpdate PHP with yum on Amazon Linuxamazon ec2 instance gets timed out“yum update” error. How to handle this?Update Amazon EC2 Rightscale Centos for latest GLIBCUpgrading PostgreSQL on EC2 with minimum impact to existing configurationAWS EC2 (Amazon Linux 2018.03) ran instance yum update and now yum gives an error about NSS_3.34
Why do Ichisongas hate elephants and hippos?
How to stop co-workers from teasing me because I know Russian?
When did stoichiometry begin to be taught in U.S. high schools?
Reversing the direction of the arrow in gb4e
What word means to make something obsolete?
You look catfish vs You look like a catfish
Why does processed meat contain preservatives, while canned fish needs not?
Binary Numbers Magic Trick
When India mathematicians did know Euclid's Elements?
Why the difference in metal between 銀行 and お金?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
Pressure to defend the relevance of one's area of mathematics
Why do TACANs not have a symbol for compulsory reporting?
Unexpected email from Yorkshire Bank
Confusion about capacitors
What is the difference between `a[bc]d` (brackets) and `ab,cd` (braces)?
Pawn Sacrifice Justification
How to replace the "space symbol" (squat-u) in listings?
In gnome-terminal only 2 out of 3 zoom keys work
Is it possible to measure lightning discharges as Nikola Tesla?
How to creep the reader out with what seems like a normal person?
Was it really necessary for the Lunar Module to have 2 stages?
Single Colour Mastermind Problem
What does YCWCYODFTRFDTY mean?
Yum repository configuration on Amazon EC2 instance
how do I install scripts like pg_lsclusters on a Amazon AWS Linux AMIPostgreSQL 9.0 and PHP on Amazon EC2FFMPEG Install on EC2 - Amazon Linuxrpm -Uvh & yum installUpdate PHP with yum on Amazon Linuxamazon ec2 instance gets timed out“yum update” error. How to handle this?Update Amazon EC2 Rightscale Centos for latest GLIBCUpgrading PostgreSQL on EC2 with minimum impact to existing configurationAWS EC2 (Amazon Linux 2018.03) ran instance yum update and now yum gives an error about NSS_3.34
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm trying to install postgis on an Amazon EC2 instance, the instance is running Red Hat, and by following this tutorial: http://wiki.postgresql.org/wiki/YUM_Installation#Configure_your_YUM_repository .
I should append exclude=postgresql*
to /etc/yum/pluginconf.d/rhnplugin.conf
,
but the file does not exist! What I have under /etc/yum/pluginconf.d
is:
- priorities.conf
- update-motd.conf
- upgrade-helper.conf
What should I do?
linux amazon-ec2 yum
add a comment |
I'm trying to install postgis on an Amazon EC2 instance, the instance is running Red Hat, and by following this tutorial: http://wiki.postgresql.org/wiki/YUM_Installation#Configure_your_YUM_repository .
I should append exclude=postgresql*
to /etc/yum/pluginconf.d/rhnplugin.conf
,
but the file does not exist! What I have under /etc/yum/pluginconf.d
is:
- priorities.conf
- update-motd.conf
- upgrade-helper.conf
What should I do?
linux amazon-ec2 yum
What version of red hat are you on?
– Jason Zhu
Feb 12 '14 at 14:28
Have you registered a Red Hat subscription with the RH subscription manager? Perhaps it only creates that once subscribed? Just a thought.
– CrispyDuck
Mar 11 '18 at 14:03
add a comment |
I'm trying to install postgis on an Amazon EC2 instance, the instance is running Red Hat, and by following this tutorial: http://wiki.postgresql.org/wiki/YUM_Installation#Configure_your_YUM_repository .
I should append exclude=postgresql*
to /etc/yum/pluginconf.d/rhnplugin.conf
,
but the file does not exist! What I have under /etc/yum/pluginconf.d
is:
- priorities.conf
- update-motd.conf
- upgrade-helper.conf
What should I do?
linux amazon-ec2 yum
I'm trying to install postgis on an Amazon EC2 instance, the instance is running Red Hat, and by following this tutorial: http://wiki.postgresql.org/wiki/YUM_Installation#Configure_your_YUM_repository .
I should append exclude=postgresql*
to /etc/yum/pluginconf.d/rhnplugin.conf
,
but the file does not exist! What I have under /etc/yum/pluginconf.d
is:
- priorities.conf
- update-motd.conf
- upgrade-helper.conf
What should I do?
linux amazon-ec2 yum
linux amazon-ec2 yum
edited Feb 14 '14 at 5:40
Rico
1,8401519
1,8401519
asked Feb 12 '14 at 12:09
daveoncodedaveoncode
973
973
What version of red hat are you on?
– Jason Zhu
Feb 12 '14 at 14:28
Have you registered a Red Hat subscription with the RH subscription manager? Perhaps it only creates that once subscribed? Just a thought.
– CrispyDuck
Mar 11 '18 at 14:03
add a comment |
What version of red hat are you on?
– Jason Zhu
Feb 12 '14 at 14:28
Have you registered a Red Hat subscription with the RH subscription manager? Perhaps it only creates that once subscribed? Just a thought.
– CrispyDuck
Mar 11 '18 at 14:03
What version of red hat are you on?
– Jason Zhu
Feb 12 '14 at 14:28
What version of red hat are you on?
– Jason Zhu
Feb 12 '14 at 14:28
Have you registered a Red Hat subscription with the RH subscription manager? Perhaps it only creates that once subscribed? Just a thought.
– CrispyDuck
Mar 11 '18 at 14:03
Have you registered a Red Hat subscription with the RH subscription manager? Perhaps it only creates that once subscribed? Just a thought.
– CrispyDuck
Mar 11 '18 at 14:03
add a comment |
2 Answers
2
active
oldest
votes
As far as i can see the exclude line is designed so that it will stop postgres installation from the official repositories and instead pull it from the postgis ones.
As such just find where your repo configuration is and add the lines there.
If you are using the Amazon provided AMI (Amazon Linux) it is in fact based on fedora and not rhel.
If it is indeed rhel just install yum-rhn-plugin and you should have the file.
add a comment |
The one you are looking for is a very specific file. If you can't find it, simply open the file /etc/yum.conf
and enter the exclude line into this file.
This file is like the parent file for yum, so if you run any yum command, then this file will be consulted and actions will be taken accordingly.
Thanx
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f574989%2fyum-repository-configuration-on-amazon-ec2-instance%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
As far as i can see the exclude line is designed so that it will stop postgres installation from the official repositories and instead pull it from the postgis ones.
As such just find where your repo configuration is and add the lines there.
If you are using the Amazon provided AMI (Amazon Linux) it is in fact based on fedora and not rhel.
If it is indeed rhel just install yum-rhn-plugin and you should have the file.
add a comment |
As far as i can see the exclude line is designed so that it will stop postgres installation from the official repositories and instead pull it from the postgis ones.
As such just find where your repo configuration is and add the lines there.
If you are using the Amazon provided AMI (Amazon Linux) it is in fact based on fedora and not rhel.
If it is indeed rhel just install yum-rhn-plugin and you should have the file.
add a comment |
As far as i can see the exclude line is designed so that it will stop postgres installation from the official repositories and instead pull it from the postgis ones.
As such just find where your repo configuration is and add the lines there.
If you are using the Amazon provided AMI (Amazon Linux) it is in fact based on fedora and not rhel.
If it is indeed rhel just install yum-rhn-plugin and you should have the file.
As far as i can see the exclude line is designed so that it will stop postgres installation from the official repositories and instead pull it from the postgis ones.
As such just find where your repo configuration is and add the lines there.
If you are using the Amazon provided AMI (Amazon Linux) it is in fact based on fedora and not rhel.
If it is indeed rhel just install yum-rhn-plugin and you should have the file.
answered Feb 12 '14 at 14:32
zeridonzeridon
66536
66536
add a comment |
add a comment |
The one you are looking for is a very specific file. If you can't find it, simply open the file /etc/yum.conf
and enter the exclude line into this file.
This file is like the parent file for yum, so if you run any yum command, then this file will be consulted and actions will be taken accordingly.
Thanx
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
add a comment |
The one you are looking for is a very specific file. If you can't find it, simply open the file /etc/yum.conf
and enter the exclude line into this file.
This file is like the parent file for yum, so if you run any yum command, then this file will be consulted and actions will be taken accordingly.
Thanx
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
add a comment |
The one you are looking for is a very specific file. If you can't find it, simply open the file /etc/yum.conf
and enter the exclude line into this file.
This file is like the parent file for yum, so if you run any yum command, then this file will be consulted and actions will be taken accordingly.
Thanx
The one you are looking for is a very specific file. If you can't find it, simply open the file /etc/yum.conf
and enter the exclude line into this file.
This file is like the parent file for yum, so if you run any yum command, then this file will be consulted and actions will be taken accordingly.
Thanx
answered Feb 17 '14 at 6:05
GeekRideGeekRide
3,1231320
3,1231320
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
add a comment |
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
This would globally exclude PostgreSQL, which isn't what he wants.
– Michael Hampton♦
Feb 17 '14 at 6:13
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
Hmmm ... might have mis-interpreted the question. My bad. Though after trying now, I am not really able to understand the question :(
– GeekRide
Feb 18 '14 at 6:49
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f574989%2fyum-repository-configuration-on-amazon-ec2-instance%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What version of red hat are you on?
– Jason Zhu
Feb 12 '14 at 14:28
Have you registered a Red Hat subscription with the RH subscription manager? Perhaps it only creates that once subscribed? Just a thought.
– CrispyDuck
Mar 11 '18 at 14:03