--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/3f4e50dc-08ae-44b4-99c5-50867c69d20b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/c38ff57a-aad7-4110-a81f-86eabae5185d%40googlegroups.com.
Hi Marcio,
After review this, we have a couple uptions:
Rehat/CentOS systems:
Here you can use reposync, witch is very easy to work with.
Add Wazuh repository to your machine following the instructions here
rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH
yum install yum-utils createrepo
reposync --gpgcheck -l --repoid=wazuh_repo --download_path=/var/www/html
cd /var/www/html/wazuh_repo
createrepo -v /var/www/html/wazuh_repo
Deboian/Ubuntu systems:
curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
apt-get install apt-mirror
nano /etc/apt/mirror.list
In the file mirror.list add the wazuh repository something like deb https://packages.wazuh.com/apt yourdistro main and setup your base path (by default /var/spool/apt-mirror), the following example is my mirror.list
############# config ##################
#
# set base_path /var/spool/apt-mirror
#
# set mirror_path $base_path/mirror
# set skel_path $base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch <running host architecture>
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads 20
set _tilde 0
#
############# end config ##############
deb https://packages.wazuh.com/apt xenial main
Then only need to run apt-mirror command:
root@ubuntu:~# apt-mirror
You can find more information in the following links:
Centos/Redhat
https://access.redhat.com/solutions/23016
Ubuntu/Debian
http://manpages.ubuntu.com/manpages/xenial/man1/reposync.1.html
https://www.tecmint.com/setup-local-repositories-in-ubuntu/
i hope it helps.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/03331877-d179-4583-90f1-78f0e1c4a70d%40googlegroups.com.