摘要: Assembly 自定义打包的详细配置说明 <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocatio 阅读全文
posted @ 2021-01-11 16:03 ℡angel 阅读(2794) 评论(0) 推荐(0) 编辑
摘要: 在linux 下,默认每次操作远程git 时都需要输入用户名和密码,通过下面的配置实现记住密码 git config --global credential.helper store git credential-store store protocol=http host=10.24.12.2 u 阅读全文
posted @ 2021-01-04 15:44 ℡angel 阅读(5986) 评论(0) 推荐(0) 编辑
摘要: 在编译项目时,经常会遇到只编译指定Moudle 的情况,如果全部编译,耗时会很长 编译命令 编译制定模块的相关的命令 -am --also-make 同时构建所列模块的依赖模块; -amd -also-make-dependents 同时构建依赖于所列模块的模块; -pl --projects <a 阅读全文
posted @ 2020-12-31 10:12 ℡angel 阅读(2829) 评论(0) 推荐(1) 编辑
摘要: 工作中,经常会遇到需要查看服务器的实时网卡流量,下面记录几种查看实时流量的方法 命令sar -n DEV 1 2 sar命令包含在sysstat工具包中,可以基于网络接口统计流量信息 统计流量的命令 sar -n DEV 1 2 命令说明 -n 参数有6个不同的参数,DEV | EDEV | NFS 阅读全文
posted @ 2020-12-30 17:01 ℡angel 阅读(4031) 评论(0) 推荐(0) 编辑
摘要: 备份原配置文件 yum 源的配置文件在/etc/yum.repos.d下,修改CentOS-Base.repo的内容 先备份原来的配置文件 sudo mv CentOS-Base.repo CentOS-Base.repo.backup 下载新的源配置文件 阿里云 CentOS7 sudo wget 阅读全文
posted @ 2020-12-28 16:23 ℡angel 阅读(588) 评论(0) 推荐(0) 编辑