Обсуждение: postgis Installation

Поиск
Список
Период
Сортировка

postgis Installation

От
Pierre Ochsenbein
Дата:
Hi All,

How I can install postgis on PostgreSQL10 with RedHat 7 server?

root@host usr]# yum install postgresql-10-postgis-2.4
Failed to set locale, defaulting to C
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                                                                                                                                     | 2.0 kB  00:00:00    
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                 | 2.1 kB  00:00:00    
No package postgresql-10-postgis-2.4 available.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@host usr]# 

----
root@host usr]# yum install postgresql-10-postgis-2.4
Failed to set locale, defaulting to C
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                                                                                                                                     | 2.0 kB  00:00:00    
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                 | 2.1 kB  00:00:00    
No package postgresql-10-postgis-2.4 available.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@host usr]# 

Re: postgis Installation

От
Pierre Ochsenbein
Дата:
Hi,

The solution :

sudo yum install postgis2_10

Le mer. 19 sept. 2018 à 12:28, Pierre Ochsenbein <pierreochsenbein@gmail.com> a écrit :
Hi All,

How I can install postgis on PostgreSQL10 with RedHat 7 server?

root@host usr]# yum install postgresql-10-postgis-2.4
Failed to set locale, defaulting to C
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                                                                                                                                     | 2.0 kB  00:00:00    
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                 | 2.1 kB  00:00:00    
No package postgresql-10-postgis-2.4 available.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@host usr]# 

----
root@host usr]# yum install postgresql-10-postgis-2.4
Failed to set locale, defaulting to C
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                                                                                                                                     | 2.0 kB  00:00:00    
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                 | 2.1 kB  00:00:00    
No package postgresql-10-postgis-2.4 available.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@host usr]# 



--
Cordialement,

Pierre Ochsenbein
Mobile: +33668295394

Re: postgis Installation

От
Adam Jensen
Дата:
Hi, Pierre.

I use Scientific Linux 7.5 which is a RHEL clone. The version of
PostgreSQL available on my system is 9.2.24:

https://www.postgresql.org/docs/9.2/static/release-9-2-24.html

Version 9.2.24 has nice SELinux integration:


https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/chap-managing_confined_services-postgresql

And it includes PostGIS version 2.0.7

I found a RHEL repository with PostgreSQL version 10.5 here:

https://yum.postgresql.org/repopackages.php#pg10

This version does not include the SELinux integration.

The command I use to find the exact name of the packages is:

yum list postgis\*
yum list postgresql\*

And this might work for your case:

yum install postgis24_10

And maybe make it more complete with this:

yum install postgis24_10-client postgis24_10-docs postgis24_10-utils

Cheers!

On 09/19/2018 06:28 AM, Pierre Ochsenbein wrote:
> Hi All,
> 
> How I can install postgis on PostgreSQL10 with RedHat 7 server?
> 
> root@host usr]# yum install postgresql-10-postgis-2.4
> Failed to set locale, defaulting to C
> Loaded plugins: enabled_repos_upload, package_upload, product-id,
> search-disabled-repos, subscription-manager
>
rhel-7-server-rpms                                                                                                                                                                                    
> | 2.0 kB  00:00:00    
>
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                
> | 2.1 kB  00:00:00    
> No package postgresql-10-postgis-2.4 available.
> Error: Nothing to do
> Uploading Enabled Repositories Report
> Loaded plugins: product-id, subscription-manager
> [root@host usr]# 
> 
> ----
> root@host usr]# yum install postgresql-10-postgis-2.4
> Failed to set locale, defaulting to C
> Loaded plugins: enabled_repos_upload, package_upload, product-id,
> search-disabled-repos, subscription-manager
>
rhel-7-server-rpms                                                                                                                                                                                    
> | 2.0 kB  00:00:00    
>
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                
> | 2.1 kB  00:00:00    
> No package postgresql-10-postgis-2.4 available.
> Error: Nothing to do
> Uploading Enabled Repositories Report
> Loaded plugins: product-id, subscription-manager
> [root@host usr]# 
> 



Re: postgis Installation

От
Shreeyansh Dba
Дата:
Hi Pierre,
Go through this link. hope this will help you.




On Wed, Sep 19, 2018 at 3:58 PM Pierre Ochsenbein <pierreochsenbein@gmail.com> wrote:
Hi All,

How I can install postgis on PostgreSQL10 with RedHat 7 server?

root@host usr]# yum install postgresql-10-postgis-2.4
Failed to set locale, defaulting to C
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                                                                                                                                     | 2.0 kB  00:00:00    
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                 | 2.1 kB  00:00:00    
No package postgresql-10-postgis-2.4 available.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@host usr]# 

----
root@host usr]# yum install postgresql-10-postgis-2.4
Failed to set locale, defaulting to C
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                                                                                                                                     | 2.0 kB  00:00:00    
rhel-7-server-satellite-tools-6.2-rpms                                                                                                                                                                 | 2.1 kB  00:00:00    
No package postgresql-10-postgis-2.4 available.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@host usr]#