-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
note #1
Comments
nginx从静态json文件中响应json数据:
|
复用 ssh 连接:
以后只需第一次登陆输入密码,后面的连接会复用第一次的连接而不必再输入密码。原理是有一个master进程在share一个socket:
退出连接:
另一个用法:
可加速git连接 |
#k8s 快速通过命令部署和暴露 nginx
创建 service (加参数可指定service类型
|
删除虚拟网卡
|
获取容器进程id,即PID
使用nsenter切换网络命名空间
可在切换前后执行ifconfig来对比变化 |
etcd 恢复数据
|
临时关闭swap分区, 重启失效; 永久关闭swap分区
|
centos7 修改 hostname
|
|
修改linux时区为utc时区: 删除 |
github下载单个文件
|
go拉依赖错误:
|
vscode 多行编辑 在Windows上,按住Ctrl + Alt,同时按向上↑或向下↓箭头键添加光标。 在Mac和Linux上,等效项分别为⌥Opt+⌘Cmd+↑/↓和Shift + Alt +↑/↓。 |
Run ansible script in container and get error:
Connection refused Failed to connect to new control master
edit ansible config:
refer: semaphoreui/semaphore#309 (comment)
The text was updated successfully, but these errors were encountered: