随笔分类 -  Operation

运维相关的技术体系
摘要:方法:临时切换国内镜像源 1. 使用环境变量临时切换源 你可以通过设置环境变量来临时指定 Homebrew 使用国内镜像源,而不会影响全局配置。 运行以下命令: export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn 阅读全文
posted @ 2025-02-21 18:22 Questions张 阅读(11) 评论(0) 推荐(0) 编辑
摘要:{ "registry-mirrors": [ "https://n9r3vlsx.mirror.aliyuncs.com", "https://hub.xdark.top", "https://hub.littlediary.cn", "https://dockerpull.org", "http 阅读全文
posted @ 2025-02-17 21:22 Questions张 阅读(46) 评论(0) 推荐(0) 编辑
摘要:1 这个错误是淘宝镜像的https证书过期了,换成新的网站就可以了 https://registry.npmmirror.com 阅读全文
posted @ 2025-02-16 15:48 Questions张 阅读(7) 评论(0) 推荐(0) 编辑
摘要:1 自己通过wget在命令行以及远程服务器上面都可以用ip地址加端口的方式访问到首页index.html 2 原因,是chrome浏览器的安全限制,限制了特殊端口的访问 3 解决方案 MacOS下找到自己google chrome启动命令路径,执行Google Chrome --explicitly 阅读全文
posted @ 2025-01-19 16:34 Questions张 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1 Hyperkit进程在退出了docker Desktop应用后依然存在占用过高的问题 2 通过 ps aux | grep docker 查询所有docker相关的进程 3 然后通过 sudo kill -9 PID1 PID2 PID3 把查询出来的PID都禁止 4 之后解决了问题,释放了内存 阅读全文
posted @ 2024-09-03 07:34 Questions张 阅读(47) 评论(0) 推荐(0) 编辑
摘要:从 ~/.zshrc 加载 ~/.bash_profile 如果你希望 Zsh 可以读取 ~/.bash_profile 中的配置,可以在 ~/.zshrc 文件中显式地加载它。可以使用以下命令: # ~/.zshrc 文件添加下面内容,写在首行 # Source ~/.bash_profile i 阅读全文
posted @ 2024-08-27 06:17 Questions张 阅读(39) 评论(0) 推荐(0) 编辑
摘要:开通腾讯企业邮箱后,域名怎么做域名DNS设置? 开通企业邮箱后,登录域名管理权限,找到解析记录维护页,添加以下项: 1、MX记录: 邮件服务器名:mxbiz1.qq.com. 优先级:5 邮件服务器名:mxbiz2.qq.com. 优先级:10 温馨提示:为了保证收信稳定,请您在设置的同时,删除其他 阅读全文
posted @ 2023-05-29 21:09 Questions张 阅读(314) 评论(0) 推荐(0) 编辑
摘要:1 参考阿里云的文档 https://help.aliyun.com/document_detail/36771.html 2 需要找自己的域名服务商进行解析修改 阅读全文
posted @ 2023-05-28 14:30 Questions张 阅读(131) 评论(0) 推荐(0) 编辑
摘要:1 443的报错一般都是属于域名解析问题,或者墙的问题 2 首先解决墙的问题 这个不展开讲了 3 如果能够ping通域名了,brew install还是443 就把自己ping通域名对应ip地址写在/etc/hosts文件里面 198.18.3.57 github.com 4 之后再用brew in 阅读全文
posted @ 2023-02-18 11:12 Questions张 阅读(614) 评论(0) 推荐(0) 编辑
摘要:mvn deploy:deploy-file -DgroupId=taglibs -DartifactId=taglibs-unstandard -Dversion=20060829 -Dpackaging=jar -Dfile=/Users/zhangjin/developSoftware/mav 阅读全文
posted @ 2021-11-01 13:14 Questions张 阅读(34) 评论(0) 推荐(0) 编辑
摘要:1 问题现象 构建各种问号 2 检查各种配置 查看Jenkins的文件编码为 ANSI_X3.4-1968 然后直接执行mvn -v命令显示的也不是UTF-8 3 解决方案,直接在/etc/profile 添加配置 然后 source /etc/profile 环境变量 export JAVA_TO 阅读全文
posted @ 2021-09-19 18:32 Questions张 阅读(212) 评论(0) 推荐(0) 编辑
摘要:1 错误信息 remote: hooks/pre-receive:14:in `require_relative': cannot load such file -- /var/opt/gitlab/git-data/repositories/talkilla/talkilla.git/lib/gi 阅读全文
posted @ 2021-09-19 17:08 Questions张 阅读(457) 评论(0) 推荐(0) 编辑
摘要:1 答案 !加命令序号 2 例如上面951条命令用!951 阅读全文
posted @ 2021-09-07 10:35 Questions张 阅读(119) 评论(0) 推荐(0) 编辑
摘要:vi ~/.vimrc文件 添加下面内容 set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1 set enc=utf8 set fencs=utf8,gbk,gb2312,gb18030 阅读全文
posted @ 2020-07-18 12:59 Questions张 阅读(500) 评论(0) 推荐(0) 编辑
摘要:1 安装stress yum install stress sysstat 2 模拟cpu运行 stress --cpu 1 --timeout 600 3 查看负载均衡 watch -d uptime 4 查询CPU占用情况 mpstat -P ALL 5 5 查询具体的cpu占用进程 发现是st 阅读全文
posted @ 2020-04-13 10:14 Questions张 阅读(1399) 评论(0) 推荐(0) 编辑
摘要:编辑/etc/vim/vimrc文件,加上如下几行: set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set termencoding=utf-8 set encoding=utf-8 set fileencodings=utf-8, 阅读全文
posted @ 2020-01-12 12:32 Questions张 阅读(1119) 评论(0) 推荐(0) 编辑
摘要:1 检查一下自己是否copy的公钥过去 2 检查.ssh权限 chmod 700 .ssh 阅读全文
posted @ 2020-01-12 12:21 Questions张 阅读(444) 评论(0) 推荐(0) 编辑
摘要:hostnamectl set-hostname 你的主机名 阅读全文
posted @ 2020-01-12 12:21 Questions张 阅读(126) 评论(0) 推荐(0) 编辑
摘要:1 权限问题 原因 权限问题 chmod -R 700 ~/.ssh 阅读全文
posted @ 2019-12-23 14:51 Questions张 阅读(1058) 评论(0) 推荐(0) 编辑
摘要:1 删除那些无效的参数配置,就不再报错了 阅读全文
posted @ 2019-10-20 20:38 Questions张 阅读(165) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示