- 博客(179)
- 资源 (1)
- 收藏
- 关注
原创 maven 打包Could not resolve dependencies for project
报错信息解决办法比如说这里有个blade的代码库,然后这里有四个子工程,其他为代码库里的其他文件,所以这里如果打包遇到前面那个依赖缓存更新的问题,可以直接先让整个blade 做 clean install 操作,然后再让子工程去做install 、package。一般新开的代码库做构建操作时因为依赖与缓存问题才会出现这个。 // 公共依赖 sh "mvn -Dmaven.test.skip=true clean install" // 工程打包
2022-05-11 09:50:33 536
原创 jenkins第一次登陆,输入完密码之后,卡在了SetupWizard[jenkins]处
发生时间2022-02-16网传解决办法换火狐浏览器改那个json文件更换版本包然并卵,实际情况就是仍然空白,前端一直在滚动最终办法釜底抽薪,不让他去联网更新就完了,将网卡的dns禁掉,重启网卡,重启jenkins,其他什么都不用做,重新登录就能进入离线模式,然后跳过插件安装即可。后面再去清华源直接下载插件包或在管理页面里改为清华源再下载即可。只想惊呼一声,FK!!...
2022-02-16 21:04:29 724
原创 鲲鹏920CPU+统信UOS20,ARM架构下的Nacos源码编译与Docker镜像制作
客户环境这里是现场实际的环境这个UOS20是ubuntu改的# CPUArchitecture: aarch64CPU op-mode(s): 64-bitByte Order: Little EndianCPU(s): 4On-line CPU(s) list: 0-3Thread(s) per core: 1Core(s) per socket: 2Socket(s): 2NUMA n
2022-01-11 15:55:06 3726
原创 解决pip升级报错
?pip install --upgrade pip --trusted-host pypi.douban.comCollecting pip Downloading http://pypi.doubanio.com/packages/da/f6/c83229dcc3635cdeb51874184241a9508ada15d8baa337a41093fab58011/pip-21.3.1.tar.gz(1.7MB) 100% |????????????????????????????????
2021-12-28 16:24:59 1066 1
原创 yum grouplist报错解决:no environments/groups match
1、需求场景近期再弄Oracle RAC 集群,打算用图形界面方式安装,所以就想给之前最小化安装的linux服务器上用自己做的本地yum源来安装Centos 图形桌面,结果报错了然后就去可以通外网的本地yum服务器上去执行下发现没啥问题2、追溯阶段原制作本地yum的方式(论记录自己操作的重要性)# 安装建库所需工具yum install -y yum-utils device-mapper-persistent-data lvm2 createrepo wget# 下载阿里云re
2021-08-22 04:17:42 3101
原创 解决docker 安装包冲突导致安装失败
失败报错:Transaction check error: file /usr/bin/docker from install of docker-ce-18.06.3.ce-3.el7.x86_64 conflicts with file from package docker-common-2:1.13.1-208.git7d71120.el7_9.x86_64 file /usr/bin/docker-containerd from install of docker-ce-18.06.3.
2021-08-19 11:16:47 3324
原创 Centos7.8 Grafana v8.0.6自定义编译打包 制作rpm包全过程
业务场景grafana 汉化一、准备编译环境# 0、安装常规工具yum -y install git # 1、安装go环境,配置环境变量,不再演示,请自行百度[root@demo BUILDSCRIPTS_CTREMEL]# cat /etc/profile|grep GOexport GOROOT=/usr/local/goexport GOPATH=/root/gocodeexport PATH=$GOPATH/bin:$GOROOT/bin:$PATHexport GOPR
2021-08-17 10:57:44 567
原创 Linux cron任务 不执行
看cron任务日志tail -f /var/log/cron转义%在crontab中%是有特殊含义的,表示换行的意思。如果要用的话必须进行转义\%,如经常用的date ‘+%Y%m%d’在crontab里是不会执行的,应该换成date ‘+\%Y\%m\%d’`输出结果重定向>/dev/null 2>&1 cron 与 系统环境变量不同• cronXDG_SESSION_ID=685SHELL=/bin/shUSER=rootPATH=/usr/bin:/bi
2021-07-19 18:02:00 543
原创 内网DNS服务器搭建说明
内网DNS服务器搭建说明搭建目标内外网均可访问支持自定义域名技术选型主要备选方案为小米开源的SmartDNS和云原生毕业的CoreDNS。经过多方考量,最终选用云原生出品的CoreDNS,github地址:https://github.com/coredns/coredns官方网站:https://coredns.io/本次主要使用的插件:https://coredns.io/plugins/hosts/部署过程1、挑机器选用一台性能较好的服务器,最好CPU和内存高点的。建议配置:
2021-07-15 12:12:28 1064
原创 ORA-27104: system-defined limits for shared memory was misconfigured
ORA-27104: system-defined limits for shared memory was misconfigured# 检查可能是因为系统优化参数设置错误导致。kernel.shmall 和 kernel.shmmax 没有设置正确。物理内存128G,创建库按照物理内存的80%来创建的。调整优化参数。#共享内存的页数,Linux共享内存页大小为4KB,8G内存设置为:8GB/4KB=8*1024*1024*1024/4KB=2097152#kernel.shmall = 20971
2021-07-06 14:23:24 4058
原创 VMware虚拟机网卡重启失败
报错信息:Bringing up interface ens32: Error: Connection activation failed: No suitable device found for this connection (device ens34 not available with device (mismatching interface name))."...Unregistered Authentication Agent for unix-process:2265:57897
2021-07-01 17:44:56 1883
原创 Jenkins 添加节点失败
报错信息:[06/29/21 14:12:22] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file. Key exchange was not finished, connection is c
2021-06-29 14:18:31 1106
原创 vscode只缩放代码的大小的快捷键
在文件–>首选项–>设置–>用户设置中修改代码:C:\Users\admin\AppData\Roaming\Code\User\settings.json "editor.fontSize": 18, "screencastMode.fontSize": 58, "explorer.confirmDragAndDrop": false, "window.zoomLevel": 1, "typescript.tsdk": "", "ed
2021-03-07 15:36:36 2911
原创 谷歌浏览器数据备份与还原
Google Chrome Backuphttp://www.parhelia-tools.com/products/gcb/googlechrome.aspx
2021-02-27 23:08:22 2163
原创 安装CentOS 8 Stream报错:Error setting up base repository
解决办法:挂个光盘上去,他会自动识别,就不再会报异常http://ftp.cuhk.edu.hk/pub/Linux/centos/8-stream/isos/x86_64/还有一种方式:就是进去后取消新建仓库,然后选用closest
2021-01-26 15:35:21 3690
原创 windows exe服务程序注册为系统服务解决方案,简单高效
友情链接:https://studygolang.com/articles/30408
2021-01-14 15:46:12 199 1
原创 vue前端项目编译
npm config set registry https://registry.npm.taobao.orgyarn config set registry https://registry.npm.taobao.org/cd 项目路径rm node_modules/# 这里使用cnpm 代替npm 下载依赖包cpm install yarn run build
2020-12-31 09:34:42 920
转载 win10安装nodejs,npm,cnpm,yarn,@vue/cli环境配置
win10安装nodejs,npm,cnpm,yarn,@vue/cli环境配置实测完全没有问题
2020-12-30 21:55:43 204
原创 Ninjutsu-v1.0.iso
红极一时的忍者系统Ninjutsu OS链接:https://pan.baidu.com/s/1iq-eu9eHYAEQcoOSdNHqXQ提取码:1234建议下载工具:迅雷、Internet Download Manager、EagleGet供各位开发者及系统研究者学习使用
2020-12-28 23:41:37 1798 2
原创 gitlab+jenkins,webhook触发构建
报错信息:Hook executed successfully but returned HTTP 403 <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 403 No valid crumb was included in the request</title> </head> <bod
2020-12-28 13:35:52 597 1
原创 Win10 上安装linux
【WSL】Windows Subsystem for Linux安装适用于 Linux 的 Windows 子系统安装指南 (Windows 10)
2020-12-25 16:29:46 219
原创 普罗米修斯 监控 postgresql
看国外的博客好了All databases on the eyes. Postgres exporter + Prometheus + Grafana.
2020-12-24 16:37:59 851 1
原创 docker部署nginx做文件服务器
目标是实现nginx做ftp文件服务器的功能,方便文件下载# 这是我要挂载的目录/alldev/nginx_files/html/files# 新建目录mkdir -p /home/nginx/conf/nginx.conf /home/nginx/logs # 新建配置文件vi /home/nginx/conf/nginx.conf# nginx.confuser root;worker_processes 1;events { worker_connections 1
2020-12-16 15:48:32 466
原创 excell 存储键值对与下拉列表
# 函数:=IF(ISNA(VLOOKUP(C2,Sheet1!$A$2:$B$4,2,FALSE)),"",VLOOKUP(C2,Sheet1!$A$2:$B$4,2,FALSE))参考文档
2020-12-16 15:13:27 4402
原创 go环境安装与idea goPATH设置
1、找到中文go网站安装go环境http://docscn.studygolang.com/doc/tutorial/getting-started2、配置idea# goPATH全局goPATH项目goPATH# goROOT# goSDKover
2020-12-10 10:18:50 3993
原创 office 装个盗版不成反给win10变成盗版的问题解决方案
背景:不知出于何种缘故,我的微软小本子用不了了office,然后自己去整了个盗版的装上,结果就像标题一样,尴尬的说。思路:1.花钱再整个正版的,当然是在某多多上5块买那种。2.卸载那个盗版office密钥和win10密钥,再修复自己win10的系统文件,看能不能还原回来。本示范选择了第二种:前提是:cmd 使用管理员身份运行 或 powershell管理员身份运行温馨提示: 可以自行百度win10 cmd或者powershell位置1、卸载office密钥# 查看现有office密钥
2020-12-05 11:26:39 2214
原创 Jenkins中npm + sonar 环境变量生效问题
两个点:1.linux那边要装好,确定没问题2.jenkins里有个指定环境变量的地方,别单个指定,给整个PATH放上去,单个给了jenkins为啥不识别就不清楚了验证linux环境:[root@cicd ~]# npm -v6.14.9[root@cicd ~]# cnpm -vcnpm@6.1.1 (/usr/local/node-v14.15.1/lib/node_modules/cnpm/lib/parse_argv.js)npm@6.14.9 (/usr/local/node-
2020-12-04 20:25:13 879
原创 maven 编译报错: nexus has elapsed or updates are forced
resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced删除workspace内项目文件重新构建两个都要删
2020-12-04 11:15:21 1562
原创 SonarQube 7.7 中文插件安装
需求,sonar 7.7 不支持最新的中文插件解决办法,找个装上厉不厉害,服不服,哈哈哈https://github.com/xuhuisheng/sonar-l10n-zh再贴个报错,[sonaruser@cicd bin]$ tailf ../logs/access.log ce.log es.log README.txt sonar.log web.log[sonaruser@cicd bin]$ tailf ../logs/sonar.log at o
2020-12-03 19:02:45 1934
原创 Vue,Nodejs环境搭建
1、找到官方二进制包,下载 : https://nodejs.org/en/download/我这里是centos的linux环境2、安装# 先做软链接[root@cicd local]# ln -s /usr/local/node/bin/npm /usr/local/bin/npm[root@cicd local]# ln -s node-v14.15.1-linux-x64/bin/node /usr/local/bin/node# 再做一个本地软链接[root@cicd local
2020-12-03 08:54:56 199
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人