1、安装 npm i pm2 -g 2、启动 pm2 start .\app.js --name cesiumdemo 3、查看 pm2 ls 4、重启 pm2 restart cesiumdemo 5、停止 pm2 stop cesiumdemo 6、删除 pm2 delete cesiumdem ...
分类:
其他好文 时间:
2021-04-01 13:31:32
阅读次数:
0
SpringBoot应用启动运行run方法,然后一直来到这个Run方法 public ConfigurableApplicationContext run(String... args) { StopWatch stopWatch = new StopWatch(); stopWatch.start ...
分类:
编程语言 时间:
2021-04-01 13:27:41
阅读次数:
0
#include <iostream> void print_arrs(const int *, int N); void sort_arrs(int *pInt, int N); constexpr int COUNT = 10; int search_data(const int *pInt, ...
分类:
其他好文 时间:
2021-03-31 12:20:32
阅读次数:
0
在py文件中开启scrapy爬虫,且可传入start_urls参数。 ...
分类:
其他好文 时间:
2021-03-31 12:10:02
阅读次数:
0
背景: Pod处于Terminating 排查: 1、kubectl delete pod pod名 依旧是无法拉为Running状态 2、kubectl get node 输出显示两个Node是NotReady 3、两个节点ip可ping通,登陆到节点上执行 systemctl restart d ...
分类:
其他好文 时间:
2021-03-30 13:49:24
阅读次数:
0
官网对于安装microstack的教程非常简单,似乎只是需要几个命令就可以完美解决问题。然而在安装过程中我出现了如下的问题: error: cannot perform the following tasks: Start snap “microstack” (216) services ([sta ...
分类:
其他好文 时间:
2021-03-30 13:19:48
阅读次数:
0
"scripts": { "start": "cross-env REACT_APP_CHANNEL=wizlong react-app-rewired start" } 参数名必须以REACT_APP_开头,原因是react-script.js中做了正则校验。 ...
分类:
移动开发 时间:
2021-03-29 12:38:06
阅读次数:
0
环境 kubernetes 1.20.4 Spring Boot 2.5.0-M3 目标 timeoutSeconds 执行探测的超时的秒数,默认值 1,最小值 1。 示例 Pod.yaml 定义一个探针需要两秒的命令。 apiVersion: v1 kind: Pod metadata: name ...
分类:
其他好文 时间:
2021-03-29 12:29:00
阅读次数:
0
K8s: minikube start下载iso镜像速度慢 minikube start --image-mirror-country=cn --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers ...
分类:
其他好文 时间:
2021-03-29 12:10:24
阅读次数:
0
装饰器 定义:是在不改变函数的调用方式,还能为此函数前后添加功能 装饰器的形成过程 一、写一个测试代码时间的函数 import time#导入time模块是为了模拟函数运行时间 def inner(): start=time.time() time.sleep(1) for i in range(1 ...
分类:
其他好文 时间:
2021-03-29 11:52:53
阅读次数:
0