Linux serverNETWORK ADMINISTRATIONS

Installation de Graylog V4 sur Centos 8

Installation de Graylog version 4 à partir de la documentation officielle:
https://docs.graylog.org/en/4.0/

Installation des pré-requis:
– java
– mongodb
– elasticsearch
Configuration du pare-feu pour l’ouverture du port 9000

Liste des commandes utilisées dans la vidéo:
yum install java-1.8.0-openjdk-headless.x86_64
vi /etc/yum.repos.d/mongodb-org.repo
yum install mongodb-org
systemctl enable mongod.service
systemctl start mongod.service
rpm –import https://artifacts.elastic.co/GPG-KEY-elasticsearch
vi /etc/yum.repos.d/elasticsearch.repo
yum install elasticsearch-oss
systemctl enable elasticsearch.service
systemctl start elasticsearch.service
yum install epel-release
yum install pwgen
rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-4.0-repository_latest.rpm
yum install graylog-server
vi /etc/graylog/server/server.conf
systemctl enable graylog-server.service
systemctl start graylog-server.service
setsebool -P httpd_can_network_connect 1
sudo semanage port -a -t mongod_port_t -p tcp 27017
firewall-cmd –zone=public –add-port=9000/tcp –permanent
firewall-cmd –reload

source

centos 8

Leave a Reply

Your email address will not be published. Required fields are marked *