摘要: ### 基本须知 #### jdk ``` 我们的java源码程序是只能放在src的蓝色文件夹中,放在别的文件不起作用 javac.exe 文件 javac是jdk中专门用来编译源码的文件 java.exe文件 启动jvm虚拟机 ``` ``` *.class 是编译后的字节码文件,一般放在idea 阅读全文
posted @ 2023-06-09 14:18 名字长的像一只老山羊 阅读(14) 评论(0) 推荐(0) 编辑
摘要: # 第18章 Linux操作系统优化 [TOC] ```bash [root@test ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROT 阅读全文
posted @ 2023-06-07 10:56 名字长的像一只老山羊 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://github.com/lavie/runlike/tree/cicd 非常好用 ``` yum -y install python3 python-pip pip3 install runlike #使用 runlike -p 容器Id ``` 阅读全文
posted @ 2023-06-01 17:41 名字长的像一只老山羊 阅读(27) 评论(0) 推荐(0) 编辑
摘要: http://www.codebaoku.com/git/git-index.html 阅读全文
posted @ 2023-05-31 16:28 名字长的像一只老山羊 阅读(4) 评论(0) 推荐(0) 编辑
摘要: ##定时任务 ``` crontab -l 0 3 * * * root /etc/init.d/clean-docker-log.sh 10 3 * * * root /etc/init.d/cleandocker.sh ``` -脚本 ``` [root@werun01-160 init.d]# 阅读全文
posted @ 2023-05-31 15:20 名字长的像一只老山羊 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 我使用的是docker swarm -#报错 evel=error msg="error reading the kernel parameter net.ipv4.vs.expire_nodest_conn" error="open /proc/sys/net/ipv4/vs/expire_nod 阅读全文
posted @ 2023-05-31 10:15 名字长的像一只老山羊 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/qq_35458793/article/details/84874161 git stash (git 储藏)用于以下场景: 1.发现一个类是多余的,想删掉它担心之后会用到它,想保存但又不想增加一个脏的提交,这时候可以考虑使用git stash; 阅读全文
posted @ 2023-05-29 18:19 名字长的像一只老山羊 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 转载 [git crlf和cr,lf问题](https://yebd1h.smartapps.cn/pages/blog/index?blogId=124864157&_swebfr=1&_swebFromHost=hwquickapp "git crlf和cr,lf问题") 一、不同系统的换行符 阅读全文
posted @ 2023-05-29 09:05 名字长的像一只老山羊 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 转载 https://www.cnblogs.com/alexlv/p/16619009.html 1、使用root账户登录服务器 2、切换用户为git su - git 3、进入gitlab控制台 gitlab-rails console production 如报错如下:ERROR: "rail 阅读全文
posted @ 2023-05-26 14:35 名字长的像一只老山羊 阅读(310) 评论(0) 推荐(0) 编辑
摘要: HN2X0-0DH5M-M78Q1-780HH-CN214 阅读全文
posted @ 2023-05-25 09:04 名字长的像一只老山羊 阅读(14) 评论(0) 推荐(0) 编辑