Vao*_*sun 6 pgbouncer amazon-linux
试图在亚马逊上安装pgbouncer遇到了这个:
[root@somehost ~]# uname -a
Linux somehost 4.4.35-33.55.amzn1.x86_64 #1 SMP Tue Dec 6 20:30:04 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@somehost ~]# yum install pgbouncer
Loaded plugins: priorities, update-motd, upgrade-helper
No package pgbouncer available.
Error: Nothing to do
Run Code Online (Sandbox Code Playgroud)
去了github - 发现只有compilable版本.谷歌搜索并决定在下面发布解决方案
在PostgreSQL全球开发小组的仓库中,将链接复制到您的linux版本(在我的情况下为Amazon Linux AMI 2015.03-x86_64)并运行:
rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-ami201503-93-9.3-3.noarch.rpm
yum install pgbouncer
Run Code Online (Sandbox Code Playgroud)
结果:
Installed:
pgbouncer.x86_64 0:1.7.2-6.rhel6
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1098 次 |
| 最近记录: |