分类【运维中心】下的文章

supervisor 管理进程 [toc] 说明 Supervisor是一个用 Python 写的进程管理工具,可以很方便的用来启动、重启、关闭进程. 安装 pip install supervisor 配置 echo_supervisord_conf > /etc/supervisord.conf supervisord.conf [unix...

Centos 配置多个虚拟IP 临时设置 ifconfig enp2s0:3 192.168.3.152 netmask 255.255.255.0 up 永久生效 TYPE=Ethernet BOOTPROTO=none NAME=enp2s0 DEVICE=enp2s0 HWADDR=40:8d:5c:bc:f4:d8 ONBOOT=yes IPA...

mac添加路由 [TOC] 查看路由 netstat -r 添加缺省路由 route -n add defalut 10.13.31.1 添加路由 route -n add -net 10.0.0.0/8 10.13.31.1 删除路由 route -n delete defalut 10.13.31.1 文章作者 明哥 ...

加快ssh连接速度 客户端设置 ssh客户端打开如下注释 /etc/ssh/ssh_config Host * GSSAPIAuthentication no GSSAPIDelegateCredentials no 重启ssh服务 /etc/init.d/sshd restart 服务端设置 /etc/ssh/sshd_con...