Since we're creating two new PostgreSQL node/instances for this example, run:
mkdir -p $HOME/2ndquadrant_bdr initdb -D $HOME/2ndquadrant_bdr/bdr5598 -A trust -U postgres initdb -D $HOME/2ndquadrant_bdr/bdr5599 -A trust -U postgres
Adjust the data directory path (the path after -D) if you want to use a different location. The rest of these instructions will assume you ran exactly the commands given above.
These commands do not start BDR, or connect the two instances. They just create two independent PostgreSQL instances, ready to be configured and started.