vim /etc/sysconfig/network-scripts/ifcfg-ens33 增加如下内容 DNS1=8.8.8.8 DNS2=114.114.114.114 PEERDNS="no" 重启网络 service network restart ...
分类:
其他好文 时间:
2021-06-07 20:27:38
阅读次数:
0
####出现错误 提示信息: router.beforeEach((to, from, next) => { if (!storage.getItem('userInfo')) { console.log('error') next({ path: '/login' }) } else { cons ...
分类:
其他好文 时间:
2021-06-06 19:32:40
阅读次数:
0
###Oracle Instant Client下载 下载地址: https://www.oracle.com/cn/database/technology/instant-client.html 根据需要选择对应的版本,下载所需的软件包 以我为例,我选择的是适用于 Linux x86-64(64 ...
分类:
系统相关 时间:
2021-06-06 19:21:46
阅读次数:
0
cookie与session 由来及简介 HTTP协议四大特性 1.基于请求响应 2.基于TCP、IP作用于应用层之上 3.无连接 4.无状态 基于HTTP协议的通信无法记录客户端状态 但是现在很多软件都需要记录用户的状态 为了解决这个问题 发明了cookie session等一系列的技术 ? co ...
分类:
其他好文 时间:
2021-06-06 19:20:58
阅读次数:
0
window下安装: 1.到官网上下载mysql(zip包) 》①mysql的bin目录下新建my.ini文件,配置参考如下: 》②path中配置好环境变量 》③以管理员身份运行mysql服务 mysql --install 安装服务,控制台会提示:Service successfully inst ...
分类:
数据库 时间:
2021-06-06 18:54:05
阅读次数:
0
1,拉取镜像 docker pull nacos/nacos-server:1.3.2 docker images | grep nacos-server 2,运行容器 docker run --name nacos-server -e MODE=standalone -e MYSQL_SERVIC ...
分类:
数据库 时间:
2021-06-05 18:34:43
阅读次数:
0
这个例子的完整源代码: import { Component, OnInit, Injectable, Injector } from '@angular/core'; @Injectable() class UsefulService { constructor(){ console.log("U ...
1.写个配置类CorsConfig (如果不行,可以不写此类,和springcloud的版本有关) package net.youqu.micro.service.config; import org.springframework.context.annotation.Bean; import o ...
分类:
其他好文 时间:
2021-06-05 18:32:57
阅读次数:
0
docker删除镜像报错处理,Error response from daemon: conflict: unable to delete a945e7fd5401 (cannot be forced) - image has dependent child images ,删除为none的镜像 ...
分类:
其他好文 时间:
2021-06-05 18:28:16
阅读次数:
0
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2021-06-05 17:51:23
阅读次数:
0