排错
kevin_free
某公司运维
展开
-
libreoffice 7 ( arm64 ubuntu20.04 环境) 源码编译
kkfileviewlibreoffice原创 2022-11-15 12:18:46 · 2769 阅读 · 2 评论 -
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 · 566 阅读 · 0 评论 -
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 · 3392 阅读 · 0 评论 -
解决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 · 3474 阅读 · 0 评论 -
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 · 570 阅读 · 0 评论 -
内网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 · 1154 阅读 · 0 评论 -
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 · 4324 阅读 · 0 评论 -
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 · 1984 阅读 · 0 评论 -
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 · 1199 阅读 · 0 评论 -
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 · 2935 阅读 · 0 评论 -
谷歌浏览器数据备份与还原
Google Chrome Backuphttp://www.parhelia-tools.com/products/gcb/googlechrome.aspx原创 2021-02-27 23:08:22 · 2195 阅读 · 0 评论 -
毕亚兹 USB3.0分线器 无法识别多个U盘问题解决
curl+x 打开设备管理器先找到自己的新插的硬盘,然后先禁用再拔掉,再插入再启用即可原创 2021-02-21 23:27:25 · 859 阅读 · 0 评论 -
安装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 · 3830 阅读 · 0 评论 -
windows exe服务程序注册为系统服务解决方案,简单高效
友情链接:https://studygolang.com/articles/30408原创 2021-01-14 15:46:12 · 208 阅读 · 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 · 933 阅读 · 0 评论 -
win10安装nodejs,npm,cnpm,yarn,@vue/cli环境配置
win10安装nodejs,npm,cnpm,yarn,@vue/cli环境配置实测完全没有问题转载 2020-12-30 21:55:43 · 209 阅读 · 0 评论 -
jenkins集成项目,cnpm 代替npm 下载依赖包
思路: 进入项目路径下,使用cnpm手动解决依赖替换前history替换后原创 2020-12-30 19:12:11 · 1084 阅读 · 0 评论 -
win10优化,Dism++,也许是最强的实用工具
http://www.chuyu.me/zh-Hans/原创 2020-12-29 10:55:58 · 1675 阅读 · 0 评论 -
解决:windows电脑永不自动关机
1. 不节约电源win+x —> 设备管理器(M)去掉默认的对勾2. 从不休眠原创 2020-12-29 09:31:31 · 2028 阅读 · 0 评论 -
Windows命令行工具cmder配置
Windows命令行工具cmder配置转载 2020-12-29 09:18:21 · 150 阅读 · 0 评论 -
Ninjutsu-v1.0.iso
红极一时的忍者系统Ninjutsu OS链接:https://pan.baidu.com/s/1iq-eu9eHYAEQcoOSdNHqXQ提取码:1234建议下载工具:迅雷、Internet Download Manager、EagleGet供各位开发者及系统研究者学习使用原创 2020-12-28 23:41:37 · 1830 阅读 · 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 · 633 阅读 · 1 评论 -
Arcgis安装
ArcGIS 10.6 for Desktop 完整安装教程原创 2020-12-26 00:15:24 · 108 阅读 · 0 评论 -
Win10 上安装linux
【WSL】Windows Subsystem for Linux安装适用于 Linux 的 Windows 子系统安装指南 (Windows 10)原创 2020-12-25 16:29:46 · 221 阅读 · 0 评论 -
普罗米修斯 监控 postgresql
看国外的博客好了All databases on the eyes. Postgres exporter + Prometheus + Grafana.原创 2020-12-24 16:37:59 · 873 阅读 · 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 · 477 阅读 · 0 评论 -
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 · 4620 阅读 · 0 评论 -
jenkins配置不同用户显示不同视图
jenkins配置不同用户显示不同视图转载 2020-12-11 15:25:35 · 369 阅读 · 0 评论 -
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 · 4016 阅读 · 0 评论 -
office 装个盗版不成反给win10变成盗版的问题解决方案
背景:不知出于何种缘故,我的微软小本子用不了了office,然后自己去整了个盗版的装上,结果就像标题一样,尴尬的说。思路:1.花钱再整个正版的,当然是在某多多上5块买那种。2.卸载那个盗版office密钥和win10密钥,再修复自己win10的系统文件,看能不能还原回来。本示范选择了第二种:前提是:cmd 使用管理员身份运行 或 powershell管理员身份运行温馨提示: 可以自行百度win10 cmd或者powershell位置1、卸载office密钥# 查看现有office密钥原创 2020-12-05 11:26:39 · 2258 阅读 · 0 评论 -
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 · 932 阅读 · 0 评论 -
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 · 1656 阅读 · 0 评论 -
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 · 1968 阅读 · 0 评论 -
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 · 205 阅读 · 0 评论 -
docker-compose 数据持久化
需求:我要起nginx,但要做数据持久化,不想用docker -v 映射的方式,想直接使用docker-compose编排多服务踩了坑:docker-compose 给不同的docker版本做个语法版本对应,所以,使用高版本的docker和docker-compose,就不能使用旧的的语法格式错误示范:(3.x版本无法使用,需要以做卷的方式)官方文档地址: https://docs.docker.com/storage/volumes/#choose-the–v-or—mount-f原创 2020-12-03 08:53:28 · 2053 阅读 · 0 评论 -
kubespher3.0 harbor添加密钥后无法找到镜像
Kubersphere 3.0 Harbor仓库搜索镜像报400原创 2020-11-28 22:51:52 · 555 阅读 · 0 评论 -
harbor证书问题
参考https://goharbor.io/docs/1.10/install-config/configure-https/https://goharbor.io/docs/1.10/install-config/troubleshoot-installation/#https生成自己的CA默认情况下,Harbor不附带证书。可以在没有安全性的情况下部署Harbor,以便您可以通过HTTP连接到它。但是,只有在没有外部互联网连接的空白测试或开发环境中,才可以使用HTTP。在没有空隙的环境中使用原创 2020-11-28 16:44:00 · 1838 阅读 · 0 评论 -
Nexus windows安装,配置为系统服务
下包网址:https://help.sonatype.com/repomanager2/download/download-archives—repository-manager-oss百度云:链接:https://pan.baidu.com/s/1P48ibsur5d1m7ypn65mihg提取码:1234开始配置解压缩,找到脚本位置使用管理员身份完成脚本执行,win+x,命令提示符(管理员)cd 到项目位置,到bin这一层即可执行安装脚本,设置为win10系原创 2020-11-25 22:45:33 · 1073 阅读 · 0 评论 -
自定义个项目骨架报错解决:Unable to add module to the current project as it is not of packaging type ‘pom‘
自定义个项目骨架mvn archetype:generate先编译再切到target再安装archetype然后是选择题,依自己需要不需要选的可以直接回车谷歌社区原图(经过网页翻译):不会科学上网的可私信...原创 2020-11-25 21:10:10 · 700 阅读 · 0 评论 -
win10无法使用 javac,win10 java配置
只有这三处# 1)JAVA_HOMEC:\Program Files\Java\jdk1.8.0_241# 2)CLASSPATH.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar# 3)Path%JAVA_HOME%\bin%JAVA_HOME%\jre\bin原创 2020-11-25 16:44:21 · 144 阅读 · 0 评论