作者归档:HXS

使用Supervisor守护Nginx进程

supervisor是个好工具。superviosr是一个Linux/Unix系统上的进程监控工具,Supervisor是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。只要在supervisor的配置文件中,把要管理的进程的可执行文件的路径写进去即可。当子进程挂掉的时候,父进

Hyper-V开启嵌套虚拟化的方法

在工作中,我们经常会使用到虚拟机,常见的虚拟机有 Hyper-v 虚拟机、VMware 虚拟机、virtualBox 虚拟机,我们再使用虚拟机的过程中,都知道,VMware 能够支持嵌套虚拟化,那么什么是嵌套虚拟化呢? 所谓嵌套虚拟化,就是说,我们在 VMware 上创建了一个虚拟机,之后,我们又想在我们创建的虚拟机之中再创建虚拟机,也就

iperf3 网络测试工具

Iperf3 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能,具有多种参数和UDP特性,可以根据需要调整,可以报告带宽、延迟抖动和数据包丢失.对于每个测试,它都会报告带宽,丢包和其他参数,可在Windows、Mac OS X、Linux、FreeBSD等各种平台使用,是一个简单又实用的小工具。 软件下载地址: https:

常用的时间同步服务器

推荐使用 中国国家授时server cn.pool.ntp.org 中国国家授时server cn.ntp.org.cn 阿里server ntp.aliyun.com 苹果亚太server time.asia.apple.com 支持IPv6 server time.google.com server time.cloudflare.com server time.hko.hk server ntp.nict.jp server time.nist.gov server ntp.tuna.tsinghua.edu.cn server nt

There is no public key available for the following key IDs

今天在debian/ubuntu下运行apt update刷新更新源的时候却遇到 “There is no public key available for the following key IDs” 的问题,具体表现为以下错误提示: W:There is no public key available for the following key IDs: 3B4FE6ACC0B21F32, W:There is no public key available for the following key IDs:

ubuntu php 出现 Cannot find module (SNMPv2-TC) 等错误

在执行php -v 或者有时编译一个东西或输入某个命令的时候会出现: Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt Did not find ‘DisplayString&#