我們直接開始?
創(chuàng)新互聯(lián)專業(yè)為企業(yè)提供蘆溪網(wǎng)站建設(shè)、蘆溪做網(wǎng)站、蘆溪網(wǎng)站設(shè)計、蘆溪網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計與制作、蘆溪企業(yè)網(wǎng)站模板建站服務(wù),十余年蘆溪做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價值的思路和整體網(wǎng)絡(luò)服務(wù)。sudo yum install epel-release
并安裝帶有
sudo yum install pwgen
yum install java-1.8.0-openjdk-headless.x86_64
vi /etc/yum.repos.d/mongodb-org.repo
[mongodb-org-4.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
執(zhí)行安裝
sudo yum install mongodb-org
啟動
sudo systemctl daemon-reload
sudo systemctl enable mongod.service
sudo systemctl start mongod.service
sudo systemctl --type=service --state=active | grep mongod
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
vi /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/oss-7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
安裝和啟動
sudo yum install elasticsearch-oss
vi /etc/elasticsearch/elasticsearch.yml
# 返注釋最后一行action.auto_create_index: false
sudo tee -a /etc/elasticsearch/elasticsearch.yml >/dev/null<
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
sudo systemctl restart elasticsearch.service
sudo systemctl --type=service --state=active | grep elasticsearch
sudo rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-4.3.8-repository_latest.rpm
sudo yum install -y graylog-server graylog-enterprise-plugins graylog-integrations-plugins graylog-enterprise-integrations-plugins
#安裝完成后,首先生成password_secret密碼
pwgen -N 1 -s 96
#要創(chuàng)建您的root_password_sha2 運(yùn)行以下命令:
echo -n "Enter Password: " && head -1
生成的secret 和密碼填入配置文件中
注意時區(qū)?
root_timezone = Asia/Shanghai
以及ip
http_bind_address = 0.0.0.0:9000
最后啟動
#啟動graylog
sudo systemctl daemon-reload
sudo systemctl enable graylog-server.service
sudo systemctl start graylog-server.service
sudo systemctl --type=service --state=active | grep graylog
你是否還在尋找穩(wěn)定的海外服務(wù)器提供商?創(chuàng)新互聯(lián)www.cdcxhl.cn海外機(jī)房具備T級流量清洗系統(tǒng)配攻擊溯源,準(zhǔn)確流量調(diào)度確保服務(wù)器高可用性,企業(yè)級服務(wù)器適合批量采購,新人活動首月15元起,快前往官網(wǎng)查看詳情吧