gpt4 book ai didi

pgbouncer - 亚马逊 linux : No package pgbouncer available

转载 作者:行者123 更新时间:2023-12-04 15:08:07 25 4
gpt4 key购买 nike

尝试在亚马逊上安装 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

去了 github - 仅找到可编译版本。谷歌搜索并决定在下面发布解决方案

最佳答案

The PostgreSQL Global Development Group repo将链接复制到您的 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

结果:
Installed:
pgbouncer.x86_64 0:1.7.2-6.rhel6

关于pgbouncer - 亚马逊 linux : No package pgbouncer available,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42132200/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com