Fluentd as a log collection system, its users are still very large, but the steps to install Fluentd are very cumbersome, many people have encountered difficulties in the installation, the following small series will introduce you to RedHat to install Fluentd.
and extract the installation package download fluentd
tar zxvf fluentd-0.10.6.tar.gz
cd fluentd-0.10.6
. /configure
make
Switch to root account
make install
Tips are as follows
rake aborted!
Unable to determine name from existing gemspec. Use :name = " ‘gemname’ in #install_tasks to manually set it.
/usr/local/lib/fluent/ruby/lib/Ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/gem_helper.rb:30:in `initialize‘
/usr/local/lib/fluent/ruby/lib/ruby /gems/1.9.1/gems/bundler-1.2.1/lib/bundler/gem_helper.rb:14:in `new’
/usr/local/lib/fluent/ruby/lib/ruby/Gems/1.9.1/gems/bundler-1.2.1/lib/bundler/gem_helper.rb:14:in `install_tasks‘
/home/aircom/fluentd-0.10.6/Rakefile:6:in `"top (required)"’
/usr/local/lib/fluent/ruby/lib/ruby/1.9.1/rake.rb:2373:in `load‘
/usr/local/lib/fluent/ruby/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile’
/usr/local/lib/fluent/ruby/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile‘
/usr/local/lib/fluent/ruby/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling&rs Quo;
/usr/local/lib/fluent/ruby/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile‘
/usr/local/lib/Fluent/ruby/lib/ruby/1.9.1/rake.rb:1991:in `run’
-e:1:in `"main"‘
make: ** * [install] Error 1
Install ruby
rz ruby-1.9.3-p0.tar.gz
tar zxvf ruby-1.9.3-p0.tar. Gz
cd ruby-1.9.3-p0
. /configure
make
make install
Verify ruby
[root@Server201 ruby-1.9.3-p0]# ruby -v
Get the prompt
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Execute the installation
gem install fluentd
Tips are as follows, don't bother, wait for the installation, wait a little while (depending on the network) to see the progress of the installation.
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `"top (required)"’:
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
After the command is executed
Execute fluentd --setup
Prompt Installed /etc /fluent/fluent.conf.
Execute fluentd -c fluent.conf -vv &
Previous12Next Total 2 Pages
During Linux system operation, the terminal interface prompts -bash-2.05b$ after booting, which caus
Debian system to let the program boot from the start, in addition to the programs o
In Linux system operation, tools can be used to monitor network traffic, but there
Learning to use Linux is actually getting familiar with the various Linux operations. Of course, the
How to install and use http_load to stress test the server in Linux
What should I do if I restart the card on the logo screen after installing Ubuntu 11.10?
Linux installation vagrant process encountered problems
View the Linux version of the skill
What if the Linux partition read-only causes the database to stop writing data?
Linux shutdown selinux security subsystem skills
How to use the tcpdump command in the Linux system
How does the Linux shell call another script file
Linux removes the physical volume of PV in LVM
Linux how to use the command to update the file directory time
Perfectly solve the garbled problem of Windows7 system
Win7 system download and install itunes software graphic tutorial
Share the best way to restrict access to your computer's disk using Windows XP Group Policy
Win8 comes with a virtual optical drive using the graphical tutorial
Win8 often blue screen prompts the solution to restart
In-depth study on Lvs scheduling strategy
Win10 login password forgot how to do
What should I do if Win8.1 sounds small?
What is the USB interface of the lenovoG460 notebook?
Download Youku Encrypted Video Method Detailed Step Teaching