01 2020 档案

摘要:location / { #处理浏览器OPTIONS 预请求,默认返回200 if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Credentials' true; add_header 'Access-Contr 阅读全文
posted @ 2020-01-27 12:08 雷神约 阅读(177) 评论(0) 推荐(0)
摘要:location / { try_files $uri $uri/ /index.html; } location ^~ /api/ { proxy_redirect off; proxy_set_header HOST $host; proxy_set_header X-Real-IP $remo 阅读全文
posted @ 2020-01-15 17:30 雷神约 阅读(322) 评论(0) 推荐(0)
摘要:首先,打开centos7,在选择进入系统的界面按“e”进入编辑页面。 然后按向下键,找到以“Linux16”开头的行,在该行的最后面输入“init=/bin/sh” 接下来按“ctrl+X”组合键进入单用户模式 然后输入“ls”查询当前位置(也可以省略),回车 接下来再输入“mount -o rem 阅读全文
posted @ 2020-01-14 10:22 雷神约 阅读(277) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-09 13:50 雷神约 阅读(290) 评论(0) 推荐(0)
摘要:如何用Pyinstaller打包显示版本号的exe程序参考链接:https://zhuanlan.zhihu.com/p/20731500https://blog.csdn.net/hurray123/article/details/48521845 关于pyinstaller的用法可以在命令行下输 阅读全文
posted @ 2020-01-08 11:33 雷神约 阅读(2528) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-06 15:51 雷神约 阅读(247) 评论(0) 推荐(0)
摘要:Nginx 首先要明白,Nginx 采用的是多进程(单线程) & 多路IO复用模型。使用了 I/O 多路复用技术的 Nginx,就成了”并发事件驱动“的服务器。 异步非阻塞(AIO)的详解http://www.ibm.com/developerworks/cn/linux/l-async/ 多进程的 阅读全文
posted @ 2020-01-03 14:31 雷神约 阅读(2072) 评论(0) 推荐(1)
摘要:Linux的用户空间与内核空间 Linux的用户空间与内核空间 Linux的用户空间与内核空间 转载SJLin96 发布于2018-09-03 10:51:23 阅读数 5159 收藏 展开 一. 简介 Linux 操作系统和驱动程序运行在内核空间,应用程序运行在用户空间。两者不能简单地使用指针传递 阅读全文
posted @ 2020-01-03 14:01 雷神约 阅读(325) 评论(0) 推荐(0)