PAT (Advanced Level) Practice 1003 Emergency (25 分) 凌宸1642 题目描述: As an emergency rescue team leader of a city, you are given a special map of your cou ...
分类:
其他好文 时间:
2021-04-14 12:32:28
阅读次数:
0
拉取CentOS镜像 docker pull centos 创建 docker 容器 启动镜像,映射主机与容器内8888(宝塔面板)、888(PHPMYADMIN)端口 -v 挂在目录 为了能够保存(持久化)数据以及共享容器间的数据,docker一定使用 -v 挂载主机目录到容器,比如上面启动容器的 ...
分类:
其他好文 时间:
2021-04-14 12:29:13
阅读次数:
0
AutoK3s是一款K3s集群自动化部署工具,可以方便开发者自助管理云环境中的K3s集群,可支持AWS/Aliyun/TencentCloud等主流公有云,随用随部署,用完即释放,对于在平时工作过程中需要各种K8s环境的开发测试人员,可以从很大程度上节省重复部署环境的时间,提升工作效率。 新发布的 ...
分类:
其他好文 时间:
2021-04-14 12:12:47
阅读次数:
0
今天面试学费了一个小技巧 pstack jstack gdb attach 如果CPU过高,面试怎么初步定位,如何辅助开发定位 1,log备份 2,top 之类的信息备份 3,coredump 信息备份 4,我不知道的 堆栈信息备份!! 1,top查看pid 2,pstack 进程ID显示线程堆栈 ...
分类:
系统相关 时间:
2021-04-14 12:06:58
阅读次数:
0
linux 使用trap命令进行调试 Shell脚本在搪行时,会产生三个所谓的伪信号。三种伪信号如下:信号名称 产生条件EXIT 从函数中退出,或者整个脚本执行完毕ERR 当一条命令返回非零状态码,即命令执行不成功DEBUG 脚本中的每一条命令执行之前 vi trapdebug.sh #!/bin/ ...
分类:
系统相关 时间:
2021-04-14 12:02:07
阅读次数:
0
MeterSphere 一站安装部署 环境要求 操作系统: CentOS 7.x CPU/内存: 4核8G 磁盘空间: 50G 可访问互联网 1)一键安装 以 root 用户执行如下命令一键安装 MeterSphere: curl -sSL https://github.com/meterspher ...
分类:
其他好文 时间:
2021-04-14 11:56:25
阅读次数:
0
vi proc1.sh #!/bin/bash #此脚本期望的参数个数argno=1 if [ $# -ne $argno ]then echo "Usage: 'basename $0' PID-number" >&2fi if [ ! -f "/proc/$1" ]then echo "Proc ...
分类:
系统相关 时间:
2021-04-14 11:51:22
阅读次数:
0
监控linux主机的相关性能 cpu 内存 网络 磁盘 带宽 IO采用插件node_export 部署node_exporter插件[root@node1 ~]# mkdir /opt/monitor/[root@node1 ~]# tar -xf node_exporter-0.17.0.linu ...
分类:
系统相关 时间:
2021-04-13 12:02:02
阅读次数:
0
例如MySQL的端口3306 firewall-cmd --zone=public --add-port=3306/tcp --permanent 重启防火墙并查看是否生效 firewall-cmd --reload #重启firewall firewall-cmd --list-ports #查看 ...
分类:
其他好文 时间:
2021-04-12 12:43:20
阅读次数:
0
Forum Rules Registration to this forum is free! We do insist that you abide by the rules and policies detailed below. If you agree to the terms, pleas ...
分类:
其他好文 时间:
2021-04-12 12:05:47
阅读次数:
0