Commit 2ca34885 authored by 徐鸿's avatar 徐鸿

Update README.md

parent 675fc3c0
......@@ -40,11 +40,13 @@ source /etc/profile
```
初始化:
su - postgres -c "/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data --locale=zh_CN.UTF-8 -E UTF-8"
su - postgres -c "/usr/pgsql-10/bin/initdb --locale=zh_CN.UTF-8 -E UTF-8"
启动:
su - postgres -c "/usr/gisdeploy/pgsql/bin/pg_ctl -l logfile start"
su - postgres -c "/usr/pgsql-10/bin/pg_ctl -D /var/lib/pgsql/10/data -l logfile start"
停止:
su - postgres -c "/usr/gisdeploy/pgsql/bin/pg_ctl stop"
su - postgres -c "/usr/pgsql-10/bin/pg_ctl stop"
连接数据库:
su - postgres -c "/usr/pgsql-10/bin/psql"
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment