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

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

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

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

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

 

 

   

       

aliyun-central

*

aliyun central

https://maven.aliyun.com/repository/central

aliyun-public

*

aliyun public

https://maven.aliyun.com/repository/public

aliyun-spring

*

aliyun spring

https://maven.aliyun.com/repository/spring

aliyun-spring-plugin

*

aliyun spring-plugin

https://maven.aliyun.com/repository/spring-plugin

aliyun-apache-snapshots

*

aliyun apache-snapshots

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

aliyun-google

*

aliyun google

https://maven.aliyun.com/repository/google

aliyun-gradle-plugin

*

aliyun gradle-plugin

https://maven.aliyun.com/repository/gradle-plugin

aliyun-jcenter

*

aliyun jcenter

https://maven.aliyun.com/repository/jcenter

aliyun-releases

*

aliyun releases

https://maven.aliyun.com/repository/releases

aliyun-snapshots

*

aliyun snapshots

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

aliyun-grails-core

*

aliyun grails-core

https://maven.aliyun.com/repository/grails-core

aliyun-mapr-public

*

aliyun mapr-public

https://maven.aliyun.com/repository/mapr-public

 

 

   

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

你可能感兴趣的:(windows)