1、安装 pgsql
yum install https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.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