Sabtu, 15 Februari 2020

How to install wazuh agent on linux centos 7

  Tidak ada komentar
Add the wazuh agent repository
[root@apps_bck ~]# rpm --import http://packages.wazuh.com/key/GPG-KEY-WAZU                                                                     H
cat > /etc/yum.repos.d/wazuh.repo <<\EOF
[wazuh_repo]
gpgcheck=1
gpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH
enabled=1
name=Wazuh repository
baseurl=https://packages.wazuh.com/3.x/yum/
protect=1
EOF[root@svrlb_apps_bck ~]# cat > /etc/yum.repos.d/wazuh.repo <<\EOF
> [wazuh_repo]
> gpgcheck=1
> gpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH
> enabled=1
> name=Wazuh repository
> baseurl=https://packages.wazuh.com/3.x/yum/
> protect=1
> EOF
[root@svrlb_apps_bck ~]#
Pertform package installation with yum install command
[root@svrlb_apps_bck ~]# yum install wazuh-agent
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink                                     | 8.9 kB     00:00
 * base: mirror.telkomuniversity.ac.id
 * epel: mirror.telkomuniversity.ac.id
 * extras: mirror.telkomuniversity.ac.id
 * updates: mirror.telkomuniversity.ac.id
base                                                     | 3.6 kB     00:00
cheese                                                   | 3.5 kB     00:00
epel                                                     | 5.3 kB     00:00
extras                                                   | 2.9 kB     00:00
updates                                                  | 2.9 kB     00:00
wazuh_repo                                               | 3.4 kB     00:00
(1/6): extras/7/x86_64/primary_db                          | 159 kB   00:00
(2/6): epel/x86_64/updateinfo                              | 1.0 MB   00:00
(3/6): wazuh_repo/primary_db                               | 142 kB   00:00
(4/6): updates/7/x86_64/primary_db                         | 6.7 MB   00:07
(5/6): epel/x86_64/primary_db                              | 6.7 MB   00:11
(6/6): cheese/7/x86_64/primary_db                          | 551 kB   00:12
Resolving Dependencies
--> Running transaction check
---> Package wazuh-agent.x86_64 0:3.11.3-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch           Version            Repository          Size
================================================================================
Installing:
 wazuh-agent         x86_64         3.11.3-1           wazuh_repo         9.9 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 9.9 M
Installed size: 78 M
Is this ok [y/d/N]: y
Downloading packages:
wazuh-agent-3.11.3-1.x86_64.rpm                                                                                               | 9.9 MB  00:00:08
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wazuh-agent-3.11.3-1.x86_64                                                                                                       1/1
  Verifying  : wazuh-agent-3.11.3-1.x86_64                                                                                                       1/1

Installed:
  wazuh-agent.x86_64 0:3.11.3-1

Complete!
[root@apps_bck ~]#


Tidak ada komentar :

Posting Komentar