![]() ![]() Restart graylog service for it to bind to all addresses on the system sudo systemctl restart graylog-server Let’s also bind address to the network interface used by the Graylog HTTP interface $ sudo vi /etc/graylog/server/nf #line 105 Root_password_sha2 = Replace-me-with-generated-hashed-root-secretĮxample: password_secret = pYJuHjPD0166gUEzh元XUpTkacYAu26FFxVIRjvczINydWF7WwBbUEUaD5KukCUBIKpklbYn85ebWTOQg4UMMS0twWqB7Rep Password_secret = Replace-me-with-generated-password-secret These settings are mandatory and without them, Graylog will not start! $ sudo vi /etc/graylog/server/nf PYJuHjPD0166gUEzh元XUpTkacYAu26FFxVIRjvczINydWF7WwBbUEUaD5KukCUBIKpklbYn85ebWTOQg4UMMS0twWqB7Rep Generate password_secret using pwgen tool installed earlier. We’ll use it in the configuration file to update it. RHEL 7: sudo subscription-manager repos -enable rhel-*-optional-rpms \Īdd MongoDB Repository: sudo tee /etc//mongodb-org-4.4.repo Sudo semanage port -a -t mongod_port_t -p tcp 27017 Step 2: Add required repositories:ĬentOS 7: sudo yum -y install epel-release Sudo semanage port -a -t http_port_t -p tcp 9200 Sudo semanage port -a -t http_port_t -p tcp 9000 Sudo setsebool -P httpd_can_network_connect 1 If you’re using SELinux on your system, set following settings: sudo yum -y install curl vim policycoreutils Graylog depends on Java, Elasticsearch, and MongoDB for its functions. Elasticsearch is responsible for logs storage and MongoDB is for storing Graylog related configurations. Install GrayLog on Ubuntu 20.04 / Ubuntu 18.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |