蜗牛星际之黑群晖修改SSD中的grub.cfg
详细步骤 如何修改grub.cfg,可以直接PE启动,然后加载ssd第一个分区就能找到文件了,但本文提供另外一种通过ssh登陆在线修改的方法,挂载ssd盘,然后用vi修改 找到34行, 改成 set sata_args='DiskIdxMap=0F00' 保存退出, 开机从第三项启动
免费内网测试 DNS泛域名nip.io/sslip.io
官方网站: nip.io sslip.io 主要用途及备注: 微信小程序调用,不用FRP了,可以直接 使用 http://192.168.1.100.nip.io或 https://192.168.1.100.sslip.io K8S集群内也可以直接 用192.168.1.100.nip.io了 nip.io Dead simple wildcard DNS for any IP Address Stop editing your etc/hosts file with custom hostname and IP address mappings. nip.io allows you to do that by mapping any IP Address to a hostname using the following formats: Without a name: 10.0.0.1.nip.io...
自制一键安装环境oneshell_v1.0.sh
echo install env... yum -y install gcc gcc-c++ make libtool zlib zlib-devel openssl openssl-devel pcre pcre-devel #下载Nginx echo downloading nginx-1.18.0 wget -c https://nginx.org/download/nginx-1.18.0.tar.gz #安装 nginx echo install nginx-1.18.0 tar -zxvf nginx-1.18.0.tar.gz cd nginx-1.18.0 ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-stream --with-http_gzip_static_module make &...
kibana6.8.0禁用不用的模块
server.port: 5601 server.host: "0.0.0.0" server.name: "kibana" elasticsearch.hosts: ["http://es:9200"] elasticsearch.ssl.verificationMode: none #elasticsearch.ssl.certificateAuthorities: ["/data/kibana/config/newfile.crt.pem"] elasticsearch.preserveHost: true kibana.index: ".kibana" i18n.locale: "en" server.defaultRoute: "/app/kibana#/discover" elasticsearch.username: "elastic" elasticsearch.password: "xxxxxxxxxxxxxxxxx" # 禁用可视化和仪表板 xpack.monitori...
adGuardHome自定义规则
||example.org^ – 拦截 example.org 域名及其所有子域名 @@||example.org^ – 放行 example.org 及其所有子域名 127.0.0.1 example.org – AdGuard Home 现在将会把 example.org(但不包括它的子域名)解析到 127.0.0.1。 ! 这是一行注释 – 只是一条注释 # 这也是一行注释 – 只是一条注释 /REGEX/ – 阻止访问与example_regex_meaning匹配的域 参考:sub.adtchrome.com/adt-chinalist-easylist.txt
使用tengine代替Nginx
有了nginx,为什么还要用tengine? 因为: #下载 https://tengine.taobao.org/ wget https://tengine.taobao.org/download/tengine-3.0.0.tar.gz tar -zxvf tengine-3.0.0.tar.gz cd tengine-3.0.0 #安装依赖 yum install pcre-devel yum -y install openssl openssl-devel ./configure --add-module=modules/ngx_http_upstream_check_module #./configure --add-module=./nginx_upstream_check_module --with-http_ssl_module --with-http_v2_module --with-stream --with-http_gz...
nginx添加nginx_upstream_check_module
#cd nginx source folder cd /usr/local/nginx/nginx-1.18.0 wget https://github.com/yaoweibin/nginx_upstream_check_module/archive/refs/heads/master.zip unzip master.zip mkdir nginx_upstream_check_module mv nginx_upstream_check_module/* ./nginx_upstream_check_module/ ./configure --add-module=./nginx_upstream_check_module #if need ssl #./configure --add-module=./nginx_upstream_check_module --with-http_ssl_module #backup old nginx file mv /usr/local/n...
调用企微接口报403 API Forbiden 无权限 的错误
https://work.weixin.qq.com/wework_admin/frame#/customer/analysis 需要修改应用权限 :
github连接超时:Connection closed by remote host
git pull 或者git push的时候,提示: kex_exchange_identification: Connection closed by remote host Connection closed by 127.0.0.1 port 22 fatal: Could not read from remote repository. Please make sure you have the correct access rights 使用命令:ssh -T git@github.com 检测 如果测试成功,请关闭代理试试,如果测试失败,请向下配置: 将ssh的22端口改为使用443 在等待git pull命令超时之后报出了类似: ssh: connect to host github.com port 22: Connection timed out的错误! 原因是: s...