======PostgreSQL10 CentOS7=================
FYI:https://tecadmin.net/install-postgresql-server-centos/

##1 – 增加源 Add Postgres Yum Repository
rpm -Uvh https://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm
##2 – 安装 Install PostgreSQL 10 Server
yum install postgresql10-server postgresql10
##3 – 初始化 Initialize PGDATA
/usr/pgsql-10/bin/postgresql-10-setup initdb
... wait ... PostgreSQL data directory Path: /var/lib/pgsql/10/data/
##4 – 启动 Start PostgreSQL Server
systemctl start postgresql-10.service
systemctl enable postgresql-10.service
##5 – 验证 Verify PostgreSQL Installation
su - postgres -c "psql"
psql (10.0)
Type "help" for help.
postgres=#
##6 – 修改密码 You may create a password for user postgres for security purpose.
postgres=# \password postgres
...
======pgadmin=======================
FYI:https://people.planetpostgresql.org/devrim/index.php?/archives/96-Installing-pgAdmin4-3.X-on-RHEL-CentOS-7-and-Fedora-27.html

安装源,同postgresql...
https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm
https://yum.postgresql.org /10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm

##1 pgadmin 安装
yum install pgadmin4
##2 运行shell脚本
/usr/pgadmin4/bin/pgadmin4-web-setup.sh
输入登陆邮箱95...qq.com及密码pg123...
##3.1 For desktop mode on non-GNOME environment, please run this command:
yum (or dnf) install pgadmin4-desktop-common
##3.2 For desktop mode on GNOME environment, please run this command:
yum (or dnf) install pgadmin4-desktop-gnome
应用程序里的pgadmin快捷方式,打开,进入浏览器:
http://127.0.0.1:59240/browser/

============================
https://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools
https://wiki.postgresql.org/wiki/数据库对比
https://yum.postgresql.org/files/PostgreSQL-RPM-Installation-PGDG.pdf
======================================

修改数据库管理帐号postgres密码:

root下:su postgres, 然后再:psql, 进入:postgres=# (help,具体命令需要;结尾,例如)
postgres=# ALTER USER postgres WITH PASSWORD 'abc123';
ALTER ROLE
postgres=#

转载于:https://www.cnblogs.com/sztom/p/9489371.html

CentOS7安装PostgreSQL10,pgadmin4相关推荐

  1. centos7 nginx配置php7,centos7安装并配置nginx+php,centos7nginx

    centos7安装并配置nginx+php,centos7nginx centos7安装并配置nginx+php 安装nginx yum install nginx 设置nginx开启起动 syste ...

  2. centos7安装配置pgAgent

    centos7安装pgagent: 默认cmake已经安装 编译wxGTK https://excellmedia.dl.sourceforge.net/project/wxwindows/2.8.7 ...

  3. centos7 安装mysql php_Centos7安装mysql与php的方法

    本文主要和大家分享Centos7安装mysql与php的方法,希望能帮助到大家. 相关mysql视频教程推荐:<mysql教程> 官网下载安装mysql-server 依次使用下面三个命令 ...

  4. Centos7安装Apache和PHP,包含配置过程

    本文主要讲的是本人在迁移php网站相关软件的安装和配置过程,以及一下问题的解决步骤.通过阅读本文能够知道如何迁移php网站,如何配置httpd服务使得它能够解析php文件以及如何解决迁移过程中的异常问 ...

  5. LINUX CentOS7安装字体库

    LINUX CentOS7安装字体库 2017年12月26日 17:06:07 q260996583 阅读数:4866更多 个人分类: linux JAVA画图时常用到Font 类对象 这样的对象依赖 ...

  6. centos7安装mysql缺失依赖_CentOS7安装mysql5.7不成功,解决依赖包之后还是无法安装成功...

    [root@xg79 ~]# yum -y installmysql-community-server ............. Error: Package:mysql-community-ser ...

  7. linux tomcat7怎么安装,centos7安装Tomcat7,

    centos7安装Tomcat7, 一.环境 centos7 linux apache-tomcat-7.0.92.tar.gz:链接:https://pan.baidu.com/s/1-clhIjD ...

  8. CentOS7安装CDH 第三章:CDH中的问题和解决方法

    CentOS7安装CDH 第三章:CDH中的问题和解决方法 参考文章: (1)CentOS7安装CDH 第三章:CDH中的问题和解决方法 (2)https://www.cnblogs.com/yang ...

  9. centos7 安装 xfce桌面

    最小化centos7安装后 1.先安装桌面协议,执行命令yum groupinstall -y "X Window system" 2.执行yum install -y epel- ...

最新文章

  1. 深入理解委托——为什么C#要引入委托
  2. 5G NGC — NWDAF 网络智能分析功能
  3. ios11,弹出层内的input框光标错位 键盘弹出时,输入信息,光标一直乱跳
  4. 性能分析工具 Android TraceView
  5. Unity3dShader_边缘发光效果
  6. ppt倒计时3分钟_PPT做的又慢又丑?花3分钟学会这5个PPT神技巧,快速做出好看PPT...
  7. Android跨屏拖动item,android中如何实现两个listview中的item可以互相拖拽移位?
  8. mybatis-plus 会自动增加 order by_python自动撸支付宝基金答题红包
  9. 数据绑定,vs2005
  10. 【2012百度之星资格赛】E:C++ 与Java
  11. 命令提示符操作及Java的特点
  12. MapGIS入门教程——基础操作
  13. 关于PHP 源码 加密的 一些 学习(黑刀)
  14. Flutter Web开发 浏览器运行
  15. 鸿蒙系统共享电脑文件,鸿蒙Hi3516通过NFS挂载方式与Windows共享文件
  16. 关于Video Src 带有 blob:http的视频如何下载的问题
  17. MongoDB的用户管理总结
  18. struts2 数据校验
  19. 简单算法 - 链表逆序思路详解
  20. 如何清洁你脏兮兮的笔记本电脑?

热门文章

  1. java模拟网易邮箱登录_java+selenium 实现网易邮箱登录功能
  2. 兆比特每秒和兆字节每秒_宽带中的“M(兆)”是什么意思?
  3. 必须声明标量变量 @列名
  4. IntelliJ IDEA 2018.2设置背景图片及透明度
  5. 猜数游戏c语言编程while,【游戏编程】猜数字游戏(C语言)
  6. 界址点圆圈怎么生成_手机联系人怎么加入黑名单
  7. 系统学习机器学习之参数方法(一)
  8. 纯新手DSP编程--5.16--目标和主机设置
  9. python xlutils教程_python xlutils复制表格使用方法
  10. java 从m个数中均匀找出n个数_M个数里面找出最大的N个数