OSQuery Training
  • â„šī¸Info
    • What is OSQuery?
  • đŸ–Ĩī¸Installation Guides
    • đŸĨDebian + Ubuntu Based Systems
    • 🎩Red Hat, CentOS and Fedora Systems
    • đŸĒŸWindows Based Systems
  • 🔰Using OSQuery
    • Basic Queries
  • 💠FleetDM Guides
    • FleetDM Setup
    • Joining Hosts to Fleet
    • Creating New Queries on Fleet
  • 📗Lesson 1
    • Mespinoza/Pysa Ransomware
    • Hunting Mespinoza/Pysa
  • 📙Lesson 2
    • Pay2Key Ransomware
    • Hunting Pay2Key
Powered by GitBook
On this page
  1. Installation Guides

Red Hat, CentOS and Fedora Systems

OSQuery Installation Guide for Red Hat, CentOS and Fedora Systems

PreviousDebian + Ubuntu Based SystemsNextWindows Based Systems

Last updated 3 years ago

As 'root', run the following commands to install OSQuery on a Red Hat, CentOS and Fedora based System.

curl -L https://pkg.osquery.io/rpm/GPG | tee /etc/pki/rpm-gpg/RPM-GPG-KEY-osquery
yum-config-manager --add-repo https://pkg.osquery.io/rpm/osquery-s3-rpm.repo
yum-config-manager --enable osquery-s3-rpm
yum install osquery

Test to make sure it was installed correctly by running OSQuery CLI on the local machine. The osqueryi command will evoke an OSQuery interactive shell that queries can be run in.

OSQuery is now successfully installed on this system.

đŸ–Ĩī¸
🎩
Hint: Use control + D to quit out of OSQuery CLI