Skip to content

Instantly share code, notes, and snippets.

@ygini
Last active October 15, 2019 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ygini/ec9fef8521dabe74fbc05e244f752bb6 to your computer and use it in GitHub Desktop.
Save ygini/ec9fef8521dabe74fbc05e244f752bb6 to your computer and use it in GitHub Desktop.

Sources

Extra Packages for Enterprise Linux

yum install -y epel-release

MongoDB

cat << EOF > /etc/yum.repos.d/mongodb-org-3.2.repo
[mongodb-org-3.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc
EOF

ElasticSearch

cat << EOF > /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=https://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
EOF

rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch

Sympa Mailling List

curl http://sympa-ja.org/download/rhel/7/sympa-ja.org.rhel.repo > /etc/yum.repos.d/sympa-ja.org.rhel.repo

General

yum update

yum upgrade

Tools

yum install -y nano

yum install -y lsof

yum install -y bind-utils

yum install -y net-tools

Virtualization

yum install -y open-vm-tools

Graylog

yum install -y java-1.8.0-openjdk

yum install -y mongodb-org

yum install -y elasticsearch

yum install -y graylog-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment