Re: postgis Installation

Поиск
Список
Период
Сортировка
От Adam Jensen
Тема Re: postgis Installation
Дата
Msg-id f421b756-88aa-b60b-0c9c-ba8b1d3015a5@riseup.net
обсуждение исходный текст
Ответ на postgis Installation  (Pierre Ochsenbein <pierreochsenbein@gmail.com>)
Список pgsql-admin
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]# 
> 



В списке pgsql-admin по дате отправления:

Предыдущее
От: Pierre Ochsenbein
Дата:
Сообщение: Re: postgis Installation
Следующее
От: Fabio Pardi
Дата:
Сообщение: Re: Master slave replication