12 2020 档案

摘要:在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } 阅读全文
posted @ 2020-12-31 18:35 悬剑丶 阅读(133) 评论(0) 推荐(0) 编辑
摘要:devtmpfsi实在清理不干净又不能清空服务器的话 添加如下 shell 脚本,十分钟执行一次 ps -aux | grep kinsing |grep -v grep|cut -c 9-15 | xargs kill -9 ps -aux | grep kdevtmpfsi |grep -v g 阅读全文
posted @ 2020-12-30 14:38 悬剑丶 阅读(85) 评论(0) 推荐(0) 编辑
摘要:#测试网址: http://localhost/blog/testurl.php?id=5 //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."<br>"; #localhost //获取网页地址 echo $_SERVER['PHP_SELF']."<br>"; #/b 阅读全文
posted @ 2020-12-23 12:03 悬剑丶 阅读(446) 评论(0) 推荐(0) 编辑
摘要:修改Axios安装模块 /node_modules/axios/lib/core/settle.js 'use strict'; var createError = require('./createError'); /** * Resolve or reject a Promise based o 阅读全文
posted @ 2020-12-21 16:28 悬剑丶 阅读(648) 评论(0) 推荐(0) 编辑
摘要:安装systemctl: yum install iptables-services 设置开机启动 systemctl enable iptables.service 如果报错:Failed to start IPv4 firewall with iptables. 因为centos7默认的防火墙是 阅读全文
posted @ 2020-12-18 16:05 悬剑丶 阅读(4365) 评论(0) 推荐(0) 编辑
摘要:删除python(需注意如果使用宝塔面板不可卸载python,面板是基于python开发的) 强制删除已安装程序及其关联 rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps ## 删除所有残余文件 ##xargs,允许你对输出执行其他某些命 阅读全文
posted @ 2020-12-18 15:57 悬剑丶 阅读(141) 评论(0) 推荐(0) 编辑
摘要:Win + R 输入 regedit 找到 HKEY_CLASSES_ROOT\Local Settings\MuiCache\XX\AAF68885 (XX 为路径,每个台电脑不一样),找到并编辑@C:\Windows\system32\notepad.exe,-469 在数值数据下,增加 (&T 阅读全文
posted @ 2020-12-01 17:34 悬剑丶 阅读(770) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示