Last active
April 7, 2021 14:50
-
-
Save Utopiah/0c7905cc49971a9f3b6c86550eb67a35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# video https://video.benetou.fr/videos/watch/ae732458-dfab-40f0-abe5-930f9c06411c | |
# https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04 | |
sudo apt update | |
sudo apt install postgresql postgresql-contrib | |
sudo postgres | |
/usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start | |
createuser hubs -s | |
psql -c "ALTER USER hubs WITH PASSWORD 'hubs';" | |
createdb hubs | |
sudo /opt/polycosm/setup.sh # storing the result in /hab/svc/ita/files/stack-configs.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment