摘要:
#!/bin/bash #ENDPOINTS="https://192.168.1.207:2379,https://192.168.1.208:2379,https://192.168.1.209:2379" ENDPOINTS="127.0.0.1:2379" CACERT="/etc/kube 阅读全文
摘要:
#查看某个表结构 desc `dyl_uims`.`t_auth_dept`; #查看某个表某个字段的数据,如果表太大,记得加条件。否则容易卡住。 select system_id from `dyl_uims`.`t_auth_dept` limit 100; 阅读全文
摘要:
[root@master ~]# cat /usr/bin/cleanimg #!/bin/bash num=`docker ps -a|grep Exit|wc -l` if [ ${num} -gt 0 ];then docker rm $(docker ps -a|grep Exit|awk 阅读全文
摘要:
#问题:新机器加入K8S集群报错 [kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz’ failed with error: Get“http://localhost:10248/healt 阅读全文
摘要:
[root@bigdata04 ~]# cat /data/res/search.sh #!/bin/bash source /etc/profile mem=`free -h |awk 'NR==2{print $NF}' | awk -FG '{print $1}' |cut -d '.' -f 阅读全文
摘要:
[root@ajsh-dev006 systemd]# cat /usr/lib/systemd/system/zk.service [Unit] Description=zookeeper.service After=network.target [Service] User=root Group 阅读全文
摘要:
[root@ajsh-dev006 systemd]# cat /usr/lib/systemd/system/kafka.service [Unit] Description=kafka [Service] User=root LimitNOFILE=65535 LimitNPROC=65535 阅读全文
摘要:
[root@bigdata01 ~/install]# vim change-yarn-site.sh #!bin/bash #此脚本对大数据集群所有节点的yarn-site.xml文件根据集群配置自动更改对应配置。 HOST_LIST=`grep 'bigdata' /etc/hosts |awk 阅读全文
摘要:
cpu=$1 mem=$2 if [ $cpu == 4 ];then vcores=4 if [ "$mem" == "15G" ];then mb=12288 elif [ "$mem" == "7.3G" ];then mb=6200 fi elif [ $cpu == 8 ];then vc 阅读全文
摘要:
[root@master deployment]# yum -y install mtr [root@master deployment]# mtr 36.134.8.76 My traceroute [v0.85] master (0.0.0.0) Tue Dec 6 15:46:38 2022 阅读全文