我正在Ubuntu 14,04(“可信任”)上运行,无法升级(复杂的网站管理平台取决于它),但是我想并行安装最新版本的postgresql ...有兼容性问题吗?
答案 0 :(得分:1)
是的,我刚刚尝试过,我在这里遵循了指南:https://gist.github.com/alistairewj/8aaea0261fe4015333ddf8bed5fe91f8
# add postgresql to apt repository
sudo add-apt-repository 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main'
# get the signing key and update
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
# install postgresql
sudo apt-get install postgresql-11
# ensure that the server is started by switching to the postgres user
sudo su - postgres
# I didn't do this part since the database was started during install
# and I checked via `psql`
# /usr/lib/postgresql/11/bin/pg_ctl -D /var/lib/postgresql/11/main -l logfile start
答案 1 :(得分:0)