Add the YUM repo to your host:
$ sudo dnf install https://download.postgresql.org/pub/repos/yum/reporpms/F-37-x86_64/pgdg-fedora-repo-latest.noarch.rpm| flowchart LR | |
| W((World)) --- TR | |
| TR --- KC(Keycloak) | |
| BB --- KC | |
| subgraph Nomad | |
| TR(Traefik proxy) --- BB | |
| BB(Biblio backend) --- NATS{NATS} | |
| NATS --- JB{JMS bridge} | |
| JB --- F(Fedora repository) | |
| NATS --- IDX(Indexer service) |
$ sudo dnf install java-latest-openjdk
$ sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
$ cat <<EOF | sudo tee /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages| #!/usr/bin/python3 | |
| # | |
| # run it: | |
| # STIBKEY=<apikey> ./stib.py | |
| import os | |
| import requests | |
| import json | |
| import datetime | |
| from datetime import timedelta |
| #!/bin/bash | |
| DIR=$1 | |
| if [[ ! -d $DIR ]];then | |
| echo "${DIR} does not exist." | |
| exit 1 | |
| fi | |
| BASENAME=$(basename $DIR) | |
| UPDIR=$(cd $DIR/.. && pwd) |
These instructions allow you to intall psql, pg_dump & pg_restore without a full installation of postgresql.
First, install libpq via homebrew
brew doctor
brew update
brew install libpq
Digital ocean Linux introduction series
Command line for beginners https://www.freecodecamp.org/news/command-line-for-beginners/
Bash scripting for beginners https://www.freecodecamp.org/news/bash-scripting-tutorial-linux-shell-script-and-command-line-for-beginners/