当前位置:网站首页>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
边栏推荐
- Two auxiliary functions of integral Mall for business user operation
- Processing method of CDC in SDC
- Usage and common problems of SIP softphone registered with SIP account
- Chapter 2 - getting started
- sdc中对cdc的处理方式
- Embedded general learning route arrangement
- Hack the box -sql injection fundamentals module detailed Chinese tutorial
- Mongondb API usage
- Redis transaction
- Properties of binary tree~
猜你喜欢

Yolov3 preparatory work

unity 像素画导入模糊问题

How students apply for free idea

ES Cluster in Red status: what about write & delete operations?

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

Development projects get twice the result with half the effort, a large collection of open source STM32 driver Libraries

金仓数据库 KingbaseES SQL 语言参考手册 (10. 查询和子查询)

Debugging sharp weapon! A lightweight log library log.c

Lemon class automatic learning after all

Redis持久化-RDB
随机推荐
MongonDB API使用
满二叉树 / 真二叉树 / 完全二叉树 ~
Introduction to Chinese text error correction task
Hack the box -sql injection fundamentals module detailed Chinese tutorial
leetcode-Array
Hack the box - Web requests module detailed Chinese tutorial
日志收集分析平台搭建-1-环境准备
一招教你轻松看懂波特图
金仓数据库 KingbaseES SQL 语言参考手册 (6. 表达式)
No EGL Display 报错解决
Benji Banas launched the second season of earn while playing bonus activities, supporting the use of multiple Benji passes!
Knowledge points of Polymer Physics
FTP experiment and overview
flex布局
LNMP architecture
Solution to slow download speed of vagrant
Six sixths -- it's a little late and a little shallow
Day110. Shangyitong: gateway integration, hospital scheduling management: Department list, statistics based on date, scheduling details
Redis official visualization tool, with high appearance value and powerful functions!
102. (cesium chapter) cesium road streamer