安装pgsql
1、安装 pgsql
yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install postgresql11-server postgresql11-contrib
rpm -aq| grep postgres
/usr/pgsql-11/bin/postgresql-11-setup initdb
systemctl enable postgresql-11
systemctl start postgresql-11
覆盖
/var/lib/pgsql/11/data
postgresql.conf
pg_hba.conf
service postgresql-11 restart
su - postgres
psql -h localhost -U postgres
ALTER USER postgres WITH PASSWORD 'astyun'
\q
安装fs 需要的类库
yum install unixODBC-devel
yum install speex-devel
posted on 2018-05-25 18:08 QQ10053660 阅读(314) 评论(0) 编辑 收藏 举报