Below was the exact thing i does:
Prerequisites
Taking a minimal server setup as base will need this additional packages:
sudo apt-get update && sudo apt-get upgrade_
_ sudo apt-get install apt-transport-https openjdk-8-jre-headless uuid-runtime pwgen
MongoDB
The Version included in Ubuntu 16.04 LTS can be used together with Graylog 2.3.x and higher:
$ sudo apt-get install mongodb-server
Elasticsearch
Graylog 2.3.x can be used with Elasticsearch 5.x, please follow the installation instructions from the z(Elasticsearch installation guide: - > I did not look at this Elasticsearch guide)
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -_
_ echo “deb https://artifacts.elastic.co/packages/5.x/apt stable main” | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
$ sudo apt-get update && sudo apt-get install elasticsearch
Make sure to modify the Elasticsearch configuration file (/etc/elasticsearch/elasticsearch.yml) and set the cluster name to graylog additionally you need to uncomment (remove the # as first character) the line:
cluster.name: graylog
After you have modified the configuration, you can start Elasticsearch:
sudo systemctl daemon-reload_
_ sudo systemctl enable elasticsearch.service
$ sudo systemctl restart elasticsearch.service
Graylog
Now install the Graylog repository configuration and Graylog itself with the following commands:
wget https://packages.graylog2.org/repo/packages/graylog-2.3-repository_latest.deb_
_ sudo dpkg -i graylog-2.3-repository_latest.deb
$ sudo apt-get update && sudo apt-get install graylog-server
Follow the instructions in your /etc/graylog/server/server.conf and add password_secret and root_password_sha2. These settings are mandatory and without them, Graylog will not start!
You need to use the following command to create your root_password_sha2:
echo -n yourpassword | sha256sum
To be able to connect to Graylog you should set (rest_listen_uri -> done this) and (web_listen_uri -> done this) to the public host name or a public IP address of the machine you can connect to. More information about these settings can be found in Configuring the web interface.
The last step is to enable Graylog during the operating system’s startup:
sudo systemctl daemon-reload_
_ sudo systemctl enable graylog-server.service
$ sudo systemctl start graylog-server.service
Now, after all of this line, i still cannot open the graylog in browser
Please some one help me out with this, Thanks in advance!