this post was submitted on 26 Nov 2023
9 points (100.0% liked)
Web Development
0 readers
1 users here now
Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This whole question is extremely confusing, and the fact that you would consider switching to windows makes me think this is just trolling.
sudo apt-get install postgres
is literally all you need to do. Thensystemctl start postgresql.service
But you should probably be using docker anyway.
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
Like, you're editing sources list files? Where did you read that that's a thing you should be doing?
Not trolling. I used the repo link on the site that it gave for apt distros. Got a terminal error. That’s what i was told when i looked up the terminal error. I have absolutely no experience with docker, so i haven’t tried it.
UPDATE just saw the terminal code you shared. I’ll try that. The command i found to start the service was slightly different. Really appreciate your response.