PG Strom Redhat Install


### postgre
```typesudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpmsudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpmsudo dnf -y module disable postgresqlsudo yum install -y postgresql10-server postgresql10-devel postgresql-contrib# pg stromsudo yum install -y https://heterodb.github.io/swdc/yum/rhel8-noarch/heterodb-swdc-1.1-1.el8.noarch.rpmsudo yum install pg_strom-PG10 -ysudo su - postgresinitdbpsql postgres postgres\password postgresexitexit# edit postgresql.confsystemctl start postgresql-10systemctl status -l postgresql-10systemctl enable postgresql-10```
pg strom 2.4.3만 되더라

### postgis
```type#enable power toolssudo nano /etc/yum.repos.d/CentOS-Linux-PowerTools.repo#enabled=1sudo yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpmsudo yum install -y postgis25_10.x86_64# nvme stromsudo yum install https://heterodb.github.io/swdc/yum/rhel8-x86_64//nvme_strom-2.4-3.el8.x86_64.rpm```

- native postgis
> ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd535cd70-66f9-42d0-872c-fc610eeda45a%2FUntitled.png?table=block&id=e1f95bf8-5003-460d-be11-fed526937c62&cache=v2)
- pg strom added
> ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F17c995c2-e329-4da8-918c-cf7736c94b29%2FUntitled.png?table=block&id=9aead8d0-5861-41af-a6c5-39def76fdc21&cache=v2)
- pg strom + nvme strom
> ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F1936dfa0-ad60-496c-9897-b49f0a91481c%2FUntitled.png?table=block&id=2d2ee13d-47c2-4e62-9a9d-ec7ec337cb11&cache=v2)




> [How To Install and Use PostgreSQL on CentOS 8 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-centos-8)






