我在Ubuntu 18.10上使用Brew安装后尝试运行PostgreSQL。 我面临这个问题:
brew services start postgresql
sh: 1: list: not found
sh: 1: list: not found
Error: Failure while executing; `'' load -w /home/demo/Library/LaunchAgents/homebrew.mxcl.postgresql.plist` exited with 1.
无法解决。我在网上尝试了很多解决方案,但PostgreSQL不想运行。
也许你应该在 Ubuntu 上尝试 apt。
根据digitalocean的教程,你可以在ubuntu上这样安装它:
sudo apt update
sudo apt install postgresql postgresql-contrib