sky_cheng

导航

 

2024年7月14日

摘要: cd /etc/yum.repos.d/ mkdir bak mv *.repo bak/ curl https://mirrors.aliyun.com/repo/Centos-7.repo -O yum repolist yum makecache 阅读全文
posted @ 2024-07-14 10:29 sky_cheng 阅读(12) 评论(0) 推荐(0) 编辑
 

2024年6月20日

摘要: 一、直接手动创建dell的yum源 vim /etc/yum.repos.d/dell-system-update.repo [dell-system-update_dependent] name=dell-system-update_dependent baseurl=https://linux. 阅读全文
posted @ 2024-06-20 16:19 sky_cheng 阅读(2) 评论(0) 推荐(0) 编辑
 

2024年5月30日

摘要: 由于目标服务器的.ssh/known_hosts 文件中没有请求服务器的的信息 解决办法:手动执行 /usr/bin/lsyncd -nodaemon /etc/lsyncd.conf 显示具体报错信息:权限错误 再根据具体报错信息,进行排查修复。 阅读全文
posted @ 2024-05-30 18:38 sky_cheng 阅读(52) 评论(0) 推荐(0) 编辑
 

2024年5月28日

摘要: 一、安装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 阅读(184) 评论(0) 推荐(0) 编辑
 

2024年4月26日

摘要: 一、首先选择一台同步阿里云时间服务器 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 阅读(101) 评论(0) 推荐(0) 编辑
 

2024年2月19日

摘要: 在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 阅读(189) 评论(0) 推荐(0) 编辑
 

2024年2月1日

摘要: 一、安装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 阅读(313) 评论(0) 推荐(0) 编辑
 

2024年1月29日

摘要: 已设置好了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 阅读(14) 评论(0) 推荐(0) 编辑
 

2023年12月22日

摘要: 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 阅读(52) 评论(0) 推荐(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 阅读(8) 评论(0) 推荐(0) 编辑