上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 55 下一页
摘要: 阅读全文
posted @ 2022-01-09 19:43 ascertain 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-09 19:37 ascertain 阅读(20) 评论(0) 推荐(0) 编辑
摘要: man ssh_config: Three Test Host: ram5 ram6 ram7 /etc/ssh/sshd_config: GatewayPorts yes | no this will dertermin SSHD listen address Command Line: ssh 阅读全文
posted @ 2021-12-24 15:24 ascertain 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Check & Clear: Exec: reg import ext.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.] @="" [HKEY_CLASSES_ROOT\.\Shell] [HKEY_CLASSES_ROOT 阅读全文
posted @ 2021-12-23 17:11 ascertain 阅读(29) 评论(0) 推荐(0) 编辑
摘要: fail & failed_when: - hosts: buster remote_user: root tasks: - shell: "echo 'This is a string for testing--error'" register: value - debug: msg: "2" # 阅读全文
posted @ 2021-12-17 15:24 ascertain 阅读(153) 评论(0) 推荐(0) 编辑
摘要: #!/bin/env bash git init touch init git add -- . git commit -am init echo a >> main_file git add --all git commit -am 'main a' echo b >> main_file git 阅读全文
posted @ 2021-12-16 16:46 ascertain 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Take below for example shopt -s dotglob # glob will include hidden file & directories cp -frv /etc/skel/{,.[^.]}* . -T --no-target-directory cp -frv / 阅读全文
posted @ 2021-12-16 11:18 ascertain 阅读(41) 评论(0) 推荐(0) 编辑
摘要: env and printenv is not shell builtin, so they can only print environment variables. env: run a program in a modified environment --ignore-environment 阅读全文
posted @ 2021-12-09 17:59 ascertain 阅读(33) 评论(0) 推荐(0) 编辑
摘要: Function system() awk 'BEGIN{system("pwd")}' | pipe echo sh601236 | awk '{cmd="curl -s -XGET http://hq.sinajs.cn/list="$0;print cmd | "sh - | iconv -f 阅读全文
posted @ 2021-12-08 17:57 ascertain 阅读(17) 评论(0) 推荐(0) 编辑
摘要: --add-host HOST:IP docker run \ --rm \ -e SONAR_HOST_URL="http://sonarqube:9000" \ -e SONAR_LOGIN="97cd1f21966042b2320539c1b720144d5e2aaced" \ -v "$PW 阅读全文
posted @ 2021-12-07 14:50 ascertain 阅读(45) 评论(0) 推荐(0) 编辑
摘要: Causation: Your origin remote is set up to fetch only certain branches git remote set-branches --add origin bb git remote set-branches origin '*' It i 阅读全文
posted @ 2021-12-05 16:45 ascertain 阅读(922) 评论(0) 推荐(0) 编辑
摘要: state : absent, directory, file, hard, link, touch Change File Attributes ansible all -m file -a 'path=/root/bb owner=laconic group=laconic mode=7777' 阅读全文
posted @ 2021-12-03 16:22 ascertain 阅读(87) 评论(0) 推荐(0) 编辑
摘要: https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-443 google search linux listen port 80 non-root 阅读全文
posted @ 2021-12-03 15:43 ascertain 阅读(30) 评论(0) 推荐(0) 编辑
摘要: display NUMA state journalctl --dmesg | grep -i NUMA dmesg --kernel --human | grep -i NUMA only have one node, so it doesn't matter. numastat # cat /s 阅读全文
posted @ 2021-12-01 17:14 ascertain 阅读(59) 评论(0) 推荐(0) 编辑
摘要: compgen is a shell builtin compgen -u : display users -a means Names of alias -b means Names of shell builtins -c means Names of all commands -d means 阅读全文
posted @ 2021-11-18 13:45 ascertain 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://prometheus.io/download/#prometheus https://packagecloud.io/app/prometheus-rpm/release/search Install: tar xvzf prometheus-2.36.1.linux-amd64.t 阅读全文
posted @ 2021-11-07 23:04 ascertain 阅读(83) 评论(0) 推荐(0) 编辑
摘要: Services Record (SRV) Defined in RFC 2782. The SRV RR identifies the host(s) that will support a particular service. The MX RR is a specialised exampl 阅读全文
posted @ 2021-11-05 17:24 ascertain 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 服务器为gitlab, 使用docker搭建, 首先确定是宿主机被感染,还是容器被感染 使用top , ps aux --sort -pcpu查找占用cpu明显过高进程 容器外使用 ps H -fFjlp $PID, ps -LfFljp $PID观察进程 docker stats --all -- 阅读全文
posted @ 2021-11-05 16:02 ascertain 阅读(453) 评论(0) 推荐(0) 编辑
摘要: man 5 timesyncd.conf man 8 systemd-timesyncd.service # /etc/systemd/timesyncd.conf [Time] NTP=time.windows.com ntp.ubuntu.com FallbackNTP=ntp1.aliyun. 阅读全文
posted @ 2021-11-04 14:57 ascertain 阅读(414) 评论(1) 推荐(0) 编辑
摘要: forking类型 使用Type=forking时,要求ExecStart启动的命令自身就是以daemon模式运行的。而以daemon模式运行的进程都有一个特性:总是会有一个瞬间退出的中间父进程,例如,nginx命令默认以daemon模式运行,所以可直接将其配置为forking类型: simple类 阅读全文
posted @ 2021-11-02 15:40 ascertain 阅读(1058) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 55 下一页