在 debian lenny 中安装 postgres 9.0 [英] Install postgres 9.0 in debian lenny

查看:14
本文介绍了在 debian lenny 中安装 postgres 9.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,
我的系统有以下分布细节

Dear all,
My system has the following distribution details

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 5.0 (lenny)
Release:    5.0
Codename:   lenny

我需要在这台机器上安装 postgres 9.0,但是我找不到任何用于 postgres 9.0 的稳定 lenny 包,有没有其他方法可以做到这一点
任何建议将不胜感激!

I need to install postgres 9.0 in this machine , but I cannot find any stable lenny packages for postgres 9.0 , Is there any other way to do this
Any suggestion would be appreciated !

推荐答案

感谢 新的 debian backports 套件,这是在 Debian lenny 上安装 PostgreSQL 9.0 的方法:

Thanks to the new debian backports suite, here's how to install PostgreSQL 9.0 on Debian lenny:

将以下内容添加到/etc/apt/sources.list:

Add the following to /etc/apt/sources.list:

deb http://backports.debian.org/debian-backports lenny-backports   main
deb http://backports.debian.org/debian-backports lenny-backports-sloppy main

然后运行这两个命令

apt-get install -t lenny-backports postgresql-common
apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0

请注意,这使用了新的 lenny-backports-sloppy backport 套件 - 请 阅读公告以了解使用此套件的权衡.

Note that this utilizes the new lenny-backports-sloppy backport suite - please read the announcement in order to be aware of the trade offs of using this suite.

这篇关于在 debian lenny 中安装 postgres 9.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆