使用 rpm 包安装 postgresql
发布时间:2020-12-13 17:11:08 所属栏目:百科 来源:网络整理
导读:rhel 7 之前的版本适用 从postgres.org 下载安装包 首先安装 libs #rpm -ivh postgresql94 -libs - 9.4 .5 - 1 PGDG . rhel5 . x86_64 . rpm 安装 客户端 #rpm -ivh postgresql94-9.4.5-1PGDG.rhel5.x86_64.rpm 安装服务器端 #rpm -ivh postgresql94 -server
首先安装 #rpm -ivh postgresql94-libs-9.4.5-1PGDG.rhel5.x86_64.rpm
安装 #rpm -ivh postgresql94-9.4.5-1PGDG.rhel5.x86_64.rpm
安装服务器端 #rpm -ivh postgresql94-server-9.4.5-1PGDG.rhel5.x86_64.rpm
初始化数据库 #service postgresql-9.4 initdb
启动数据库 #service postgresql-9.4 start
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |