上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页
摘要: 1.prometheus接入springboot prometheus安装后,在安装目录有一个默认的配置文件prometheus.yml # my global config global: scrape_interval: 15s # Set the scrape interval to ever 阅读全文
posted @ 2023-03-03 22:30 BUG弄潮儿 阅读(210) 评论(0) 推荐(0)
摘要: 1 安装prometheus 1.1 下载prometheus 下载地址 https://prometheus.io/download/#prometheus 下载 wget https://github.com/prometheus/prometheus/releases/download/v2. 阅读全文
posted @ 2023-03-03 22:29 BUG弄潮儿 阅读(209) 评论(0) 推荐(0)
摘要: 1.创建项目 pom.xml引入相关依赖 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http 阅读全文
posted @ 2023-03-03 22:28 BUG弄潮儿 阅读(637) 评论(0) 推荐(0)
摘要: 1.配置yum源 vim /etc/yum.repos.d/gitlab-ce.repo 内容 [gitlab-ce] name=Gitlab CE Repository baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/ 阅读全文
posted @ 2023-02-21 20:47 BUG弄潮儿 阅读(172) 评论(0) 推荐(0)
摘要: 1.下载 VirtualBox并安装 https://www.virtualbox.org/wiki/Downloads 2.下载Rocky Linux 选择 Rocky-9.1-x86_64-dvd.iso 镜像 官网 https://rockylinux.org/download 阿里云镜像服务 阅读全文
posted @ 2023-02-21 20:46 BUG弄潮儿 阅读(1736) 评论(0) 推荐(0)
摘要: 代码版本管理 在项目中,代码的版本管理非常重要。每个需求版本的代码开发在版本控制里都应该经过以下几个步骤。 在master分支中拉取该需求版本的两个分支,一个feature分支,一个release分支;feature分支用于接受个人分支merge过来的代码,并用于部署dev环境。feature的代码 阅读全文
posted @ 2023-01-29 20:51 BUG弄潮儿 阅读(617) 评论(0) 推荐(1)
摘要: 19. chmod 控制用户对文件的权限,详细说明: https://m.runoob.com/linux/linux-comm-chmod.html Linux/Unix 的文件调用权限分为三级 : 文件所有者(Owner)、用户组(Group)、其它用户(Other Users)。 只有文件所有 阅读全文
posted @ 2023-01-07 22:00 BUG弄潮儿 阅读(143) 评论(0) 推荐(0)
摘要: 1. cd 用来改变目录 案例 cd 进入用户的主目录 cd /etc 绝对目录模式 cd ./home 相对目录模式 cd home 相对目录模式 cd .. 返回上一级目录 2. ls 列表显示文件和目录 案例 ls ls -a ls -l ls -ltr ls -ltrah l列表形式展示 a 阅读全文
posted @ 2022-12-14 22:20 BUG弄潮儿 阅读(78) 评论(0) 推荐(0)
摘要: 简介 项目中,请求时发送超大 json 数据外;响应时也有可能返回超大 json数据。上一篇实现了请求数据的 gzip 压缩。本篇通过 filter 实现对响应 json 数据的压缩。 先了解一下以下两个概念: 请求头:Accept-Encoding : gzip告诉服务器,该浏览器支持 gzip 阅读全文
posted @ 2022-10-13 09:04 BUG弄潮儿 阅读(965) 评论(0) 推荐(0)
摘要: 简介 在项目中,存在传递超大 json 数据的场景。直接传输超大 json 数据的话,有以下两个弊端 占用网络带宽,而有些云产品就是按照带宽来计费的,间接浪费了钱 传输数据大导致网络传输耗时较长 为了避免直接传输超大 json 数据,可以对 json 数据进行 Gzip 压缩后,再进行网络传输。 请 阅读全文
posted @ 2022-10-07 12:31 BUG弄潮儿 阅读(1423) 评论(1) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页