ppp

1 □ 指定モジュールのインストール可能なバージョンを確認 dnf module list postgresql

2 □ dnf module enable postgresql:13 -y

dnfコマンドで、インストールを実行 dnf install -y --downloadonly --destdir /home/work/repo postgresql-server

3 □ dnf localinstall -y  libicu-60.3-2.el8_1.x86_64.rpm libpq-13.5-1.el8.x86_64.rpm postgresql-13.7-2.module+el8.6.0+980+9caa008a.x86_64.rpm postgresql-server-13.7-2.module+el8.6.0+980+9caa008a.x86_64.rpm 

4 □ PostgreSQL 13初期化 postgresql-setup –initdb

5 □ 開始 sudo systemctl start postgresql

6 □ 起動設定 sudo systemctl enable postgresql

7 □ ステータスを確認 sudo systemctl status postgresql

8 □ psql確認 # su – postgres $ psql

9 □ db作成 # su – postgres $ createdb ruledb [postgres@5e23c209aaeb ~]$ psql -d ruledb psql (13.7) Type "help" for help. ruledb=#

10 □ 業務DBインポート

11 □ postgresql.confを修正 外部から接続できるようにするには「/var/lib/pgsql/14/data」にある「postgresql.conf」を以下のように編集 /var/lib/pgsql/data/postgresql.conf listen_addresses = '*' port = 5432

12 □ pg_hba.conf を編集 /var/lib/pgsql/data/pg_hba.conf の編集







postgres https://www.postgresql.org/download/linux/redhat/

pear Mail_Mime 1.10.11 https://pear.php.net/package/Mail_Mime/download

pear Mail 1.5.0 https://pear.php.net/package/Mail/download

pear 1.10.13 https://pear.php.net/package/PEAR/download



dnf install --downloadonly --destdir /home/p/repo gd-last

dnf install --downloadonly --destdir /home/p/repo libmcrypt

dnf install --downloadonly --destdir /home/p/repo libwebp

dnf install --downloadonly --destdir /home/p/repo php-common

dnf install --downloadonly --destdir /home/p/repo php-gd

dnf install --downloadonly --destdir /home/p/repo php-mbstring

dnf install --downloadonly --destdir /home/p/repo php-mcrypt

dnf install --downloadonly --destdir /home/p/repo php-mysqlnd

dnf install --downloadonly --destdir /home/p/repo php-pdo

dnf install --downloadonly --destdir /home/p/repo php-pear

dnf install --downloadonly --destdir /home/p/repo php-pecl-jsonc

dnf install --downloadonly --destdir /home/p/repo php-pecl-zip

dnf install --downloadonly --destdir /home/p/repo php-pgsql

dnf install --downloadonly --destdir /home/p/repo php-soap

dnf install --downloadonly --destdir /home/p/repo php-xml


コメント