随笔分类 - linux
摘要:默认为:/var/lib/jenkiins 1 创建更改后的目录 (所有步骤用root执行!!!) mkdir -p /data/jenkiins 2 将原有目录数据拷贝到更改后的目录 cp -r /var/lib/jenkins/* /data/jenkins 3 更改所有组和所有者 chown
阅读全文
摘要:https://blog.csdn.net/weixin_45335305/article/details/123817541
阅读全文
摘要:https://blog.csdn.net/h295928126/article/details/122147237 (Mongodb) https://zhuanlan.zhihu.com/p/385487380 (redis) https://blog.csdn.net/weixin_54202
阅读全文
摘要:https://www.cnblogs.com/cjzzz/p/16138441.html
阅读全文
摘要:ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head
阅读全文
摘要:yum install -y epel-release yum install -y htop
阅读全文
摘要:https://blog.csdn.net/qq_45186545/article/details/103853601 (好文章就要粘贴复制)
阅读全文
摘要:https://blog.csdn.net/qq_19731521/article/details/117440169
阅读全文
摘要:root 用户执行 cat /etc/passwd | cut -f 1 -d : |xargs -I {} crontab -l -u {} (查看所有用户的计划任务)crontab -l -u username (查看指定用户的计划任务)
阅读全文
摘要:https://www.cnblogs.com/mouseleo/p/14933022.html https://www.cnblogs.com/ssgeek/p/9392104.html 迁移过后原环境的gitlab-secrets.json 文件需要拷到新环境 (https证书注意改名)
阅读全文
摘要:https://blog.csdn.net/A___LEi/article/details/110476531
阅读全文
摘要:https://help.fanruan.com/finebi/doc-view-260.html https://help.fanruan.com/finebi/doc-view-262.html 安装包自行在官网下载,安装过后访问不了可能是防火墙没关。也可能是37799端口没做映射。
阅读全文
摘要:分两种情况: 1 nginx.conf 中的http 下添加一条 server_tokens off; 并重启服务。 2 还有一种情况,是docker部署中的代理Dockerfile 中定义,直接删掉,重启服务即可。
阅读全文
摘要:https://www.zsythink.net/archives/1604
阅读全文
摘要:echo 'export HISTTIMEFORMAT="%F %T `whoami` "' >> /etc/profile && source /etc/profile
阅读全文
摘要:https://www.cnblogs.com/ll409546297/p/10265946.html
阅读全文
摘要:https://blog.csdn.net/qq_44273583/article/details/105853730
阅读全文
摘要:cat /proc/pid/status (pid为子进程号)
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号