computer:gentoo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
computer:gentoo [2020-11-18 18:11] – external edit 127.0.0.1 | computer:gentoo [2021-01-01 20:40] – [PostgreSQL] skrupellos | ||
---|---|---|---|
Line 72: | Line 72: | ||
* Copy config files from ''/ | * Copy config files from ''/ | ||
* Add '' | * Add '' | ||
+ | |||
+ | === Arch Linux Version === | ||
+ | < | ||
+ | systemctl stop postgresql | ||
+ | systemctl status postgresql | ||
+ | |||
+ | cd / | ||
+ | V=$(cat data/ | ||
+ | mv data data-$V | ||
+ | |||
+ | install -d -o postgres -g postgres -m 700 / | ||
+ | cd tmp | ||
+ | sudo -u postgres -- initdb --locale en_US.UTF-8 --encoding=UTF8 -D ../data | ||
+ | sudo -u postgres -- pg_upgrade -b / | ||
+ | systemctl start postgresql | ||
+ | systemctl status postgresql | ||
+ | sudo -u postgres ./ | ||
+ | cd .. | ||
+ | rm -R tmp | ||
+ | </ | ||
===== Haushalten ===== | ===== Haushalten ===== | ||
Konfiguration in ''/ | Konfiguration in ''/ |
computer/gentoo.txt · Last modified: 2023-03-05 14:01 by skrupellos