Go to file
Chris Jean-Marie 3b16cce62a Initial device fingerprinting and auto login 2025-09-28 04:02:02 +00:00
.cargo Moved backend into backend folder 2024-09-20 00:15:32 +00:00
.devcontainer Initial RBAC for calendar use 2025-06-10 21:27:33 +00:00
.vscode Continue calendar code 2025-06-01 03:14:28 +00:00
backend Initial device fingerprinting and auto login 2025-09-28 04:02:02 +00:00
.gitignore Add files to .gitignore 2025-04-12 23:55:21 +00:00
LICENSE Update project files 2024-10-24 11:40:56 +00:00
README.md Add postgresql database instructions 2025-04-10 14:36:17 +00:00

README.md

Jean-Marie family website

The Jean-Marie family website is a place to share information about family activities

Postgresql server setup and configuration

  • Create new debian container
    • 2GB RAM
    • 8G Storage
    • link to ZFS storage pool
  • Update packages
    • apt update && apt upgrade -y && apt autoremove -y
  • Install current postgresql source
    • apt install -y postgresql-common
    • /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
    • apt install -y postgresql
  • Move cluster to ZFS
    • Stop postgresql
      • systemctl stop postgresql
    • Create new directory for cluster in ZFS
      • from ZFS server create world writable directory
    • Move current cluster to new location
      • from ZFS server ensure ownership of all files in moved directory is postgres
    • Point to new location
      • nano /etc/postgresql//main/postgresql.conf
      • data_directory = ''
    • Restart postgresql
      • systemctl start postgresql
  • Allow external access
    • Edit pg_hba.conf
      • Change host all address to local network
    • Edit postgresql.conf
      • Change listen_adress to '*'
  • Change password
    • su postgres
    • psql
    • alter user postgres with password '';
    • \q
    • exit