Title
#kolide
e

Eldar

02/06/2018, 9:43 AM
@Kemal is any any backend for fleet? I mean any web server like nginx or apache? I installed fleet and on this step fleet serve --config /tmp/kolide.yml. But I don't understand is this enough for running web or I missed something else?
s

sebnash

02/06/2018, 9:58 AM
@Eldar my understanding is that the
fleet
binary serves the web app
e

Eldar

02/06/2018, 10:00 AM
Thanks @sebnash I found another link for installing on Ubuntu https://github.com/kolide/fleet/blob/master/docs/infrastructure/fleet-on-ubuntu.md will use this one ))
s

sebnash

02/06/2018, 10:01 AM
I got it running on Ubuntu (on GCP) so let me know if you have any questions
e

Eldar

02/06/2018, 11:06 AM
@sebnash I have just started studying osquery. Installed fleet server on virtual env. It works. How to add hosts? Did not understand yet
11:08 AM
@sebnash here is output from docs
Set an environment variable with an agent enrollment secret
The enrollment secret is a value that osquery uses to ensure a level of confidence that the host running osquery is actually a host that you would like to hear from. There are a few ways you can set the enrollment secret on the hosts which you control. You can either set the value as:

an value of an environment variable (a common name is OSQUERY_ENROLL_SECRET)
the content of a local file (a common path is /etc/osquery/enrollment_secret)
The value of the environment variable or content of the file should be a secret shared between the osqueryd client and the Fleet server. This is basically osqueryd's passphrase which it uses to authenticate with Fleet, convincing Fleet that it is actually one of your hosts. The passphrase could be whatever you'd like, but it would be prudent to have the passphrase long, complex, mixed-case, etc. When you launch the Fleet server, you should specify this same value.
how to specify this values?
11:09 AM
you have 2 routes – use Kolide’s Launcher, or deploy ‘native’ osqueryd and confiqure it yourself
e

Eldar

02/06/2018, 11:30 AM
I am reading this link. Which one is the best? the 1st one seems easier.
s

sebnash

02/06/2018, 11:39 AM
I’m experimenting with both…
Kemal

Kemal

02/06/2018, 1:53 PM
https://github.com/kolide/fleet/blob/master/docs/infrastructure/fleet-on-ubuntu.md on this page, To install fleet run the following… the command “sudo cp fleet/linux/fleet /usr/bin/fleet” not working
1:53 PM
fleet/linux/fleet no such file or directory
1:54 PM
the directory created by previous command is fleet_linux_amd64
1:55 PM
so, i must change the path. (Im also ne on linux systems)
s

sebnash

02/06/2018, 2:47 PM
use
sudo cp fleet/linux/fleet_linux_amd64 /usr/bin/fleet
Kemal

Kemal

02/06/2018, 2:53 PM
@sebnash thank you very much.