...
netstat -anp |grep 8090
5、安数据库
信息 |
---|
yum search postgres su postgres initdb pg_ctl start psql -U postgres ALTER USER postgres WITH PASSWORD '123456'; |
yum search postgres
yum install postgresql-server.i686 -y
(可选,改密码)
##passwd postgres
su postgres
(可选) vi .bash_profile
PGDATA=/数据库安装路径
initdb
(可选 可访问IP)
##vi postgresql.conf
listen_addresses "*"
## vi pg_hba.conf
host all all 0.0.0.0/0 md5
pg_ctl start
psql -U postgres
ALTER USER postgres WITH PASSWORD '123456';
CREATE DATABASE confluence WITH OWNER postgres;