已安装Postgres-XC
$>sudo apt-get install postgres-xc然后
$ postgres -V
postgres (PostgreSQL) 9.2.4在此之后,我尝试使用以下方法启动Postgres服务器。
方法1
$>sudo postgres --coordinator -D DN2
"root" execution of the PostgreSQL server is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise. See the documentation for
more information on how to properly start the server.method2
$ sudo -i -u postgres
sudo: unknown user: postgres
sudo: unable to initialize policy plugin并安装了pgadmin3也从那里我想连接Postgres服务器。
启动Postgres-XC服务器的正确方法是什么?
上述步骤是否正确?如果是,它有什么问题?
发布于 2016-09-02 15:18:27
要安装Postgres,最好的方法是使用enterpriseDB。
从下面的URL查看一些下载程序安装程序部分。
https://www.postgresql.org/download/linux/ubuntu/下载Postgres
http://www.enterprisedb.com/products-services-training/pgdownload#linux安装Postgres
http://tutorialforlinux.com/2014/02/20/how-to-install-latest-postgresql-9-x-on-linux-mint-16-petra-3264bit-linux-easy-guide/https://stackoverflow.com/questions/39272265
复制相似问题