随笔分类 -  shell

摘要:[root@docker00 ~]# ssh-keygen -t rsa [root@docker00 ~]# cd .ssh/ [root@docker00 .ssh]# cp id_rsa.pub authorized_keys [root@docker00 .ssh]# chmod 600 a 阅读全文
posted @ 2023-12-21 20:58 初入门径 阅读(15) 评论(0) 推荐(0)
摘要:[root@centos00 ~]$ jps 7174 Kafka 7502 Jps [root@centos00 ~]$ PIDS=$(jps -lm | grep -i 'kafka.Kafka'| awk '{print $1}') [root@centos00 ~]$ kill -9 ${P 阅读全文
posted @ 2020-09-22 15:32 初入门径 阅读(499) 评论(0) 推荐(0)
摘要:[root@centos00 ~]$ ./stop-kafka.sh -bash: ./stop-kafka.sh: /bin/sh^M: bad interpreter: No such file or directory 解决: 编码集Windows(CR LF)更改为Unix(LF) 阅读全文
posted @ 2020-09-21 22:13 初入门径 阅读(1104) 评论(0) 推荐(0)
摘要:[root@centos00 ~]# rsync -auvzr -e "ssh " install.log 192.168.255.255:/root/ The authenticity of host '192.168.255.255 (192.168.255.255)' can't be est 阅读全文
posted @ 2020-09-01 10:39 初入门径 阅读(409) 评论(0) 推荐(0)
摘要:##从服务器下载文件至本地 C:\Users\>scp -r author@192.162.125.8:/home/author/data/sample.txt C:\Users\Desktop\ ##从本地上传文件至服务器 C:\Users\>scp -r C:\Users\Desktop\sam 阅读全文
posted @ 2020-07-27 19:25 初入门径 阅读(237) 评论(0) 推荐(0)
摘要:[root@centos00 ~]# ps -ef | grep nginx root 6682 1 0 18:30 ? 00:00:00 nginx: master process sbin/nginx nobody 6801 6682 0 18:46 ? 00:00:00 nginx: work 阅读全文
posted @ 2020-07-26 19:20 初入门径 阅读(734) 评论(0) 推荐(0)