我在Ubuntu 14,04('Trusty'(上运行,没有升级的可能性(一个复杂的网站管理平台取决于它(,但是我想并行安装最新版本的PostgreSQL ...是否存在兼容性问题?
是的,我刚刚尝试过,我在此处遵循指南:https://gist.github.com/alistairewj/8aaeaea0261fe4015333333333333333333333333333bed5fe91f8
# 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