随笔分类 -  linux

摘要:默认为:/var/lib/jenkiins 1 创建更改后的目录 (所有步骤用root执行!!!) mkdir -p /data/jenkiins 2 将原有目录数据拷贝到更改后的目录 cp -r /var/lib/jenkins/* /data/jenkins 3 更改所有组和所有者 chown 阅读全文
posted @ 2022-11-02 16:02 铜锣湾扛把子·66 阅读(539) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_45335305/article/details/123817541 阅读全文
posted @ 2022-10-28 15:26 铜锣湾扛把子·66 阅读(21) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/h295928126/article/details/122147237 (Mongodb) https://zhuanlan.zhihu.com/p/385487380 (redis) https://blog.csdn.net/weixin_54202 阅读全文
posted @ 2022-10-24 15:33 铜锣湾扛把子·66 阅读(186) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/cjzzz/p/16138441.html 阅读全文
posted @ 2022-10-09 11:08 铜锣湾扛把子·66 阅读(83) 评论(0) 推荐(0)
摘要:ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head 阅读全文
posted @ 2022-09-23 17:51 铜锣湾扛把子·66 阅读(573) 评论(0) 推荐(0)
摘要:yum install -y epel-release yum install -y htop 阅读全文
posted @ 2022-08-17 15:01 铜锣湾扛把子·66 阅读(174) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_45186545/article/details/103853601 (好文章就要粘贴复制) 阅读全文
posted @ 2022-03-05 09:56 铜锣湾扛把子·66 阅读(33) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_19731521/article/details/117440169 阅读全文
posted @ 2022-02-10 14:49 铜锣湾扛把子·66 阅读(95) 评论(0) 推荐(0)
摘要:root 用户执行 cat /etc/passwd | cut -f 1 -d : |xargs -I {} crontab -l -u {} (查看所有用户的计划任务)crontab -l -u username (查看指定用户的计划任务) 阅读全文
posted @ 2022-02-10 11:47 铜锣湾扛把子·66 阅读(387) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/mouseleo/p/14933022.html https://www.cnblogs.com/ssgeek/p/9392104.html 迁移过后原环境的gitlab-secrets.json 文件需要拷到新环境 (https证书注意改名) 阅读全文
posted @ 2022-02-08 20:02 铜锣湾扛把子·66 阅读(39) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/A___LEi/article/details/110476531 阅读全文
posted @ 2022-02-08 14:18 铜锣湾扛把子·66 阅读(76) 评论(0) 推荐(0)
摘要:https://help.fanruan.com/finebi/doc-view-260.html https://help.fanruan.com/finebi/doc-view-262.html 安装包自行在官网下载,安装过后访问不了可能是防火墙没关。也可能是37799端口没做映射。 阅读全文
posted @ 2022-01-22 18:13 铜锣湾扛把子·66 阅读(738) 评论(0) 推荐(0)
摘要:分两种情况: 1 nginx.conf 中的http 下添加一条 server_tokens off; 并重启服务。 2 还有一种情况,是docker部署中的代理Dockerfile 中定义,直接删掉,重启服务即可。 阅读全文
posted @ 2022-01-14 12:06 铜锣湾扛把子·66 阅读(1252) 评论(0) 推荐(0)
摘要:https://www.zsythink.net/archives/1604 阅读全文
posted @ 2022-01-10 15:34 铜锣湾扛把子·66 阅读(102) 评论(0) 推荐(0)
摘要:echo 'export HISTTIMEFORMAT="%F %T `whoami` "' >> /etc/profile && source /etc/profile 阅读全文
posted @ 2022-01-06 08:27 铜锣湾扛把子·66 阅读(41) 评论(0) 推荐(0)
摘要:ps -ajx | grep 父进程号 阅读全文
posted @ 2022-01-05 08:05 铜锣湾扛把子·66 阅读(185) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/ll409546297/p/10265946.html 阅读全文
posted @ 2021-12-31 13:24 铜锣湾扛把子·66 阅读(21) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_44273583/article/details/105853730 阅读全文
posted @ 2021-12-16 21:39 铜锣湾扛把子·66 阅读(20) 评论(0) 推荐(0)
摘要:cat /proc/pid/status (pid为子进程号) 阅读全文
posted @ 2021-12-16 11:05 铜锣湾扛把子·66 阅读(381) 评论(0) 推荐(0)
摘要:lyh ALL=(ALL) NOPASSWD:ALL,!/usr/bin/su,!/usr/bin/chattr,!/usr/sbin/init,!/usr/sbin/reboot,!/sbin/reboot,!/usr/sbin/shutdown,!/usr/bin/passwd,!/bin/ba 阅读全文
posted @ 2021-12-14 20:54 铜锣湾扛把子·66 阅读(65) 评论(0) 推荐(0)