Skip to content

Instantly share code, notes, and snippets.

部署环境为Ubuntu
一.Ruby环境安装配置(略)
二.PostpreSQL安装配置
1.添加apt仓库:
添加进sources.list
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
导入GPG key