In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "the installation method of Fluentd". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Fluentd is a cross-platform open source system that supports running on Linux (Redhat, Ubuntu, Debian) and Windows platforms. Where's MacOS? There is no official indication, but the installation instructions list the installation methods through Ruby Gem, which must also support MacOS systems.
Fluentd is developed in C+Ruby, and considering that many developers are not familiar with Ruby, the official considerate and stable release is td-agent. That's the name of the executable we see after installation, not fluentd.
The process of installing Fluentd on a CentOS-6.5 64-bit system is described below.
Installation preparation
Configure NTP, which is critical to the production environment to ensure the accuracy of real-time data.
Increase the value of the file descriptor. Check the number of current file descriptors through ulimit-n, and if it appears as 1024, you need to modify it. Add the following configuration to / etc/security/limits.conf and restart the server.
Optimize network kernel parameters. Add the following configuration to / etc/sysctl.conf, restart or execute sysctl-p to make it effective.
Start installation
We install it through rpm, which is very simple, with a single command:
Curl-L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent3.sh | sh
Start the daemon
/ etc/init.d/td-agent is the running control script of td-agent. You can control the running of the process by entering parameters such as start, stop, restart and so on. The default configuration file for td-agent is / etc/td-agent/td-agent.conf, which can be modified for business configuration.
Check whether the process has started successfully through ps.
This is the end of the content of "how to install Fluentd". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.