``` PGSETUP_INITDB_OPTIONS="-E UTF-8 -D 数据路径" /usr/edb/as12/bin/edb-as-12-setup initdb 注意 更改数据路径需要修改 service 文件 ``` ``` systemctl start edb-as-12 ```