Running the Fleet server Now that we have installe...
# fleet
d
Running the Fleet server Now that we have installed Fleet, MySQL, and Redis, we are ready to launch Fleet! First, we must "prepare" the database. We do this via `fleet prepare db`: [5:10 PM] where should i write this lines. I have tried to write fleet prepare db on terminal but its shows fleet command not found
b
Download the fleet binary for Linux using the releases page. https://github.com/fleetdm/fleet/releases Once you have the fleet binary you can run prepare DB and the serve command.
t
I run fleet in docker, using docker-compose, so I do $ docker-compose run fleetdm fleet prepare db
d
@Benjamin Edwards I don't understand which one I should download. I sent you some screen shot. plz tell me.
b
fleet v4.9.0 linux
d
@Benjamin Edwards previously i have downloaded fleet v4.9.0 linux. when I run command with fleet. It shows fleet not found.
b
You have to extract using
tar -xzf
and then run
fleet prepare db
d
@Benjamin Edwards Still the same result fleet command not found. plz check ta screen shot below.
b
Looks like you downloaded fleetctl
You need the fleet binary
d
@Benjamin Edwards for R&D purpose I downloaded both. I download fleet binary. I move it to usr/bin file. but When I command from terminal. it shows fleet command isn't found. plz give me the direct download link of fleet binary. if I click on this it will automatically stating download. for example it could be google drive link from there i could get the binary version of fleet from you.
b
Hmm /usr/bin might not be in $PATH If that's the case. Rather than moving fleet, just leave it where it's downloaded and try from there.