From c1edf1806d08f2f19b1b432c9a1c988eb16f144e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Mar 2024 21:02:49 +0000 Subject: [PATCH] update --- 2023/04/28/gpt4all | 2 +- 2024/03/12/guile | 2 +- 2024/03/12/guix | 2 +- 2024/03/18/guix-cuirass | 2 +- 2024/03/19/notes.org | 23 +++++++++++++++++++++++ 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/2023/04/28/gpt4all b/2023/04/28/gpt4all index 90aa2c1e..3eb6bbac 160000 --- a/2023/04/28/gpt4all +++ b/2023/04/28/gpt4all @@ -1 +1 @@ -Subproject commit 90aa2c1e05ba331aa34e317526048dc61366e874 +Subproject commit 3eb6bbacee04ac0c222d32a4fbb9d9e438f92188 diff --git a/2024/03/12/guile b/2024/03/12/guile index e1690f3f..4ec15589 160000 --- a/2024/03/12/guile +++ b/2024/03/12/guile @@ -1 +1 @@ -Subproject commit e1690f3fd251d69b3687ec12c6f4b41034047f0f +Subproject commit 4ec15589562f6acf9a26856aed5b2a7ac202352a diff --git a/2024/03/12/guix b/2024/03/12/guix index bda6935f..93aefca7 160000 --- a/2024/03/12/guix +++ b/2024/03/12/guix @@ -1 +1 @@ -Subproject commit bda6935f1be7d3d42126204830d8505ea65601cc +Subproject commit 93aefca7bab5f5b40164176e3224221d26d708f1 diff --git a/2024/03/18/guix-cuirass b/2024/03/18/guix-cuirass index 50a8933a..7c8d642b 160000 --- a/2024/03/18/guix-cuirass +++ b/2024/03/18/guix-cuirass @@ -1 +1 @@ -Subproject commit 50a8933a4965a13af6425c09dab834412e12b347 +Subproject commit 7c8d642b085651dd3ad3189aeec498fc1ecc393a diff --git a/2024/03/19/notes.org b/2024/03/19/notes.org index 0822e30e..46ea984e 100644 --- a/2024/03/19/notes.org +++ b/2024/03/19/notes.org @@ -189,3 +189,26 @@ grep -P '(nix|guix)' ./sorte.txt | grep clone_url |cut '-d"' -f4 |cut -d. -f1- for x in `cat urls.txt `; do grep $x /mnt/data1/nix/time/.gitmodules || echo nope $x; done +** postgres + + 127 nix gc + 128 nix clean + 129 nix --help |grep clean + 130 nix-store --gc + 131 df -h + 132 df + 133 mkdir /home/postgres + 134 chown postgres: /home/postgres + 135 mkdir /run/postgresql + 136 chown postgres: /run/postgresql + 137 history +nix build .#psql_15/bin -o result-15 +git submodule update . +cd nix-postgres/ +bash-5.2# +ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/postgres +# ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/initdb +./initdb -D data2 +# ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/pg_ctl +#./pg_ctl -D data2 -l logfile start +./postgres -D data2