当前位置:网站首页>Nacos permissions and databases
Nacos permissions and databases
2022-07-24 11:27:00 【suanday_ sunny】
1、nacos Open permission , modify application.properties Among them nacos.core.auth.enabled=true; Default password nacos/nacos; stay nacos Console modification nacos Password and new user 、 New character 、 Role authorization ;
- A new user
- New character , namely : Connected characters ; Create a new role for a user , Therefore, existing roles cannot be associated with other users (
It's awkward, isn't it); - Role authorization , Authorize read and write permissions for one namespace at a time ;
2、 I'll build a new one read-only Privileged user , Discovery can only be used for config Authorization of , Service registration still needs Write jurisdiction .
3、config The default namespace is public,config Use public Namespace , Cannot write spring cloud Parameters , Because the default public Space ID It's empty. ;
# The following notes if opened , Unable to read the configuration
#spring.cloud.nacos.config.namespace=public
4、 The default data store is embedded Derby database Derby Database access , from Derby Download the distribution package on the official website , Use at least JDK9 Support Derby Command line execution ;ij yes Derby Client command line
# Set up jdk Temporary variable
$ export JAVA_HOME /home/jdk-9.0.4
$ echo $JAVA_HOME
/home/jdk-9.0.4
$ ./ij
ij edition 10.15
ij> connect 'jdbc:derby:/home/nacos/data/derby-data';
ij> show tables;
ij> select * from nacos.users;
ij> select * from nacos.roles;
边栏推荐
- MySQL query field matches the record of a rule
- Exceptions about configuring Postgres parameters
- Research on parameter setting of MATLAB FFT
- Stream stream
- This should be postman, the most complete interface testing tool in the whole network
- 只会“点点点”,凭什么让开发看得起你?
- Self taught software testing talent -- not covered
- Redis cluster setup
- The U.S. Department of Homeland Security launched an investigation into the electronic communication records deleted by the secret service during the riots in the Capitol
- Nodejs CTF Foundation
猜你喜欢

Only "a little bit", why do developers look up to you?

2022, the average salary of the soft tester, after reading it, I was instantly cool

Ctfshow ThinkPHP topic 1

RRPN:Arbitrary-Oriented Scene Text Detection via Rotation Proposals

The third day of hcip mGRE experiment

这才是开发者神器正确的打开方式!

性能测试总结(一)---基础理论篇

Use Modelsim to independently simulate Altera and Xilinx IP cores

链表——142. 环形链表 II

Stream stream
随机推荐
Idea runs the wordcount program (detailed steps)
Ask n! How many zeros are there behind
FastCGI运行原理及php-fpm参数配置
What is the difference between strong reference, soft reference, weak reference and virtual reference?
什么是云原生,云原生技术为什么这么火?
HDU5667 Sequence
[QNX hypervisor 2.2 user manual]9.2 CmdLine
Nodejs CTF Foundation
有关并行的两个重要定律
【Golang】golang实现sha256加密函数
Introduction to Devops and common Devops tools
Paging query of employee information of black maredge takeout
[golang] golang实现截取字符串函数SubStr
What is the charm of CSDN members? What's the use of him?
Leetcode 257. 二叉树的所有路径
[golang] before method of time type in golang
[golang] golang implements the URLEncode URLDecode function
HCIP OSPF接口网络类型实验 第四天
Semaphore详解
【C】 Understanding C language variable scope and life cycle from memory