user:rolf001:linux:start
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user:rolf001:linux:start [2023/11/22 22:06] – created rolf.becker | user:rolf001:linux:start [2023/11/22 23:05] (current) – rolf.becker | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
====== Linux Notes (Ubuntu 22.04) ====== | ====== Linux Notes (Ubuntu 22.04) ====== | ||
+ | |||
===== Github Desktop ===== | ===== Github Desktop ===== | ||
+ | |||
+ | Read [[https:// | ||
< | < | ||
Line 9: | Line 13: | ||
sudo apt update && sudo apt install github-desktop | sudo apt update && sudo apt install github-desktop | ||
</ | </ | ||
+ | |||
+ | ===== PostgreSQL on Linux ===== | ||
+ | |||
+ | The Ubuntu software repo might not provide the latest stable release: | ||
+ | |||
+ | " | ||
+ | (Text copied from the following installation instructions) | ||
+ | |||
+ | Installation instruction of latest stable release: https:// | ||
+ | |||
+ | |||
+ | |||
+ | After installation give the user postgres a password. Use psql on a terminal. The password is needed to be able to use pgadmin4. Both applications are running on localhost. | ||
+ | |||
+ | < | ||
+ | # in bash terminal login as user postgres who has access to the databases. | ||
+ | sudo -i -u postgres | ||
+ | |||
+ | # start the CLI | ||
+ | psql | ||
+ | |||
+ | # set the password for user postgres | ||
+ | ALTER USER postgres WITH PASSWORD ' | ||
+ | </ | ||
+ | |||
+ | Often not need bot nn case you want to or have to alter the `pg_hba.conf`file: | ||
+ | < | ||
+ | # Add the following to pg_hba.conf: | ||
+ | host all | ||
+ | </ | ||
+ | |||
+ | Restart PostgreSQL after making changes to the pg_hba.conf file: | ||
+ | < | ||
+ | sudo systemctl restart postgresql | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
user/rolf001/linux/start.1700687186.txt.gz · Last modified: 2023/11/22 22:06 by rolf.becker