检查所有用户的密码到期日期
# for user in $(cat /etc/passwd |cut -d: -f1); do … 继续阅读 检查所有用户的密码到期日期
# for user in $(cat /etc/passwd |cut -d: -f1); do … 继续阅读 检查所有用户的密码到期日期
7XMDV-M9VKV-RGT3C-4DYTM-PHPDJ
ext文件系统 使用命令tune2fs查看文件系统最后一次挂载时间: [root@localhost… 继续阅读 查看磁盘mount的时间点
使用 virt-what 结果参考 0、无输出 : 物理机; 1、hyperv : 这是微软的Hyp… 继续阅读 使用virt-what判断虚拟化类型
nohup kubectl proxy –address=’0.0.0.0′ –accept-h… 继续阅读 kubernetes dashaboard访问映射
终端执行 export ALL_PROXY=socks5://192.168.2.2:1080 可设… 继续阅读 bash使用socks5代理
使用php内置的Web服务新起一个Server: php -S 127.0.0.1:8001 -t … 继续阅读 php启动简易http服务
java -jar 你的jar包名 –server.port=你的端口号
删除已有pod kubectl delete –namespace=kube-system dep… 继续阅读 kubernetes重装coredns服务
kubeadm 执行 join 报如下错误: error execution phase prefl… 继续阅读 error execution phase preflight: unable to fetch the kubeadm-config ConfigMap: failed to decode cluster configuration data: no kind “ClusterConfiguration” is registered for version “kubeadm.k8s.io/v1beta2” in scheme “k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme/s cheme.go:31”
从helm获取yaml kubectl create namespace kubevious git… 继续阅读 kubernetes部署kubevious控制台
添加Git用户 groupadd git useradd git -g git -s /bin/fa… 继续阅读 快速安装gitea 1.11.1
*通配符: server { listen 80; server_name *.domain.com… 继续阅读 nginx的server_name
安装pgdb:pg_config工具不可用,安装: apt install libpq-dev
默认30s,可自定义: apiVersion: v1 kind: Pod metadata: nam… 继续阅读 terminationGracePeriodSeconds优雅终止pod时间
报错信息: Feb 23 11:41:00 node03 kubelet: E0223 11:41:… 继续阅读 skipping pod synchronization – PLEG is not healthy: pleg was last seen active 10m31.871843583s ago
idea拉取git报错,检查用户配置文件C:\Users\me\.gitconfig 去掉代理: [… 继续阅读 unable to access ‘http://xxx.com/sre.git/’: Failed to connect to 127.0.0.1 port 1080: Connection refused
metrics-server是Kubernetes 官方集群资源利用率信息收集器,是Heapster… 继续阅读 kubernetes 1.17安装metrics-server插件
chrome访问kubernetes-dashboard 在快捷方式后追加启动参数–test-ty… 继续阅读 chrome访问kubernetes-dashboard
主页 pvc code-server apiVersion: v1 kind: Persistent… 继续阅读 kubernetes部署code-server在线编辑器