pgsql-create-db-user:postgresql_create_database_user
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| pgsql-create-db-user:postgresql_create_database_user [2019/01/11 16:01] – rguyader | pgsql-create-db-user:postgresql_create_database_user [2023/05/23 08:56] (Version actuelle) – [Autoriser les connections authentifiées en local pour posgresql] ghusson | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| <code bash> | <code bash> | ||
| - | # cp -a / | ||
| - | # sed -i " | ||
| - | # service postgresql stop | ||
| - | # service postgresql start | ||
| - | </ | ||
| - | | + | export |
| - | PGSQL_USERNAME=hordeu | + | export |
| - | PGSQL_USERPWD=password | + | export |
| + | |||
| + | |||
| + | apt install postgresql | ||
| + | cp -a / | ||
| + | sed -i " | ||
| + | service postgresql stop | ||
| + | service postgresql start | ||
| + | |||
| + | |||
| + | cd / | ||
| + | /bin/su postgres --command "/ | ||
| + | /bin/su postgres --command "/ | ||
| + | /bin/su postgres --command "/ | ||
| + | /bin/su postgres --command "/ | ||
| - | <code bash> | ||
| - | /bin/su postgres --command "/ | ||
| - | /bin/su postgres --command "/ | ||
| - | /bin/su postgres --command "/ | ||
| - | /bin/su postgres --command "/ | ||
| </ | </ | ||
| Ligne 45: | Ligne 49: | ||
| \q | \q | ||
| </ | </ | ||
| + | |||
| + | ===== Cheat Sheets ===== | ||
| + | * http:// | ||
| + | * https:// | ||
pgsql-create-db-user/postgresql_create_database_user.1547222494.txt.gz · Dernière modification : 2019/01/11 16:01 de rguyader