2.3.2 Ubuntu 18.04安装
导入wazuh仓库的安装密钥,将wazuh仓库导入到apt仓库里面
root@wazuh-ubuntu-agent:~# curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
OK
root@wazuh-ubuntu-agent:~# echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
deb https://packages.wazuh.com/4.x/apt/ stable main更新apt仓库
root@wazuh-ubuntu-agent:~# apt-get update -y
Hit:1 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,127 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,738 kB]
Get:7 https://packages.wazuh.com/4.x/apt stable InRelease [14.0 kB]
Get:8 https://packages.wazuh.com/4.x/apt stable/main amd64 Packages [15.8 kB]
Fetched 4,147 kB in 31s (134 kB/s)
Reading package lists... Doneapt命令安装代理端
root@wazuh-ubuntu-agent:~# apt install -y wazuh-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
wazuh-agent is already the newest version (4.1.5-1).
0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.或者可以使用wazuh官方直链下载
使用dpkg命令安装代理端
最后更新于
这有帮助吗?