InstallCrowdStrike.sh 430 B

12345678910111213141516
  1. #!/bin/bash
  2. # copy file from SCP server to local system
  3. sudo scp -r anonymous@ptiwa001:falcon-sensor_6.46.0-14306.deb ~/
  4. # install package using dpkg
  5. sudo dpkg -i falcon-sensor_6.46.0-14306.deb
  6. # Run the additional command
  7. sudo /opt/CrowdStrike/falconctl -s --cid=D0511099B3FF494D8B87F48C4AB90201-56
  8. # start the service
  9. sudo systemctl start falcon-sensor
  10. # check the status of the service
  11. sudo systemctl status falcon-sensor