[postgis-users] How to install on Amazon ec2 instance

Stephen Woodbridge woodbri at swoodbridge.com
Thu Aug 14 18:28:27 PDT 2014


Regina,

Below are the errors I got when I tried to install 
epel-release-6-8.noarch.rpm

I'm wondering if I back up to pg 9.2 and postgis2_92 if that might use 
older packages to avoid the poppler issue?

-Steve

[ec2-user at ip-10-0-0-159 ~]$ wget 
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
--2014-08-15 00:40:32-- 
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.24, 
209.132.181.25, 209.132.181.26, ...
Connecting to dl.fedoraproject.org 
(dl.fedoraproject.org)|209.132.181.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: âepel-release-6-8.noarch.rpmâ

100%[======================================>] 14,540      --.-K/s   in 0.06s

2014-08-15 00:40:32 (233 KB/s) - âepel-release-6-8.noarch.rpmâ saved 
[14540/14540]

[ec2-user at ip-10-0-0-159 ~]$ sudo rpm -ivh epel-release-6-8.noarch.rpm
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, 
key ID 0608b895: NOKEY
Preparing...                          ################################# 
[100%]
         package epel-release-6-8.9.amzn1.noarch (which is newer than 
epel-release-6-8.noarch) is already installed
         file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 from install of 
epel-release-6-8.noarch conflicts with file from package 
epel-release-6-8.9.amzn1.noarch
         file /etc/rpm/macros.ghc-srpm from install of 
epel-release-6-8.noarch conflicts with file from package 
epel-release-6-8.9.amzn1.noarch
         file /etc/yum.repos.d/epel-testing.repo from install of 
epel-release-6-8.noarch conflicts with file from package 
epel-release-6-8.9.amzn1.noarch
         file /etc/yum.repos.d/epel.repo from install of 
epel-release-6-8.noarch conflicts with file from package 
epel-release-6-8.9.amzn1.noarch
         file /usr/share/doc/epel-release-6/GPL from install of 
epel-release-6-8.noarch conflicts with file from package 
epel-release-6-8.9.amzn1.noarch


On 8/14/2014 6:27 PM, Paragon Corporation wrote:
> Steve,
>
> Looks like the Yum PostgreSQL repo might be compatible with Amazon Linux
> from this excerpt
>
> http://www.bitsandpix.com/entry/amazon-ec2-installing-postgres-93-on-amazon-
> linux-instance-local-storage/
>
>
> Here is article we wrote about using Yum PostgreSQL for CentOS which might
> be useful too.
>
> http://www.postgresonline.com/journal/archives/329-An-almost-idiots-guide-to
> -install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-with-Yum.html
>
> Hope that helps,
> Regina
> http://www.postgis.us
> http://postgis.net
>
>
>
> -----Original Message-----
> From: postgis-users-bounces at lists.osgeo.org
> [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Stephen
> Woodbridge
> Sent: Thursday, August 14, 2014 5:40 PM
> To: PostGIS Users Discussion
> Subject: [postgis-users] How to install on Amazon ec2 instance
>
> Hi all,
>
> I'm trying to setup an amazon ec2 instance with postgis using yum, but it
> does not seem to have postgis in their repos.
>
> [ec2-user at ip-10-0-0-159 ~]$ uname -a
> Linux ip-10-0-0-159 3.10.42-52.145.amzn1.x86_64 #1 SMP Tue Jun 10
> 23:46:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> [ec2-user at ip-10-0-0-159 ~]$ cat /etc/motd
>
>          __|  __|_  )
>          _|  (     /   Amazon Linux AMI
>         ___|\___|___|
>
>
> I would like to avoid building it from source.
>
> I have installed:
>
> sudo yum install postgresql9.x86_64 postgresql9-contrib.x86_64
> postgresql9-devel.x86_64 postgresql9-libs.x86_64 postgresql9-server.x86_64
>
> Anyone know if there is a repository that is compatible with this? and how
> to configure the server to use it?
>
> Thanks,
>     -Steve
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list