Commit a2a2753e authored by 徐鸿's avatar 徐鸿

Update README.md 数据库语言环境设置为中文字符集

parent b7e6b769
......@@ -39,8 +39,9 @@ source /etc/profile
## 4. postgresql
```
初始化:
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/gisdeploy/pgsql/bin/initdb -D /usr/gisdeploy/pgsql/data"
su - postgres -c "/usr/gisdeploy/pgsql/bin/pg_ctl -l logfile start"
停止:
su - postgres -c "/usr/gisdeploy/pgsql/bin/pg_ctl stop"
......
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