Postgresql 镜像使用帮助

Postgresql是一款非常流行的关系型数据库。

使用方法

  • Ubuntu
sudo tee -a /etc/apt/sources.list.d/postgresql.list << EOF
deb https://mirrors.shuosc.org/postgresql/repos/apt/ xenial-pgdg main
EOF
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7FCC7D46ACCC4CF8
sudo apt update
sudo apt install postgresql
  • Centos 7
sudo yum install https://mirrors.shuosc.org/postgresql/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm
sudo yum install postgresql10

相关链接

Copyright © 上海大学开源镜像站 all right reserved,powered by Gitbook该文件修订时间: 2017-11-21 14:48:04

results matching ""

    No results matching ""