`
文章列表
1、  设备环境 1.1  软件环境:     (1) 执行命令:cat /etc/issue 查看ubuntu版本      (2)执行命令:cat /proc/version  (或 uname -a )查看内核版本 2、 
    1、  设备环境 1.1  软件环境:     (1) 执行命令:cat /etc/redhat-release 查看CentOS版本          CentOS Linux release 7.3.1611 (Core)  (2)执行命令:cat /proc/version  查看内核版本 内核:4.8.5 (后面会用到) 2、   配置环境 2.1  方法及步骤: (1)安装对应版本内核源码包、gcc编译器          执行命令:
1、  设备环境 1.1  硬件环境: • NF5280M5   4路服务器 • NVIDIA Tesla V100 1.2软件环境: • Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-36-generic x86_64) • Openstack Queens版本 2、   配置操作系统 2.1  方法及步骤: (1)BIOS中打开硬件辅助虚拟化功能          VT(VT-x)及VT-d支持,需要将相关支持设置为enable,默认开启         路径:Processor—IIO Configuration—Int ...
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.inspur.inserver.util.exception.MyException; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import o ...
public static void main(String[] args) throws SSLException { RequestEntity requestEntity = new RequestEntity(); requestEntity.setUserId("dsds"); requestEntity.setRegion("dasrjasl"); requestEntity.setProductType("fdsfgsf"); List<String> ids ...
import java.util.Map; import io.netty.handler.ssl.SslContext; import io.netty.handler.ssl.SslContextBuilder; import io.netty.handler.ssl.util.InsecureTrustManagerFactory; import org.springframework.http.HttpMethod; import org.springframework.http.MediaType; import org.springframework.http.c ...
  public static WebClient createWebClient() { SslContext sslContext = null; try { sslContext = SslContextBuilder .forClient() .trustManager(InsecureTrustManagerFactory.INSTANCE) .build(); } catch (SSLException e) { e. ...
  public static RestTemplate buildRestTemplate() { RestTemplate restTemplate = new RestTemplate(); if (ignoreSSL) {//ignoreSSL为true时,绕过证书 HttpComponentsClientHttpRequestFactory factory = new HttpComponentsClientHttpRequestFactory(); factory.setConnectionRequestTimeout ...
   public static CloseableHttpClient getHttpsClient() { CloseableHttpClient httpClient; if (ignoreSSL) {//ignoreSSL为true时,绕过证书 SSLContext sslContext = null; try { sslContext = SSLContexts.custom().loadTrustMaterial(null, new TrustStrategy() { ...
 版本:本文Angualr 版本基于6.1.0 背景:在学习官方Hero教程到路由这一章时,想在IE打开 http://localhost:4200/dashboard ,后台报错,不兼容。 解决方法:在工程中找到 polyfills.ts 这个文件打开,内容如下(已修改完成): /** * This file includes polyfills needed by Angular and is loaded before the app. * You can add your own extra polyfills to this file. * * This fi ...
Global site tag (gtag.js) - Google Analytics