Easter79 Easter79
3年前
springcloud eureka.instance
1.在springcloud中服务的 InstanceID默认值是:${spring.cloud.client.hostname}:${spring.application.name}:${spring.application.instance\_id:${server.port}},也就是:主机名:应用名:应用端口。如图1
Wesley13 Wesley13
3年前
java通过sina端口提取股票历史数据并存入MySQL
 1.提取股票代码代码见:http://www.oschina.net/code/snippet\_2688840\_55337(http://www.oschina.net/code/snippet_2688840_55337) 2抓取sina股票的json页面数据;代码见:http://www.oschina.net/code/snip
Easter79 Easter79
3年前
SpringBoot2.x配置Https
准备工作需要自签,或者权威机构颁发的证书一张springboot配置Https访问sslhttps访问的端口server.port8085证书,可以存放在resoucrs目录下server.ssl.keystoreclasspath:to
Stella981 Stella981
3年前
Centos7快速安装Rancher
 通过docker,我们可以快速安装rancher安装步骤如下:\root@localhost~\run运行,d后台模式restartalways跟随docker启动,p映射端口,镜像名为rancher/server。docker会自动下载并安装启动root@localhost~dockerrund
Wesley13 Wesley13
3年前
Java面试
<divclass"htmledit\_views"id"content\_views"<pid"maintoc"<strong目录</strong</p<pid"Java%E5%9F%BA%E7%A1%80%EF%BC%9Atoc"style"marginleft:40px;"<ahref"Java%E5%
Stella981 Stella981
3年前
SecureCRT 用ssh key登录配置方法
服务器端配置 OS:Debian6.0.5 复制代码代码如下:aptgetinstallssh安装ssh服务编辑/etc/ssh/sshd\_config配置文件 复制代码代码如下:Port3322修改端口为3322(自定义) PermitRo
Stella981 Stella981
3年前
SpringBoot2.x配置Https
准备工作需要自签,或者权威机构颁发的证书一张springboot配置Https访问sslhttps访问的端口server.port8085证书,可以存放在resoucrs目录下server.ssl.keystoreclasspath:to
Wesley13 Wesley13
3年前
JAVA代码载入史册,但还有80%程序员没有彻底理解IOC...
前几天,在全国抗击新冠肺炎疫情表彰大会上,阿里的三行健康码代码被载入史册。健康码在疫情防控期间,是中国数字化抗疫见证。这三行代码分别是:支付宝团队研发的健康码系统第一行代码;阿里云研发的全国健康码引擎第一行代码;阿里巴巴达摩院研发的新冠肺炎CT影像AI辅助诊断产品第一行代码。!(https://oscimg.oschina.net/o
Stella981 Stella981
3年前
Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later.
查看了进程,nginx,phpfpm都在运行,排除程序错误,那么就是配置的问题了.一个可能的错误,是由于配置中的 fastcgi\_pass配置错了错误的配置如下 server{listen80;server_namelocalhost;
Wesley13 Wesley13
3年前
HTTP协议探究(序章)
1HTTP协议基于TCP协议(1)TCP三次握手连接HTTP客户端(Chrome浏览器):IP:192.168.1.47端口:59875MSS:1460HTTP服务器(Nginx服务器):IP:45.76.37.162