一,运维标准化:
- 程序启动的用户
- 程序systemd service文件
- 主目录
- 主目录/二进制
- 主目录/配置
- 主目录/数据
- 主目录/日志
- 动态库或插件
- 比如filebeat:
-
home
Home of the Filebeat installation.
path.home主目录
bin
The location for the binary files.
{path.home}/bin二进制
config
The location for configuration files.
{path.home}配置
path.config
data
The location for persistent data files.
{path.home}/data数据
path.data
logs
The location for the logs created by Filebeat.
{path.home}/logs日志
path.logs
安装部署: