fix psql install
This commit is contained in:
parent
797e9506bf
commit
1996bab595
1 changed files with 12 additions and 1 deletions
|
|
@ -863,7 +863,18 @@ echo "✅ Docker and Docker Compose installation completed!"
|
|||
#### 080.1.3 Install psql
|
||||
|
||||
- CI pipelines require `psql`, Postgres CLI client, to be available.
|
||||
- You can install it simply with `sudo apt-get install postgresql-client-16`.
|
||||
- You can install it with the following script:
|
||||
|
||||
```bash
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gnupg2 wget nano
|
||||
|
||||
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install -y postgresql-client-16
|
||||
```
|
||||
|
||||
#### 080.1.4 Create user in DWH
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue