摘要:
#内核升级 cd /data/yunli/rpms/system_rpm sudo yum install -y kernel-lt-4.4.248-1.el7.elrepo.x86_64 sudo awk -F\' '$1=="menuentry " {print i++ " : " $2}' / 阅读全文
摘要:
###docker告警 Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. ###/etc/default/grub文件末尾添加 阅读全文
摘要:
###1.生成添加node节点token `kubeadm token create --print-join-command` ####结果示例 ``` kubeadm join 10.10.10.10:6443 --token xxxxxx.xxx...xxx --discovery-token 阅读全文
摘要:
添加 编辑器偏好设置->额外启动参数 添加 `-ForceDependsGathering` 参数 项目名.uproject 添加AssetRegistry内容 ``` "Modules": [ { "Name": "项目名", "Type": "Runtime", "LoadingPhase": 阅读全文
摘要:
yarn-site.xml: #表示该节点服务器上yarn可以使用的虚拟CPU个数,默认是8,推荐将值配置与物理核心个数相同 yarn.nodemanager.resource.cpu-vcores: 24 #设置该节点上yarn可使用的内存,默认为8G,如果节点内存资源不足8G,要减少这个值,ya 阅读全文
摘要:
#安装sshpass yum install sshpass -y #host.txt #ip,root密码 一下示例 111.111.111.111,admin@1234 ###free -h 这里引号内写命令 for ip in `cat host.txt`;do echo $ip | awk 阅读全文
摘要:
``` # -*- coding: UTF-8 -*- import mysql.connector import sys import datetime import importlib import requests importlib.reload(sys) #修改hadoop地址参数为实际地 阅读全文
摘要:
#iamge压缩导出 docker save nginx:lastest tomcat:lastest | gzip > app.tar.gz #iamge解压导入 gunzip -c apps.tar.gz |docker load 阅读全文
摘要:
``` ## 节点: 172.30.1.101 172.30.1.131 172.30.1.102 ## 下载rpm wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.12.0-x86_64.rpm # 阅读全文
摘要:
python离线安装外部依赖包 常用的有镜像有 清华大学镜像 https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中科大镜像 https://pypi.mirrors.ustc.ed 阅读全文