CREATE USER teedy WITH PASSWORD 'pw';
CREATE DATABASE teedy_db WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;
GRANT ALL PRIVILEGES ON DATABASE teedy_db TO teedy ;
vim /var/lib/pgsql/data/postgresql.conf
listen_addresses = '*'
service postgresql restart
vim /var/lib/pgsql/data/pg_hba.conf
host teedy_db teedy 127.0.0.1/32 md5
nginx Setup
adduser www-data
sudo usermod -a -G www-data nginx
mkdir -p /var/www/vhosts/
sudo setsebool -P httpd_can_network_connect on
getenforce
chcon -Rt httpd_sys_content_t /var/www/
setsebool httpd_can_network_connect on -P
mkdir -p /etc/nginx/sites-available
mkdir -p /etc/nginx/sites-enabled
vim /etc/nginx/nginx.conf
Some steup steps i did to install recent Teedy on a Fedora 37 system using an Pi 4. might be incomplete, but very helpful for others for sure
Install Teedy 1.12dev from source
Install Jetty 11.04.14 from source
Setup PostgreSQL
nginx Setup
Setup Jetty as service and start the instance