Editing Apt install postgresql
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | [[Postgres 12]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
apt install postgresql | apt install postgresql | ||
.../... | .../... | ||
Line 49: | Line 10: | ||
[[pg_ctlcluster]] 12 main start | [[pg_ctlcluster]] 12 main start | ||
− | + | ||
+ | [[Postgres 10]] | ||
Success. You can now start the database server using: | Success. You can now start the database server using: | ||
/usr/lib/postgresql/10/bin/[[pg_ctl]] -D /var/lib/postgresql/10/main -l logfile start | /usr/lib/postgresql/10/bin/[[pg_ctl]] -D /var/lib/postgresql/10/main -l logfile start | ||
− | + | ||
+ | Verify status: | ||
<pre> | <pre> | ||
systemctl status postgresql.service | systemctl status postgresql.service | ||
Line 87: | Line 50: | ||
== Related commands == | == Related commands == | ||
− | * | + | * <code>[[psql]]</code> |
− | + | ||
== See also == | == See also == |
Advertising: