当前位置:网站首页>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;
边栏推荐
- Altium one key automatic BOM
- Xilinx FPGA Microblaze AXI_ IIC usage and experience
- Idea runs the wordcount program (detailed steps)
- RetinaNet:Focal Loss for Dense Object Detection
- 2022, the average salary of the soft tester, after reading it, I was instantly cool
- Blue Bridge Cup - binary conversion exercise
- JMeter runtime controller
- [golang] golang implements simple Memcache
- Easy to understand ES6 (IV): template string
- HDU5667 Sequence
猜你喜欢
随机推荐
High speed ADC test experience
Druid encryption command
HDU 3351:Seinfeld
《Nature》论文插图复刻第3期—面积图(Part2-100)
【反序列化漏洞-01】序列化与反序列化简介
This is the right way for developers to open artifact!
Zynq TTC usage
【Golang】golang中time类型的before方法
Jmeter-If控制器
Fifty lectures of Euler (I)
JPS has no namenode and datanode reasons
【C】 Recursive and non recursive writing of binary tree traversal
Fastcgi operation principle and PHP FPM parameter configuration
Text message verification of web crawler
Leetcode 112. path sum
Sorting out the ideas of data processing received by TCP server, and the note of select: invalid argument error
使用Prometheus+Grafana实时监控服务器性能
MicroBlaze adds a custom IP core and attaches the Axi bus to realize ssd1306 OELD drive
Classification and introduction of arm and series processors
在线客服聊天系统源码_美观强大golang内核开发_二进制运行傻瓜式安装_附搭建教程









