概念 在存储区域网络SAN(Storage Area Network)中,逻辑单元号LUN(Logical Unit Number)是用来标识一个逻辑单元的数字,这个逻辑单元是通过SCSI寻址的设备。换句话说,存储系统将物理硬盘进行分区,成为拥有逻辑地址的各个部分,进而允许主机进行访问,这样的一个分 ...
分类:
其他好文 时间:
2020-05-13 12:32:13
阅读次数:
60
1. 本地新增项目 touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://XXX.git 仓库地址 git push -u origin master ...
分类:
其他好文 时间:
2020-05-13 12:26:12
阅读次数:
52
linux连接mysql命令: 连接命令 mysql -h 数据库地址 -u 用户名 -p密码 注意:-p和密码之间没有空格,-u和用户名之间有空格 show variables like "%slow%"; show variables like "%long%"; ...
分类:
数据库 时间:
2020-05-12 13:25:56
阅读次数:
85
问题: 有一段时间没有用码云了,当输入 git push -u origin master命令出现Please make sure you have the correct access rights and the repository exists.错误, 原因: 是git服务器没有发现存储本地 ...
分类:
数据库 时间:
2020-05-12 11:49:41
阅读次数:
99
来源:https://segmentfault.com/a/1190000012550346 当出现403跨域错误的时候 No 'Access-Control-Allow-Origin' header is present on the requested resource,需要给Nginx服务器配 ...
分类:
数据库 时间:
2020-05-11 23:20:01
阅读次数:
79
//删除本地tag git tag -d tagName //删除远程仓库tag (前提 必须有权限) git push origin :tagName 新建tag git tag v1.0.1 -m 'frame init' ...
分类:
其他好文 时间:
2020-05-10 22:59:59
阅读次数:
71
这几天用Gin写个后台管理应用(前后端分离的)发现跨域后session无法共享问题 首先我们先要了解CORS(Cross-Origin-Resource Sharing跨源资源共享) 是什么意思 1:当浏览器脚本Ajax跨域名(同源策略)请求的时候,浏览器会检测该请求是否是简单请求(简单请求头部只包 ...
分类:
其他好文 时间:
2020-05-10 20:54:00
阅读次数:
60
(1)考察目标 1)跨域出现的原因 2)解决的跨域的方式有哪些。 (2)题目分析 1)跨域出现的原因:同源策略。 什么是同源策略:同源策略(Sameoriginpolicy)是一种约定,它是浏览器最核心也最基本的安全功能,如果缺少了同源策略,则浏览器的正常功能可能都会受到影响。可以说Web是构建在同 ...
分类:
其他好文 时间:
2020-05-10 17:13:11
阅读次数:
49
项目中常遇到的几种跨域方案 1.jsonp jsonp属于最老的一种跨域方案了,我在现在的项目中已经很少见到 $('#btn').click(function(){ var frame = document.createElement('script'); frame.src = 'http://l ...
分类:
其他好文 时间:
2020-05-10 11:23:58
阅读次数:
83
1.问题描述:通过Origin是http://localhost:4200请求http://localhost:8081的服务,控制台报错如下,但是Response为200。客户端和服务端IP相同,但是端口不同,存在跨域问题。 XMLHttpRequest cannot load http://lo ...
分类:
其他好文 时间:
2020-05-10 10:36:33
阅读次数:
49