软件相关模块 yum rpm和yum的区别 rpm:redhat package manager yum 可以解决依赖关系 yum 源配置 使用yum下载时需要先下载epel yum 安装包组 ep 检查模块是否安装成功 pip service 计划任务 cron 用户相关 user \ 在查询创建 ...
分类:
其他好文 时间:
2019-02-20 20:00:48
阅读次数:
231
报错信息 报错原因 image is being used by stopped container 834789a17497,即要删除的该镜像,被容器834789a17497所引用了。 解决办法 执行 查看所有容器记录(包括未运行的容器),并查看那些容器是使用了这个要删除的镜像: 执行命令 删除这 ...
分类:
其他好文 时间:
2019-01-28 12:06:18
阅读次数:
483
docker安装, 登录到Linux服务器上,运行如下命令:sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher,完成后运行docker ps命令查看容器启动状态 访问https://<SERV ...
分类:
其他好文 时间:
2019-01-24 16:26:16
阅读次数:
123
后台运行脚本执行脚本test.sh:./test.sh中断脚本test.sh:ctrl+c在1的基础上将运行中的test.sh,切换到后台并暂停:ctrl+z执行ctrl+z后,test.sh在后台是暂停状态(stopped),使用命令:bg number让其在后台开始运行(“number”是使用j ...
分类:
系统相关 时间:
2019-01-22 21:44:20
阅读次数:
249
此文源于前公司在迁移项目到.NET Core的过程中,希望使用Generic Host来管理定时任务程序时,没法部署到Windows服务的问题,而且官方也没给出解决方案,只能关注一下官方issue #809 等他们方解决了。 官方文档只提供了一个《在 Windows 服务中托管 ASP.NET Co ...
负载检查:https://blog.csdn.net/HANLIPENGHANLIPENG/article/details/79172053 top命令功能:经常用来监控Linux的系统情况,比如cpu、内存的使用 命令格式:top [参数] (也可以不带参数) 命令参数: -b 批处理 -c 显示 ...
分类:
系统相关 时间:
2018-12-25 15:56:40
阅读次数:
201
动态查看进程top[root@tianyun~]#top延时间隔默认是3秒钟[root@tianyun~]#top-d1[root@tianyun~]#top-d1-p10126查看指定进程的动态信息[root@tianyun~]#top-d1-p10126,1[root@tianyun~]#top-d1-uapache查看指定用户的进程[root@tianyun~]#top-d1-b-n2>
分类:
系统相关 时间:
2018-11-30 22:41:36
阅读次数:
190
机器上有个进程cpu使用率很高,近100%了, Tasks: 120 total, 2 running, 118 sleeping, 0 stopped, 0 zombie%Cpu(s): 99. ...
分类:
系统相关 时间:
2018-11-14 12:23:03
阅读次数:
506
from scrapy import signals engine_started = object() engine_stopped = object() spider_opened = object() spider_idle = object() 爬虫被闲置的时候 spider_closed ... ...
分类:
其他好文 时间:
2018-11-12 11:16:28
阅读次数:
176