首页 > 系统相关 >windows环境nacos安装配置

windows环境nacos安装配置

时间:2023-11-23 19:22:33浏览次数:36  
标签:web 23 windows nacos springframework org security 安装

1.官网下载地址: https://github.com/alibaba/nacos/releases

下载Assets下的zip包;

 

本地解压,目录结构: conf,bin,target;

2.查看conf/application.properties,可修改内部的server.port端口号,默认8848;

3.cmd命令到bin目录,执行如下命令启动nacos(默认为集群启动,本次为单机启动)

startup.cmd -m standalone

 看到如下图形和日志信息"Nacos started successfully in stand alone mode"即启动成功;

D:\tools\nacos\bin>startup.cmd -m standalone
"nacos is starting with standalone"

         ,--.
       ,--.'|
   ,--,:  : |                                           Nacos 2.3.0-BETA
,`--.'`|  ' :                       ,---.               Running in stand alone mode, All function modules
|   :  :  | |                      '   ,'\   .--.--.    Port: 8848
:   |   \ | :  ,--.--.     ,---.  /   /   | /  /    '   Pid: 21692
|   : '  '; | /       \   /     \.   ; ,. :|  :  /`./   Console: http://192.168.1.4:8848/nacos/index.html
'   ' ;.    ;.--.  .-. | /    / ''   | |: :|  :  ;_
|   | | \   | \__\/: . ..    ' / '   | .; : \  \    `.      https://nacos.io
'   : |  ; .' ," .--.; |'   ; :__|   :    |  `----.   \
|   | '`--'  /  /  ,.  |'   | '.'|\   \  /  /  /`--'  /
'   : |     ;  :   .'   \   :    : `----'  '--'.     /
;   |.'     |  ,     .-./\   \  /            `--'---'
'---'        `--`---'     `----'

2023-11-23 19:07:31,186 INFO Tomcat initialized with port(s): 8848 (http)

2023-11-23 19:07:31,507 INFO Root WebApplicationContext: initialization completed in 3083 ms

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.alipay.sofa.jraft.util.internal.UnsafeUtil (jar:file:/D:/tools/nacos/target/nacos-server.jar!/BOOT-INF/lib/jraft-core-1.3.12.jar!/) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.alipay.sofa.jraft.util.internal.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-11-23 19:07:36,952 INFO Adding welcome page: class path resource [static/index.html]

2023-11-23 19:07:37,375 WARN You are asking Spring Security to ignore Ant [pattern='/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.

2023-11-23 19:07:37,376 INFO Will not secure Ant [pattern='/**']

2023-11-23 19:07:37,400 INFO Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@dbddbe3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7a83ccd2, org.springframework.security.web.context.SecurityContextPersistenceFilter@29f3c438, org.springframework.security.web.header.HeaderWriterFilter@798cb6d9, org.springframework.security.web.csrf.CsrfFilter@2fe2965c, org.springframework.security.web.authentication.logout.LogoutFilter@6f731759, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5dbbb292, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@587c5c1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@44aa2e13, org.springframework.security.web.session.SessionManagementFilter@2abafa97, org.springframework.security.web.access.ExceptionTranslationFilter@3375ebd3]

2023-11-23 19:07:37,434 INFO Exposing 1 endpoint(s) beneath base path '/actuator'

2023-11-23 19:07:37,498 INFO Tomcat started on port(s): 8848 (http) with context path '/nacos'

2023-11-23 19:07:37,527 INFO Nacos started successfully in stand alone mode. use embedded storage

4.控制台

http://127.0.0.1:8848/nacos/index.html

 

 

标签:web,23,windows,nacos,springframework,org,security,安装
From: https://www.cnblogs.com/chencoolandclear/p/17852264.html

相关文章

  • linux下安装oracle 11g(静默安装)
    关闭selinux关闭防火墙检查安装依赖包yum-yinstallbinutilscompat-libcap1vsftpdgccgcc-c++glibc-develglibcelfutils-libelfdevelcompat-libcap1libaio-develkshlibgcclibstdc++libstdc++-devellibaiolibaio-develmakesysstatunixODBCunixODBC-devel......
  • Ubuntu20.04下安装ROS
    在Ubuntu20.04下安装ROS一、安装虚拟机将Ubuntu安装在虚拟机上,因此首先需要安装虚拟机,下载官网如下,对虚拟机安装本文不做详细介绍,官网下载:DownloadVMwareWorkstationPro二、安装Ubuntu20.04三、安装ROS1.1换源通常使用国外的镜像下载受网络的影响较大且速度慢,因此,使用......
  • 安装Rabbitmq
    1、使用docker拉取镜像。dockersearchrabbitmq2、安装镜像。dockerpullrabbitmq3、运行mq。dockerrun-d--namerabbitmq-p15672:15672-p5673:5672rabbitmq4、通过dockerps-a查看部署的mq容器id,在通过dockerexec-it容器id/bin/bash进入容器内......
  • Nginx安装
    下载Nginx:https://nginx.org/en/download.html1、首先安装ngnix所需的依赖的文件yuminstall-ygccgcc-c++yuminstall-ygccautomakeautoconflibtoolmakeyuminstall-ypcrepcre-develyuminstall-yzlibzlib-develyuminstall-yopensslopenssl-devel2、下......
  • ElasticSearch的安装和使用
    ElasticSearch的安装和使用elasticsearch安装步骤1、下载elasticsearch-7.2.0并解压缩将elasticsearch解压缩到/usr/localtar-zxvfelasticsearch.tar.gz-C/usr/local/2、创建es的用户和用户组由于es不能通过root用户来启动,所以需要创建一个非root的es用户和用户组grou......
  • windows版本--人大金仓数据库连接报错----启动----及替换过期的授权文件
       启动服务命令:1、找到安装目录下server的bin进行cmd C:\ProgramFiles\Kingbase\ES\V8\KESRealPro\V008R006C007B0012\Server\bin2、执行命令:sys_ctl.exe-D"data的存放目录"startsys_ctl.exe-D"C:\ProgramFiles\Kingbase\ES\V8\data"start 3、去官网根......
  • 命令行非交互式发送邮件ForWindows
    2个工具Cmail(更加推荐):https://www.inveigle.net/cmail发现的问题:如果需要调用外部txt作为邮件的body部分,那么该文本编码必须为utf-8下载:https://www.inveigle.net/cmail/download最佳配置实践:https://www.inveigle.net/cmail/examples Blat:https://www.blat.net/下载:https......
  • Windows基础
    403:可能没有访问具体页面,只是访问到目录500:服务器代码可能出现错误了常用的命令在C:\Windows\system32/这个目录C:\Windows\system32/driver\etc\hosts会影响域名解析,优先级要高于DNSC:\Windows\system32\config\sam这个文件中记录了账户和密码,如果忘了了的话在PE模式......
  • Linux安装dotnet运行时
    CentosLinux安装.NET之前,请运行以下命令,将Microsoft包签名密钥添加到受信任密钥列表,并添加Microsoft包存储库。打开终端并运行以下命令:sudorpm-Uvhhttps://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm查找可安装包yumlistdotnet*安装SDK.NET......
  • VMWare安装CentOS7
     一、文件下载VMWare:http://www.vmware.com/VMWare:  http://download3.vmware.com/software/wkst/file/VMware-workstation-full-15.0.0-10134415.exe(密钥:百度)CentOS:http://www.centos.org/download/二、开始安装centos7:1、打开vmwareworkstations,文件->新建......