1.vim /etc/systemd/system/alertmanager.service
[Unit] Description=Alertmanager After=network-online.target [Service] Restart=on-failure ExecStart=/usr/local/alertmanager-0.15.2.linux-amd64/alertmanager --config.file=/usr/local/alertmanager-0.15.2.linux-amd64/alertmanager.yml [Install] WantedBy=multi-user.target
1.
centos7格式化大于2T的硬盘
https://jingyan.baidu.com/article/e52e361516fadb40c60c511c.html