您现在的位置是:首页 > 随手笔记网站首页随手笔记

Ubuntu安装巡查监控客户端(endpoint)

  • 小鑫
  • 2026-05-10 22:14:04
  • 155 次阅读
一 、安装客户端# 下载监控客户端压缩包 wget https://monitor.ynjy.cn/livefile/endpoint.tar.gz # 解压下载的压缩包(需要管理员权限) sudo tar zxvf endpoint.tar.gz #...

一 、安装客户端

# 下载监控客户端压缩包
wget https://monitor.ynjy.cn/livefile/endpoint.tar.gz

# 解压下载的压缩包(需要管理员权限)
sudo tar zxvf endpoint.tar.gz

# 进入解压后的文件夹
cd endpoint

# 启动监控程序(需要管理员权限)
sudo ./appWatchdog

二、设置开机启动

# 编辑系统自启动服务配置文件(nano编辑器)
sudo nano /etc/systemd/system/appWatchdog.service

粘贴以下内容

# 服务描述信息
[Unit]
Description=appWatchdog  # 服务名称
After=network.target    # 等待网络启动后再运行

# 服务执行配置
[Service]
ExecStart=/home/pejgyd/桌面/endpoint/appWatchdog  # 程序启动路径
Restart=always                                       # 程序崩溃自动重启

# 开机启动配置
[Install]
WantedBy=multi-user.target  # 多用户模式下开机自启


TAG: Ubuntu

上一篇:Ubuntu 自动识别网段下设备在线

下一篇:已经是最后一篇

文章评论 (0)

    • 这篇文章还没有收到评论,赶紧来抢沙发吧~


Top