当前位置:网站首页>Prometheus安装并注册服务
Prometheus安装并注册服务
2022-06-13 02:43:00 【小腿乱蹬~】
软件下载
https://prometheus.io/download/
安装
tar zvxf prometheus-2.35.0.linux-amd64.tar.gz -C /usr/local/
cd /usr/local
mv prometheus-2.35.0.linux-amd64 prometheus
groupadd prometheus
useradd -g prometheus -m -d /var/lib/prometheus -s /sbin/nologin prometheus
chown prometheus:prometheus -R prometheus/
注册服务
cd /etc/systemd/system
vim prometheus.service
[Unit]
Description=prometheus
After=network.target
[Service]
Type=simple
User=prometheus
ExecStart=/usr/local/prometheus/prometheus --config.file=/usr/local/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data
Restart=on-failure
[Install]
WantedBy=multi-user.target
启动服务
systemctl daemon-reload
systemctl start prometheus
systemctl status prometheus
systemctl enable prometheus
验证

边栏推荐
- Detailed installation tutorial of MATLAB r2019 B-mode ultrasound (complete installation files are attached)
- Linear, integer, nonlinear, dynamic programming
- After idea uses c3p0 connection pool to connect to SQL database, database content cannot be displayed
- [data analysis and visualization] key points of data drawing 3- spaghetti map
- A wechat app for shopping
- Opencvsharp4 handwriting recognition
- Leetcode 926. 将字符串翻转到单调递增 [前缀和]
- The weight of the input and textarea components of the applet is higher than that of the fixed Z-index
- 01 初识微信小程序
- Mean Value Coordinates
猜你喜欢

Mean Value Coordinates
![[data analysis and visualization] key points of data drawing 8- use of circular bar chart](/img/1f/232f2f0134867eeec3f1cfe005b2b5.jpg)
[data analysis and visualization] key points of data drawing 8- use of circular bar chart
![[reading papers] dcgan, the combination of generating countermeasure network and deep convolution](/img/31/8c225627177169f1a3d6c48fd7e97e.jpg)
[reading papers] dcgan, the combination of generating countermeasure network and deep convolution

Detailed installation tutorial of MATLAB r2019 B-mode ultrasound (complete installation files are attached)
![[data analysis and visualization] key points of data drawing 3- spaghetti map](/img/3d/ea832e67d22c62b07dc46cf49e50ba.jpg)
[data analysis and visualization] key points of data drawing 3- spaghetti map

Introduction to facial expression recognition system - Technical Paper Edition

Stm32f4 DMA Da sine wave generator keil5 Hal library cubemx

Special topic I of mathematical physics of the sprint strong foundation program

Data processing in detailed machine learning (II) -- Feature Normalization

The weight of the input and textarea components of the applet is higher than that of the fixed Z-index
随机推荐
Leetcode 473. Match to square [violence + pruning]
[reading papers] visual convolution zfnet
在IDEA使用C3P0连接池连接SQL数据库后却不能显示数据库内容
Logiciel professionnel de gestion de base de données: Valentina Studio Pro pour Mac
Example 4 linear filtering and built-in filtering
[reading papers] dcgan, the combination of generating countermeasure network and deep convolution
[data analysis and visualization] key points of data drawing 3- spaghetti map
Exam23 named windows and simplified paths, grayscale conversion
Leetcode 450. Delete node in binary search tree [binary search tree]
Opencvshare4 and vs2019 configuration
Linear, integer, nonlinear, dynamic programming
Svg filter effect use
[reading papers] comparison of deeplobv1-v3 series, brief review
OpenCVSharpSample04WinForms
Queuing theory, game theory, analytic hierarchy process
Opencv 08 demonstrates the effect of opening and closing operations of erode, dilate and morphological function morphologyex.
Modify the color of El input, textarea and El checkbox when they are disabled
Thinking back from the eight queens' question
Detailed explanation of handwritten numeral recognition based on support vector machine (Matlab GUI code, providing handwriting pad)
redis. Conf general configuration details