我在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不想运行。
答案 0 :(得分:0)
也许您应该尝试在Ubuntu上使用apt。
根据digitalocean的tutorial,您可以像这样在ubuntu上安装它:
sudo apt update
sudo apt install postgresql postgresql-contrib