======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=#

CentOS7安装PostgreSQL10,pgadmin4的更多相关文章

  1. centos7 安装postgresql10

    https://blog.csdn.net/rudy5348/article/details/79299162

  2. 在CentOS7(虚拟机)下通过源码安装Postgresql10以及基本配置

    操作系统:CentOS7 安装文件:postgresql-10.0.tar.gz 系统环境:gcc.Python 1:源码安装 [postgres@localhost ~]# tar zxvf pos ...

  3. Ubuntu18.04安装postgresql-10

    Ubuntu18安装postgresql-10 最近切换Ubuntu作为办公系统,所有软件安装都要重来一遍. 官方文档: https://www.postgresql.org/download/lin ...

  4. HP服务器 hp 360g5 centos7安装问题

    HP服务器  hp 360g5 centos7安装问题 一 :启动盘无法识别硬盘 1.进入安装光盘,用上下键选择安装centos--Install Centos7(注意不可按Enter键),如图: 2 ...

  5. CentOS7 安装Mono及Jexus

    CentOS7安装Mono及Juxes 1 安装Mono 1.1 安装yum-utils 因为安装要用到yum-config-manager,默认是没有安装的,所以要先安装yum-utils包.命令如 ...

  6. CentOS7安装mysql提示“No package mysql-server available.”

    针对centos7安装mysql,提示"No package mysql-server available."错误,解决方法如下: Centos 7 comes with Mari ...

  7. CentOS7安装Oracle 11gR2 安装

    概述 Oracle 在Linux和window上的安装不太一样,公司又是Linux系统上的Oracle,实在没辙,研究下Linux下Oracle的使用,oracle默认不支持CentOS系统安装,所以 ...

  8. Centos7安装完毕后重启提示Initial setup of CentOS Linux 7 (core)的解决方法

    问题: CentOS7安装完毕,重新开机启动后显示: Initial setup of CentOS Linux 7 (core) 1) [x] Creat user 2) [!] License i ...

  9. centos7安装eclipse

    centos7安装eclipse Eclipse是一个集成开发环境(IDE),包含一个基工作区和定制环境的可扩展插件系统.大部分使用 Java 编写,Eclipse 可以用来开发应用程序.通过各种插件 ...

随机推荐

  1. 两点(DFS)

    福克斯在玩一款手机解迷游戏,这个游戏叫做”两点”.基础级别的时候是在一个n×m单元上玩的.像这样: 每一个单元有包含一个有色点.我们将用不同的大写字母来表示不同的颜色. 这个游戏的关键是要找出一个包含 ...

  2. LY.JAVA面向对象编程思想概述

    面向对象 2018年7月5日  逆袭之旅DAY09 2018年7月5日  逆袭之旅DAY09 2018-07-07

  3. mysql 下载资源地址

    http://mirror.neu.edu.cn/mysql/Downloads/MySQL-5.6/

  4. Ubuntu16.04无法使用WiFi

    本人联想431,安装ubuntu16.04  lts,打开之后没有wife,参考这个解决 http://blog.csdn.net/bubblem/article/details/53575017 U ...

  5. jsp下载excel文件

    jsp下载excel文件的的实现方法很多,今天也遇到这个问题,乱敲了一阵,终于搞定了,记下来和朋友们分享吧. 假设需要下载excel文件的jsp页面名为:down.jsp 对应的后台action名为: ...

  6. MYSQL数据库字母数字混合字段排序问题

    对MySQL数据表里的一个字符型字段排序,其内容格式为一位字母+顺序数字.数字没有前导零,长度不固定.这种含字母的数字序列,排序出来的结果和我们想要的结果是不一样的,因为它不是纯数字,只能按字符规则排 ...

  7. mongoose的笔记

    本文地址转载自:http://www.cnblogs.com/egger/archive/2013/06/14/3135847.html  本文将介绍操作符的使用,配合操作符,我们可以执行更加复杂的操 ...

  8. 《图解HTTP》读书笔记(转)

    reference:https://www.cnblogs.com/edisonchou/p/6013450.html   目前国内讲解HTTP协议的书是在太少了,记忆中有两本被誉为经典的书<H ...

  9. spring相关jar包的作用讲解(转)

    Spring各个jar包作用 原文链接:https://www.cnblogs.com/1995hxt/p/5255210.html    Spring AOP:Spring的面向切面编程,提供AOP ...

  10. mysql cast

    之前讲到了orcale的字符串与日期等类型的转换,现在我们来看看Mysql是怎么转换的.比起orcale,MySQL相比之下就简单得多了,只需要一个Cast()函数就能搞定.其语法为:Cast(字段名 ...