728x90
Fluentd 웹 UI를 설치하는 방법(fluentd-ui)
1. Ruby 및 RubyGems 설치
Fluentd-UI는 Ruby로 작성되었으므로 먼저 Ruby와 RubyGems를 설치해야 합니다.
- Ubuntu / Debian
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev libxml2-dev libxslt1-dev
sudo apt-get install -y ruby ruby-dev
- CentOS / RHEL
sudo yum install -y ruby ruby-devel
2. Fluentd-UI 설치
RubyGems를 사용하여 Fluentd-UI를 설치합니다.
gem install fluentd-ui
$ gem install fluentd-ui
Building native extensions. This could take a while...
Successfully installed racc-1.7.3
Successfully installed nokogiri-1.16.2-x86_64-linux
Successfully installed crass-1.0.6
Successfully installed loofah-2.22.0
Successfully installed rails-html-sanitizer-1.6.0
Successfully installed rails-dom-testing-2.2.0
rack's executable "rackup" conflicts with rackup
Overwrite the executable? [yN]
...
96 gems installed
fluentd-ui setup
$ fluentd-ui setup
Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine.
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/..........
Fetching rake 13.1.0
Installing rake 13.1.0
Fetching date 3.3.4
Fetching uri 0.13.0
Installing timeout 0.4.1
Fetching rexml 3.2.6
Fetching net-protocol 0.2.2
Installing uri 0.13.0
Installing date 3.3.4 with native extensions
Installing net-protocol 0.2.2
Installing rexml 3.2.6
Fetching net-http 0.4.1
Fetching net-pop 0.1.2
Installing net-http 0.4.1
Installing net-pop 0.1.2
Fetching net-smtp 0.4.0.1
Installing net-smtp 0.4.0.1
Fetching net-imap 0.4.10
Installing net-imap 0.4.10
Bundle complete! 1 Gemfile dependency, 116 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
3. Fluentd-UI 실행
Fluentd-UI를 실행하여 웹 서버를 시작합니다.
fluentd-ui start --daemonize
4. 웹 브라우저 접속
Fluentd-UI에 로그인합니다.
http://localhost:9292
참고URL
- github : fluentd-ui
- Fluentd Document : fluentd-ui
728x90
'리눅스' 카테고리의 다른 글
우분투에서 cowsay를 설치하고 설정하는 방법 (0) | 2024.03.05 |
---|---|
우분투에서 motd를 설정하는 방법 (0) | 2024.03.05 |
우분투에 플루언트 비트를 설치하고 기본 설정하는 방법(Fluent Bit) (0) | 2024.03.03 |
우분투에 fluentd를 설치하는 방법 (0) | 2024.03.01 |
Kibana를 설치하는 방법 (0) | 2024.03.01 |