使用yum安装postgresql 10 dev
来源:互联网 发布:国家网络应急 编辑:程序博客网 时间:2024/05/20 13:09
环境centos 7 64位数据库:pg10dev参考网址:https://yum.postgresql.org/news10snapshot-ready-for-testing.phpyum installationhttps://wiki.postgresql.org/wiki/YUM_Installation创建用户[root@localhost ~]#useradd postgres配置你的yum存储库[root@localhost ~]# vim /etc/yum.repos.d/CentOS-Base.repo[base] 和[updates] 区段之间添加:exclude=postgresql*安装pg的rpm文件[root@localhost ~]# yum localinstall https://download.postgresql.org/pub/repos/yum/testing/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm安装pg数据库[root@localhost ~]# yum list postgresql*[root@localhost ~]# yum install postgresql10-server.x86_64[root@localhost ~]# mkdir postgres /var/lib/pgsql/10/data初始化数据库[root@localhost ~]# /usr/pgsql-10/bin/postgresql10-setup initdbInitializing database ... OK [root@localhost ~]# su - postgres[postgres@localhost ~]$ /usr/pgsql-10/bin/pg_ctl -D /var/lib/pgsql/10/data start[postgres@localhost ~]$ /usr/pgsql-10/bin/psql -p 5432psql (10devel)输入 "help" 来获取帮助信息.postgres=#安装完成!
0 0
- 使用yum安装postgresql 10 dev
- Yum安装PostgreSQL
- yum安装postgresql
- CentOS下,yum安装PostgreSQL
- CentOS下yum安装PostgreSQL
- postgresql服务端安装(yum)
- Fedora下PostgreSQL yum安装并初始化
- CentOS 6.6通过yum 安装PostgreSQL 9.4
- postgresql 数据库安装使用
- Linux Postgresql 安装,使用
- PostgreSQL 安装,使用总结
- PostgreSQL安装使用
- postgresql 安装使用
- yum安装与使用
- yum 安装使用 mysql
- 使用yum安装CDH5
- 使用yum安装mysql
- 使用yum安装mysql
- Java网络编程
- WebUploader重复多次上传问题
- ssh连不上问题解决办法
- 【腾讯Bugly干货分享】Android 插件技术实战总结
- unity实现简单的加密使用次数限制时间限制功能
- 使用yum安装postgresql 10 dev
- 使用spring注解注入属性
- Leetcode 101. Symmetric Tree
- Hihocoder-1514 偶像的条件
- ROS-roslisp-hello
- error lnk2005解决办法
- 47-将多进程并发服务器改成 IO 复用
- leetcode 20
- 学习笔记之——Android中的Picasso实现圆形头像、圆角图片工具类