Skip to content
marpaia edited this page Oct 7, 2014 · 24 revisions

In order to allow you to use and distribute osquery in a way that works for you and your organization, osquery supports several distributions of Linux. For each supported distro, we supply vagrant infrastructure for creating native operating system packages. To create a package (a deb on Ubuntu, an rpm on CentOS), simply turn on the vagrant instance of your operating system of choice:

vagrant up ubuntu14
vagrant ssh ubuntu14

The available options are:

  • ubuntu14
  • ubuntu12
  • centos

Once you've logged in the vagrant box, note that the code is located at /vagrant. Simply run the following to create a package:

#
sudo su
cd /vagrant
./build/provision.sh
make
make package

This will create a deb or an rpm (depending on your platform). You can then distribute and install that package however you please.

Clone this wiki locally