当前位置: 首页 > ai >正文

windows,java后端开发常用软件的下载,使用配置

以下软件尽量从官网下载,流程为:确定版本下载->配置环境变量->修改配置文件->启动

版本选择的话,可参考阿里巴巴和apache官网推荐。

1.idea,jdk,maven,MySQL,tomcat官网下载

maven3.3.9的setting.xml 配置阿里云仓库,jdk1.8,根据需求自己改

 <!-- mirrors

   | This is a list of mirrors to be used in downloading artifacts from remote repositories.

   |

   | It works like this: a POM may declare a repository to use in resolving certain artifacts.

   | However, this repository may have problems with heavy traffic at times, so people have mirrored

   | it to several places.

   |

   | That repository definition will have a unique id, so we can create a mirror reference for that

   | repository, to be used as an alternate download site. The mirror site will be the preferred

   | server for that repository.

   |-->

  <mirrors>

    <!-- mirror

     | Specifies a repository mirror site to use instead of a given repository. The repository that

     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used

     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.

     |

    <mirror>

      <id>mirrorId</id>

      <mirrorOf>repositoryId</mirrorOf>

      <name>Human Readable Name for this Mirror.</name>

      <url>http://my.repository.com/repo/path</url>

    </mirror>

     -->

       <!--拷贝mirrors节点下的全部内容-->

<mirror>

<id>aliyun-central</id>

<mirrorOf>*</mirrorOf>

<name>aliyun central</name>

<url>https://maven.aliyun.com/repository/central</url>

</mirror>

<mirror>

<id>aliyun-public</id>

<mirrorOf>*</mirrorOf>

<name>aliyun public</name>

<url>https://maven.aliyun.com/repository/public</url>

</mirror>

<mirror>

<id>aliyun-spring</id>

<mirrorOf>*</mirrorOf>

<name>aliyun spring</name>

<url>https://maven.aliyun.com/repository/spring</url>

</mirror>

<mirror>

<id>aliyun-spring-plugin</id>

<mirrorOf>*</mirrorOf>

<name>aliyun spring-plugin</name>

<url>https://maven.aliyun.com/repository/spring-plugin</url>

</mirror>

<mirror>

<id>aliyun-apache-snapshots</id>

<mirrorOf>*</mirrorOf>

<name>aliyun apache-snapshots</name>

<url>

https://maven.aliyun.com/repository/apache-snapshots

</url>

</mirror>

<mirror>

<id>aliyun-google</id>

<mirrorOf>*</mirrorOf>

<name>aliyun google</name>

<url>https://maven.aliyun.com/repository/google</url>

</mirror>

<mirror>

<id>aliyun-gradle-plugin</id>

<mirrorOf>*</mirrorOf>

<name>aliyun gradle-plugin</name>

<url>https://maven.aliyun.com/repository/gradle-plugin</url>

</mirror>

<mirror>

<id>aliyun-jcenter</id>

<mirrorOf>*</mirrorOf>

<name>aliyun jcenter</name>

<url>https://maven.aliyun.com/repository/jcenter</url>

</mirror>

<mirror>

<id>aliyun-releases</id>

<mirrorOf>*</mirrorOf>

<name>aliyun releases</name>

<url>https://maven.aliyun.com/repository/releases</url>

</mirror>

<mirror>

<id>aliyun-snapshots</id>

<mirrorOf>*</mirrorOf>

<name>aliyun snapshots</name>

<url>https://maven.aliyun.com/repository/snapshots</url>

</mirror>

<mirror>

<id>aliyun-grails-core</id>

<mirrorOf>*</mirrorOf>

<name>aliyun grails-core</name>

<url>https://maven.aliyun.com/repository/grails-core</url>

</mirror>

<mirror>

<id>aliyun-mapr-public</id>

<mirrorOf>*</mirrorOf>

<name>aliyun mapr-public</name>

<url>https://maven.aliyun.com/repository/mapr-public</url>

</mirror>

</mirrors>

  <!-- profiles

   | This is a list of profiles which can be activated in a variety of ways, and which can modify

   | the build process. Profiles provided in the settings.xml are intended to provide local machine-

   | specific paths and repository locations which allow the build to work in the local environment.

   |

   | For example, if you have an integration testing plugin - like cactus - that needs to know where

   | your Tomcat instance is installed, you can provide a variable here such that the variable is

   | dereferenced during the build process to configure the cactus plugin.

   |

   | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles

   | section of this document (settings.xml) - will be discussed later. Another way essentially

   | relies on the detection of a system property, either matching a particular value for the property,

   | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a

   | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.

   | Finally, the list of active profiles can be specified directly from the command line.

   |

   | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact

   |       repositories, plugin repositories, and free-form properties to be used as configuration

   |       variables for plugins in the POM.

   |

   |-->

  <profiles>

    <!-- profile

     | Specifies a set of introductions to the build process, to be activated using one or more of the

     | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>

     | or the command line, profiles have to have an ID that is unique.

     |

     | An encouraged best practice for profile identification is to use a consistent naming convention

     | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.

     | This will make it more intuitive to understand what the set of introduced profiles is attempting

     | to accomplish, particularly when you only have a list of profile id's for debug.

     |

     | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.

       

    <profile>

          <id>jdk-1.8</id>

          <activation>

              <activeByDefault>true</activeByDefault>

              <jdk>1.8/jdk>

          </activation>

 ​

          <properties>

              <maven.compiler.source>1.8</maven.compiler.source>

              <maven.compiler.target>1.8</maven.compiler.target>

              <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>

          </properties>

    </profile>

    -->

2.seata

https://gitee.com/rabbitsheep99/seata-server-1.6.1

双击bat启动 C:\seata1.6.1\seata-server-1.6.1-master\seata1.6.1\bin>seata-server.bat

3.jmeter

https://mirrors.aliyun.com/apache/jmeter/README.html?spm=a2c6h.25603864.0.0.1ffb69a5lZcCss寻找最近的镜像地址:https://mirrors.aliyun.com/apache/jmeter/README.html?spm=a2c6h.25603864.0.0.1ffb69a5lZcCss

Index of /commons 我最近的镜像地址:Index of /commons 

双击bat启动 C:\jmeter\apache-jmeter-5.5\bin>jmeter.bat

4.nginx

Index of nginx-local https://mirrors.huaweicloud.com/nginx/

双击exe启动,配置文件:

user nginx;

worker_processes auto;

error_log /var/log/nginx/error.log notice;

pid /var/run/nginx.pid;

events {

    worker_connections 20000;

}

http {

    include /etc/nginx/mime.types;

    default_type application/octet-stream;

    log_format main '$remote_addr - $remote_user [$time_local] "$request" '

                    '$status $body_bytes_sent "$http_referer" '

                    '"$http_user_agent" "$http_x_forwarded_for" ';

    log_format stream_log '$remote_addr $upstream_addr - [$time_local] $status $upstream_bytes_sent';

    access_log /var/log/nginx/access.log main;

    sendfile on;

    #tcp_nopush on;

    keepalive_timeout 65;

    gzip on;

    include /etc/nginx/conf.d/*.conf;

}

stream {

    log_format stream_log '$remote_addr $upstream_addr - [$time_local] $status $upstream_bytes_sent';

    upstream proxy {

        server $(ip):$(port);

    }

    server {

        listen 8889;

        proxy_pass proxy;

        access_log /var/log/nginx/proxy.log stream_log;

    }

}

5.Redis

https://github.com/ServiceStack/redis-windows

双击启动 C:\redis\redis-server.exe

或者:

cd C:\redis

redis-server.exe redis.windows.conf

6.nacos

GitCode - 全球开发者的开源社区,开源代码托管平台

往期内容【win11 nacos2.2.1下载,启动】

单机启动:

C:\nacos\nacos-2.2.1\distribution\bin>startup.cmd

-m standalone

7.RocketMQ

下载 | RocketMQ

开启:

C:\MQ\rocketmq-all-4.9.5-bin-release\bin>

start mqnamesrv.cmd
start mqbroker.cmd -n 0.0.0.0:9876

测试收发:
 cd C:\MQ\rocketmq-all-4.9.5-bin-release\bin
 .\tools.cmd org.apache.rocketmq.example.quickstart.Producer
 .\tools.cmd org.apache.rocketmq.example.quickstart.Consumer

8.sentinel

https://github.com/alibaba/Sentinel

cd C:\sentinel
-D参数要加单引号
java '-Dserver.port=18080' '-Dcsp.sentinel.dashboard.server=localhost:18080' '-Dproject.name=sentinel-dashboard' -jar sentinel-dashboard-1.8.6.jar

http://www.xdnf.cn/news/14481.html

相关文章:

  • python校园拼团系统
  • A 股无风不起浪!金融吸血科技
  • 李宏毅2025《机器学习》第一讲-生成式AI:技术突破和未来发展
  • NAT 与代理服务器 -- NAT,NAPT,正向代理,反向代理
  • RabbitMQ概念
  • 基于python的web系统界面登录
  • P7 QT项目----会学天气预报
  • 黑马python(八)
  • 设置环境变量(linux,windows,windows用指令和用界面)
  • AntV G6入门教程
  • CppCon 2017 学习:C++ in Academia
  • 【开源解析】基于Python+Qt打造智能应用时长统计工具 - 你的数字生活分析师
  • 鼎捷T100开发语言-Genero FGL 终极技术手册
  • Mac OS上安装Redis
  • Python 正则表达式
  • 解决戴尔电脑No bootable devices found问题
  • TIA Portal (博图) 中 SCL 语言 REPEAT_UNTIL循环语句的用法介绍及案例
  • 资源占用多,Linux 系统中如何降低 CPU 资源消耗并提升利用率?
  • CentOS 7 虚拟机网络配置异常 典型问题:启动了NetworkManager但是network无法启动
  • 03.【C语言学习笔记】分支和循环
  • 网络层协议 IP 协议介绍 -- IP 协议,网段划分,私有 IP 和 公网 IP,路由
  • 设计模式笔记_创建型_单例模式
  • 【图像处理入门】9. 基础项目实战:从去噪到图像加密
  • 接口适配器模式实现令牌桶算法和漏桶算法
  • 加密、加签、摘要算法对比
  • 自然语言处理【NLP】—— CBOW模型
  • 浅谈快排的退化与优化
  • 鼠标报告描述符与对应的数据结构体
  • 实现汽车焊装线设备互联:DeviceNet与Modbus TCP协议转换网关
  • Debian 编译安装 ruby3.2