会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ascertain
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
55
下一页
2021年10月28日
OpenLDAP
摘要: Terminologies: DSA Directory System Agent 目录代理系统,x.500术语,支持LDAP协议的服务(OpenLDAP) DSE DSA Specific Entry 目录系统中特定条目或记录项因此,rootDSE是一个目录信箱服务器的DIT (Directory
阅读全文
posted @ 2021-10-28 16:04 ascertain
阅读(98)
评论(0)
推荐(0)
2021年10月26日
RHEL & Ubuntu & JDK Install Root Certificates
摘要: Ubuntu: apt install ca-certificates mkdir -pv /usr/share/ca-certificates/quasi cp ca.crt /usr/share/ca-certificates/quasi/quasi.crt echo quasi/quasi.c
阅读全文
posted @ 2021-10-26 17:57 ascertain
阅读(57)
评论(0)
推荐(0)
Prometheus Service Discovery
摘要: Service Discovery: file discoveryprometheus.yaml scrape_configs: - job_name: "prometheus" metrics_path: /metrics static_configs: file_sd_configs: - fi
阅读全文
posted @ 2021-10-26 14:39 ascertain
阅读(234)
评论(0)
推荐(0)
2021年10月23日
Windows: Configure DNS Server, Suffix, FQDN
摘要: DNS Server: Registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces 通过GUI Group PolicyLocal Computer Policy => Compu
阅读全文
posted @ 2021-10-23 10:51 ascertain
阅读(614)
评论(0)
推荐(0)
2021年10月21日
Windows techniques
摘要: God Mode GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} create a folder on desktop, rename to the code above
阅读全文
posted @ 2021-10-21 17:52 ascertain
阅读(29)
评论(0)
推荐(0)
Windows: create shortcut and autorun program
摘要: For Current User: startup folder shell:startup Registry For Local Machine: startup folder shell:common startup Registry Create shortcut: cmd powershel
阅读全文
posted @ 2021-10-21 11:54 ascertain
阅读(98)
评论(0)
推荐(0)
2021年10月20日
Python: 获取负数补码
摘要: 10 二进制前面 加 - 而已 由于Python number没有范围限制, 但是负数一定是补码表示, 正数前面有无限0, 负数前面有无限1 5 ==> (0)(infinite) 0101 -5 ==> (1)(infinite) 1011 以 四字节 为例, 将 -10 => 补码, 采用 &
阅读全文
posted @ 2021-10-20 16:42 ascertain
阅读(833)
评论(0)
推荐(0)
delete Windows10 startup entries
摘要: Registry HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\Curren
阅读全文
posted @ 2021-10-20 14:35 ascertain
阅读(83)
评论(0)
推荐(0)
2021年10月19日
Nginx: compile
摘要: (33条消息) nginx 交叉编译 ( 上 )_爱唠叨的老鱼的博客-CSDN博客_nginx 交叉编译 添加VIM语法支持: cp --no-dereference -r --preserve=all contrib/vim/* ~/.vim 查看man: man man/nginx.8 inst
阅读全文
posted @ 2021-10-19 17:43 ascertain
阅读(54)
评论(0)
推荐(0)
modify nginx Server header
摘要: server_tokens off; add_header proxy_pass_header 可把后端Server透传到browser, 适用于代理 server_tokens build; Building nginx from Sources nginx编译选项 src/core/nginx.
阅读全文
posted @ 2021-10-19 17:21 ascertain
阅读(117)
评论(0)
推荐(0)
2021年10月11日
判断是否处于容器内
摘要: 判断cgroup 根分区类型 查看块设备 /.dockerenv pid == 1 进程 查看内存限制 查看环境变量
阅读全文
posted @ 2021-10-11 13:49 ascertain
阅读(1121)
评论(0)
推荐(0)
2021年10月9日
Font
摘要: "l·l" Ligature in "Source Code Pro" incorrectly invoked when render whitespace is enabled · Issue #106583 · microsoft/vscode · GitHub Cascadia Code Wi
阅读全文
posted @ 2021-10-09 13:41 ascertain
阅读(246)
评论(0)
推荐(0)
2021年10月8日
openresty nginx+lua
摘要: 处理参数接口 location /getNameByGender { default_type ''; add_header Content-Type 'text/html; charset=utf-8'; # default_type 'text/html'; # charset utf-8; s
阅读全文
posted @ 2021-10-08 17:16 ascertain
阅读(41)
评论(0)
推荐(0)
nginx basic认证
摘要: Nginx的用户认证模块 对应系统资源的访问,我们往往需要限制谁能访问,谁不能访问。这块就是我们通常所说的认证部分,认证需要做的就是根据用户输入的用户名和密码来判定用户是否为合法用户,如果是则放行访问,如果不是则拒绝访问。 Nginx对应用户认证这块是通过ngx_http_auth_basic_mo
阅读全文
posted @ 2021-10-08 10:17 ascertain
阅读(1000)
评论(0)
推荐(0)
nginx制作下载站点
摘要: Nginx制作下载站点 首先我们先要清楚什么是下载站点? 我们先来看一个网站http://nginx.org/download/这个我们刚开始学习Nginx的时候给大家看过这样的网站,该网站主要就是用来提供用户来下载相关资源的网站,就叫做下载网站。 如何制作一个下载站点: nginx使用的是模块ng
阅读全文
posted @ 2021-10-08 10:07 ascertain
阅读(154)
评论(0)
推荐(0)
2021年10月6日
nginx proxy_cache
摘要: 以 .yaml 结尾的文件不缓存 以 .yaml 结尾的文件不走缓存 bypass
阅读全文
posted @ 2021-10-06 22:34 ascertain
阅读(40)
评论(0)
推荐(0)
Nginx: proxy_pass
摘要: proxy_pass 分两种情况: location 非正则: query string无需手动传递, nginx会自动附加 proxy_pass 后可为upstream server或直接写后端某个主机地址 proxy_pass 后无URI时, location 匹配的全部URI 都附加到prox
阅读全文
posted @ 2021-10-06 15:56 ascertain
阅读(2496)
评论(0)
推荐(0)
2021年9月28日
apt_preferences
摘要: AptConfiguration - Debian Wiki /etc/apt/preferences /etc/apt/preferences.d (fragement files) man apt_preferences apt-cache madison nginx apt-cache pol
阅读全文
posted @ 2021-09-28 16:19 ascertain
阅读(148)
评论(0)
推荐(0)
2021年9月24日
iptables 内网转发
摘要: linux系统 1.准备环境 云服务器 193.112.1.43(公)172.16.0.23(内) 云数据库pgsql 内网 172.16.32.98:5432 同一私有网络,默认内网互通 2.云服务器上做如下转发 iptables -t nat -A PREROUTING -d 172.16.0.
阅读全文
posted @ 2021-09-24 14:43 ascertain
阅读(456)
评论(0)
推荐(0)
2021年9月10日
Redis: Compile & Configuration
摘要: Links: https://gist.github.com/hackedunit/a53f0b5376b3772d278078f686b04d38#file-install-redis-md Compile: dnf install centos-release-scl scl-utils-bui
阅读全文
posted @ 2021-09-10 17:43 ascertain
阅读(160)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
55
下一页
公告