6.2 データベースインストール



# apt-get install postgresql postgresql-client

# dpkg -l postgresql
||/ Name                           Version              
+++-==============================-====================
ii  postgresql                     10+190 

# systemctl start postgresql
# systemctl enable postgresql
# systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
   Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2019-01-04 02:10:30 UTC; 16min ago

<省略>