当前位置:网站首页>Establishment of log collection and analysis platform-1-environment preparation
Establishment of log collection and analysis platform-1-environment preparation
2022-07-26 05:49:00 【hahyyy】
1、 Get ready 3 Build a virtual machine nginx and kafka colony
2、 Configure static ip Address
remarks : service :NetworkManager perhaps network Run only one
start-up / stop it / restart :systemctl start/stop/restart NetworkManager
systemctl Managed services Configuration file in /usr/lib/systemd/system Next , With .service Profile at the end
Good configuration dns Input cat /etc/resolv.conf Check whether to enter the following

dns Analytical process :
1、 First find the browser cache
2、 Find local hosts file --linux(/etc/hosts)
3、 Then find the local domain name server -- linux(/etc/resolv.conf)
3、 Modify hostname
vim /etc/hostname
hostname -F /etc/hostname
4、 Domain name resolution is written on each machine
Input vim /etc/hosts Add the following three lines to the file ( Add three lines to each set )
ip Address 1 name 1
ip Address 2 name 2
ip Address 3 name 3
5、 Install basic software
yum install wget lsof vim -y
6、 Install time synchronization service
yum -y install chrony
systemctl enable chronyd # Set power on self start disable Turn off and start automatically
systemctl start chronyd
Set time zone :
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
7、 Turn off firewall
systemctl stop firewalld
systemctl disable firewalld
close selinux:
vim /etc/selinux/config
SELINUX=disabled
selinux close Need to restart the machine
Input getenforce See if it's disabled
selinux yes Linux A security related subsystem in the system kernel The rules are very cumbersome Generally, it is closed in daily work
边栏推荐
- Learn about spark project on nebulagraph
- Two auxiliary functions of integral Mall for business user operation
- leetcode-Array
- 二叉树的性质 ~
- Solve vagrant's error b:48:in `join ': incompatible character encodings: GBK and UTF-8 (encoding:: Compatib
- [MySQL must know and know] time function number function string function condition judgment
- Another open source artifact, worth collecting and learning!
- Chapter 1 - Construction of development environment
- 芯片的翻新和造假,人被坑麻了
- Redis主从复制
猜你喜欢

The idea YML file code does not prompt the solution

How can red star Macalline design cloud upgrade the traditional home furnishing industry in ten minutes to produce film and television level interior design effects

vagrant下载速度慢的解决方法

选电子工程被劝退,真的没前景了?

金仓数据库 KingbaseES SQL 语言参考手册 (6. 表达式)

MongonDB API使用

高分子物理试题库

某公司给每个工位装监控:只为看员工写代码?

Using easyexcel to import tables to realize batch insertion of xlsx files ----- MySQL of Linux

平衡二叉树(AVL) ~
随机推荐
Mba-day28 concept of number - exercise questions
ES Cluster in Red status: what about write & delete operations?
中文文本纠错任务简介
Redis transaction
flex布局
Yolov3 preparatory work
Embedded general learning route arrangement
[cloud native] record of feign custom configuration of microservices
Lemon class automatic learning after all
[cloud native] introduction and use of feign of microservices
[论文笔记] 面向网络语音隐写的抗分组丢失联合编码
C language explanation series - understanding of functions (4) declaration and definition of functions, simple exercises
STL common template library
嵌入式通用学习路线整理
How to understand "array name is essentially an address" from the perspective of memory parsing?
Redis master-slave replication
[personal summary] end of July 24, 2022
金仓数据库 KingbaseES SQL 语言参考手册 (10. 查询和子查询)
DOM operation -- operation node
金仓数据库 KingbaseES SQL 语言参考手册 (6. 表达式)