yum ๋ช ๋ น์ด๋ก ์ค์นํ๋ํ์ ๋ ๋ด๊ฐ ์ํ๋ ๋ฒ์ ๊ณผ ๋ค๋ฅธ ๊ฒฝ์ฐ๊ฐ ์๋ค.
์ด๋ฏธ ์ค์นํ๊ณ ๋์ ๋ค์ ์ง์ฐ๊ณ ํ ๋ ์ข ๋ฒ๊ฑฐ๋ก์ด ๋ถ๋ถ์ด ์์ด์
์ค์นํ ๋ ์ํ๋ ๋ฒ์ ์ผ๋ก ์ค์นํ๋๊ฒ ๊น๋ํ๋ค.
์ค์น๊ณผ์ ์ centos7๋ฒ์ ๊ธฐ์ค์ด๋ฉฐ, OS์ OS๋ฒ์ ์ ๋ง๊ฒ ๊ณต์์ฌ์ดํธ์์ ๋ช ๋ น์ด๋ฅผ ์ ๊ณตํด์ฃผ๋ ์ฐธ๊ณ ํ๋ฉด๋๋ค.
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo yum install -y postgresql12-server
sudo /usr/pgsql-12/bin/postgresql-12-setup initdb
sudo systemctl enable postgresql-12
sudo systemctl start postgresql-12
PostgreSQL: Downloads
Downloads PostgreSQL Downloads PostgreSQL is available for download as ready-to-use packages or installers for various platforms, as well as a source code archive if you want to build it yourself. Packages and Installers Select your operating system family
www.postgresql.org
'LINUX' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Linux] ์๋ฒ mstsc๋ก GUI ํ๊ฒฝ์ผ๋ก ์ฐ๊ฒฐํ๊ธฐ (0) | 2021.10.06 |
---|---|
[Elastic Stack] Kibana ์ค์น (0) | 2021.09.16 |
[Elastic Stack] Elastic Search ์ค์น (0) | 2021.09.05 |
[๋ฆฌ๋ ์ค] postgresql ์ค์นํ๊ธฐ (0) | 2021.07.07 |
[๋ฆฌ๋ ์ค] rpm ํ์ผ ๊ฒ์ฆ (0) | 2021.06.30 |