xud6的笔记本
  • 主页
  • Centos
  • SELinux
  • FreeIPA
  • node.js
  • ember.js
  • Hyper-V
  • Windows
  • Embedded
  • Linux
  • 树莓派
  • MACOS

postgresql

A collection of 1 post
centos

centos安装postgresql并配置

安装postgresql yum install -y postgresql-server 初始化数据库 postgresql-setup initdb 允许外部访问数据库 nano /var/lib/pgsql/data/postgresql.conf 替换listen_addresses = 'localhost'为listen_addresses = '*' 允许通过密码登录 nano /var/lib/pgsql/data/pg_hba.conf 将ident替换为md5 # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all
2015年3月28日 1 min read
Page 1 of 1
xud6的笔记本 © 2025
Powered by Ghost