当前位置:网站首页>Centos7 install postgresql and enable remote access
Centos7 install postgresql and enable remote access
2022-08-02 02:00:00 【niuge No.1】
1. Installation tutorial
Download Page/Download: WorldThe most powerful open source database on...
Source code installation guideQuick reference for Linux platform compilation and installation (Centos platform/Pg12.2 as an example):wget https://ftp.postgresql.org/pub/source/v12.2/postgresql-12.2.tar.bz2tar xjvf postgresql*.bz2 #Extract to a directorycd potgresql-12.2./configure --prefix=/opt/pgsql #To be installed to /opt/pgsqlmake worldmake install-worldadduser postgres #Add a new user, the system prompts to give a new user passwordmkdir /opt/pgsql/data #Create database directorychown -R postgres:postgres /opt/pgsql/datasu - postgres #Use the postgres account to operate/opt/pgsql/bin/initdb -D /opt/pgsql/data #Initialize the database/opt/pgsql/bin/pg_ctl -D /opt/pgsql/data -l logfile start #Start the database/opt/pgsql/bin/createdb genericdb #Assume the database name is gerericdb)/opt/pgsql/bin/psql genericdb # (into the database)2. In the middle of the readline error, the solution:
A readline error occurred when installing postgresql- comeTeapot - Blog Garden
Install readline-devel and zlib-devel packages
yum -y install -y readline-devel;yum install zlib-devel;3. Open remote connection
边栏推荐
- Record the pits where an error occurs when an array is converted to a collection, and try to use an array of packaging types for conversion
- Redis 持久化 - RDB 与 AOF
- Newton's theorem and related corollaries
- 3. Bean scope and life cycle
- 哈希冲突和一致性哈希
- Day115.尚医通:后台用户管理:用户锁定解锁、详情、认证列表审批
- 字节给我狠狠上了一课:危机来的时候你连准备时间都没有...
- 一本适合职场新人的好书
- Basic use of typescript34-class
- 使用百度EasyDL实现厂区工人抽烟行为识别
猜你喜欢

【图像融合】基于加权和金字塔实现图像融合附matlab代码

Chengdu openGauss user group recruit!

Entry name ‘org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt’ collided

云和恩墨:让商业数据库时代的价值在openGauss生态上持续繁荣

垃圾回收器CMS和G1

Day115.尚医通:后台用户管理:用户锁定解锁、详情、认证列表审批

typescript30-any类型

6-24漏洞利用-vnc密码破解

Hash collisions and consistent hashing

MySQL优化策略
随机推荐
Rust P2P网络应用实战-1 P2P网络核心概念及Ping程序
6-24 exploit-vnc password cracking
C语言之插入字符简单练习
Some insights from 5 years of automated testing experience: UI automation must overcome these 10 pits
【刷题篇】打家劫舍
typescript29-枚举类型的特点和原理
【LeetCode每日一题】——654.最大二叉树
力扣 1374. 生成每种字符都是奇数个的字符串
秒懂大模型 | 3步搞定AI写摘要
Constructor instance method inheritance of typescript38-class (implement)
力扣 1161. 最大层内元素和
ofstream,ifstream,fstream读写文件
Analysis of volatile principle
云和恩墨:让商业数据库时代的价值在openGauss生态上持续繁荣
Day116. Shangyitong: Details of appointment registration ※
软件测试 接口自动化测试 pytest框架封装 requests库 封装统一请求和多个基础路径处理 接口关联封装 测试用例写在yaml文件中 数据热加载(动态参数) 断言
typescript37-class的构造函数实例方法继承(extends)
Constructor instance method inheritance of typescript37-class (extends)
Redis Subscription and Redis Stream
For effective automated testing, these software testing tools must be collected!!!