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
I run fleet in docker, using docker-compose, so I do$ docker-compose run fleetdm fleet prepare db
01/24/2022, 4:16 AM
@Benjamin Edwards I don't understand which one I should download. I sent you some screen shot. plz tell me.
01/24/2022, 4:27 AM
fleet v4.9.0 linux
01/24/2022, 4:59 AM
@Benjamin Edwards previously i have downloaded fleet v4.9.0 linux. when I run command with fleet. It shows fleet not found.
01/24/2022, 5:02 AM
You have to extract using
and then run
fleet prepare db
01/24/2022, 5:16 AM
@Benjamin Edwards Still the same result fleet command not found. plz check ta screen shot below.
01/24/2022, 5:30 AM
Looks like you downloaded fleetctl
You need the fleet binary
01/24/2022, 5:36 AM
@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.
01/24/2022, 1:22 PM
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.