Upgrade PostgreSQL 9.3 on Debian 7 Wheezy


Comments


2025 年 2 月
 12
3456789
10111213141516
17181920212223
2425262728  

Setup current Debian version

Version 9.1 is the current PostgreSQL version in Debian Wheezy (the time of writing this article). Installation is simple:
apt-get install postgresql

Setup latest PostgreSQL version on Debian

  1. Add the PostgreSQL Apt Repositorycreate a Debian sources list file (e.g. pgdg.list)
    nano /etc/apt/sources.list.d/pgdg.list
    add the following line and save the file
    deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main
  2. Import the repository signing key
    wget https://www.postgresql.org/media/keys/ACCC4CF8.asc
    apt-key add ACCC4CF8.asc
  3. Update the package lists
    apt-get update
  4. Finally, install PostgreSQL as usual
    apt-get install postgresql
  5. You may install another version (e.g. 9.2), using:
    apt-get install postgresql-9.2

《“Upgrade PostgreSQL 9.3 on Debian 7 Wheezy”》 有 1 条评论

  1. lttt(小小泪) 的头像

    If you enconter the error:

    You need to install:

    please replace 9.4 correspondly.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据


Other news

  • 使用Chrome播放本地SWF文件

    两个版本, 一个是选择文件, 一个是直接拖拽。 当然也有合并到一起的办法, 参考这里。直接将下列文件放到和fl…

  • Chrome下载完成后显示病毒扫描失败的解决办法

    很蛋疼的一个提示, 一个pdf下载好后给提示病毒扫描失败。把下载的pdf直接删除了。 解决办法是运行如下的注册…

  • C1驾照学习经验

    历时4个月+15天, 我的C1驾照到手了. 下面分享下经验, 为广大学员解惑。 学驾照, 要趁早 为啥呢, 一…