(openGauss 2.1.0 build 590b0f8e) compiled at 2021-09-30 14:29:04 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 7.3.0, 64-bit
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
nacos-2.2.0\distribution\target\nacos-server-2.2.0.tar
nacos-2.2.0\distribution\target\nacos-server-2.2.0.zip
nacos-2.2.0\distribution\target\nacos-server-2.2.0.tar\conf\postgresql-schema.sql
nacos-2.2.0\distribution\target\nacos-server-2.2.0.zip\conf\postgresql-schema.sql
#*************** Config Module Related Configurations ***************#
### Config of DB:
db.num=1
nacos.plugin.datasource.log.enabled=true
### Connect URL of MYSQL:
# spring.sql.init.platform=mysql
# db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
# db.user.0=nacos
# db.password.0=nacos
### Connect URL of POSTGRESQL:
spring.sql.init.platform=postgresql
db.pool.config.driver-class-name=org.postgresql.Driver
db.url.0=jdbc:postgresql://127.0.0.1:5432/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.user.0=nacos
db.password.0=nacos
You can download the package from the latest stable release.
Take release nacos-server-2.2.0.zip
for example:
unzip nacos-server-2.2.0.zip
cd nacos/bin
On the Linux/Unix/Mac platform, run the following command to start server with standalone mode:
sh startup.sh -m standalone
On the Windows platform, run the following command to start server with standalone mode. Alternatively, you can also double-click the startup.cmd
to run NacosServer.
startup.cmd -m standalone