摘要:
由于目标服务器的.ssh/known_hosts 文件中没有请求服务器的的信息 解决办法:手动执行 /usr/bin/lsyncd -nodaemon /etc/lsyncd.conf 显示具体报错信息:权限错误 再根据具体报错信息,进行排查修复。
阅读全文
posted @ 2024-05-30 18:38
sky_cheng
阅读(370)
推荐(0)
摘要:
一、安装ipset yum install ipset -y 二、禁止firewalld systemctl stop firewalld systemctl disable firewalld 三、设置iptables默认允许规则 iptables -P INPUT ACCEPT 四、清空其他规则
阅读全文
posted @ 2024-05-28 13:50
sky_cheng
阅读(1032)
推荐(0)
摘要:
一、首先选择一台同步阿里云时间服务器 1、安装ntp yum install ntp 2、配置ntp.conf [root@localhost ~]# vim /etc/ntp.conf 增加 restrict 172.28.5.0 mask 255.255.255.0 nomondify notr
阅读全文
posted @ 2024-04-26 10:17
sky_cheng
阅读(359)
推荐(0)
摘要:
在jenkins服务器上配置好了ssh登录远程服务器,并且传输更新jar包后,执行服务器上的重启jar包脚本restart.sh失败,jar包未被启动 打开restart.sh vim restart.sh #!/bin/bash . /home/apps/.bash_profile 在开始添加ss
阅读全文
posted @ 2024-02-19 16:34
sky_cheng
阅读(494)
推荐(0)
摘要:
一、安装telnet作为备份连接用 yum install telnet-server telnet xinetd 二、启动telnet服务 systemctl start telnet.socket systemctl start xinetd systemctl status telnet.so
阅读全文
posted @ 2024-02-01 09:26
sky_cheng
阅读(567)
推荐(0)
摘要:
已设置好了ssh免密登录的id_rsa.pub到目标主机下的authorized_keys文件中,但是ssh登录始终提示输入密码 排查:检查用户家目录属性:750 drwxr-x 11 hlim hl95 290 3月 1 14:39 hlim 检查用户目录下的.ssh目录的属性,必须为700,检查
阅读全文
posted @ 2024-01-29 10:37
sky_cheng
阅读(41)
推荐(0)
摘要:
1、dig [root@hlcc_master mysqlinit]# dig www.baidu.com ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.13 <<>> www.baidu.com ;; global options: +cmd ;;
阅读全文
posted @ 2023-12-22 11:35
sky_cheng
阅读(147)
推荐(0)
摘要:
1、查看指定时间范围,模糊匹配目录以及文件名的所有文件的大小并排序 find /home/hlcc/tendis-cluster-*/node-*/dump/* -size +2M -mtime +1 -type f -name "binlog*.log" | xargs ls -lh --sort
阅读全文
posted @ 2023-12-22 09:42
sky_cheng
阅读(35)
推荐(0)
摘要:
curl -vvv --include --no-buffer \ --header "Connection: Upgrade" \ --header "Upgrade: websocket" \ --header "Host: xxx.xxx.xxx.xxx:9797" \ --header "S
阅读全文
posted @ 2023-11-20 17:13
sky_cheng
阅读(4079)
推荐(1)
摘要:
一、查询是否安装了指定rpm包 rpm -qa|grep opensips 二、查看已安装的rpm包的安装文件信息 rpm -ql opensips 三、查看未安装的某个rpm包的安装文件信息 rpm -qpl opensips-3.4.1-1.2.20231009.T.el7.x86_64.rpm
阅读全文
posted @ 2023-10-13 16:38
sky_cheng
阅读(33)
推荐(0)