![]() ~]# sudo systemctl restart elasticsearch. – After you have modified the configuration, you can start Elasticsearch: ~]# sudo chkconfig -add elasticsearch – Open Elasticsearch configuration file (/etc/elasticsearch/elasticsearch.yml) and set the cluster name to graylog: ~]# vi /etc/elasticsearch/elasticsearch.yml – Now, install Elasticsearch using the follwing command: ~]# sudo yum install elasticsearch -y Name=Elasticsearch repository for 2.x packages You will need to create a repo for it using the following command: ~]# vi /etc//elasticsearch.repo – Elasticsearch is not available in the default CentOS repositories. – To install Elasticsearch, we have to Import the GPG key using the following command: rpm -import ![]() – Start the MongoDB service and enable it to start on boot with the following command: ~]# sudo chkconfig -add mongod – Install MongoDB by running the following command: ~]# sudo yum install mongodb-org -y Optionally, you can generate random passwords with the pwgen program. – Add the following contents: īaseurl=$releasever/mongodb-org/3.2/x86_64/ OpenStack Installation Guide forRed Hat Enterprise Linux, CentOS,and FedoraJune 30. To do so,you have to create the file mongodb-org-3.2.repo under /etc// directory using the following commands: ~]# vi /etc//mongodb-org-3.2.repo You will need to add the MongoDB repo first. – MongoDB is not available in the default CentOS repository. – To install graylog, we will need to install those additional packages: ~]# sudo yum install java-1.8.0-openjdk-headless.x86_64 -y In this tutorial, we will learn how to install and configure the Graylog server on CentOS 7/RHEL 7 ![]() Graylog Server : Receives and parses the logs coming from various inputs and provides a web interface to manage those logs. MongoDB : Database to store configuration and meta information. Įlasticsearch : Receives and stores the logs from the Graylog server and offers a search facility. Graylog is an open source log management software that can be used to easily collect, index, and analyze remote system logs centrally.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |