![]() ![]() #Set Graylog to listen on localhost at port 9000 Sudo sed -i "s/root_password_sha2 =/root_password_sha2 =$message/g" /etc/graylog/server/nf apt-get update & apt-get upgrade -y Install MongoDB. Message=$(echo -n "$password" | sha256sum | awk '') How to install MongoDB on Debian 9 Update your server before the installation of MongoDB. ![]() #Generate initial SHA-256 Hash of the root password and save it to conf file Sudo sed -i "s/password_secret =/password_secret =$password_secret/g" /etc/graylog/server/nf To start and activate MongoDB, use the following command. #Generate Password Secret and save it to conf file Sudo apt -y install graylog-server graylog-integrations-plugins Run the following command to edit the elasticsearch config file: sudo tee -a /etc/elasticsearch/elasticsearch.yml > /dev/null /dev/null << EOT Installing the 10gen MongoDB packages Follow the 10gen instructions for adding their repository: sudo apt-key adv -keyserver -recv 7F0CEB10 Edit /etc/apt/sources.list, delete any lines you have already added for Mongo, and add the following single line (since 11. ![]() Install Elasticsearch sudo apt install elasticsearch-oss ![]() Install MongoDB sudo apt install mongodb-org -yĮnable MongoDB at boot sudo systemctl daemon-reloadĪdd Elasticsearch repository wget -qO - | sudo apt-key add -Įcho "deb stable main" | sudo tee -a /etc/apt//elastic-7.x.list Add the MongoDB repository to Debian 11 with the following commands: wget -qO - | sudo apt-key add -Įcho "deb buster/mongodb-org/4.4 main" | sudo tee /etc/apt//mongodb-org-4.4.list Graylog can run under a newer version of Java.įor this guide, I will be going with Java 17, the latest version of Java from the Debian 11 repository. Install the Prerequisites for Debian 11 Minimal Installations sudo apt install apt-transport-https uuid-runtime pwgen dirmngr gnupg wgetĪs of, the official documentation for Graylog ( ) calls for Java 11. ![]()
0 Comments
Leave a Reply. |