should probably work with Fedora 27 (or 25) as well. Tested on my laptop running Fedora 26 x64 GNOME
Download the latest version for Linux - i used the 64bit version
https://downloads.preyproject.com/prey-client-releases/node-client/1.7.4/prey-linux-1.7.4-x64.zip
Install dependencies in terminal according to the README file
sudo dnf install xawtv scrot mpg123 dmidecode unzip
unzip the downloaded prey zip file to your preferred directory . I decided to leave it under my downloads directory, where the downloaded zip should be
cd Downloads
unzip prey-linux-1.7.4-x64.zip
Test if Prey binary can actually run
cd prey-1.7.4
./bin/prey
CTRL-C to exit
if it’s good, time to sign in using the GUI:
sudo ./bin/prey config gui
now it gets a bit tricky - it asks to run prey config activate but not as root (without sudo) so you’ll need to change ownership of the prey config directory under /etc -
sudo chown your-username:your-username /etc/prey
now run the activation command
./bin/prey config activate
does it give “positive reinforcements”…? if so, test prey again
./bin/prey
test Prey functionality from the web dashboard, everything should be working fine - check the on screen log.
if everything’s swell, CTRL-C to exit prey on the terminal.
tricky part #2: make Prey run on startup using systemd :
again, i’m using the prey binary I left on my downloads directory
cd /etc/systemd/system
sudo gedit prey.service (*or use any other text editor that works for you)
insert the following text
[Unit]
Description=Prey Service
After=network.target
[Service]
Type=simple
RemainAfterExit=yes
ExecStart=/home/your-username/Downloads/prey-1.7.4/bin/prey -l /var/log/prey.log &
[Install]
WantedBy=multi-user.target
exit & save file , make service file executable
sudo chmod +x prey.service
start the new service & check if it’s running
sudo systemctl start prey
systemctl status prey
if everything look’s good up to this point, time to enable the service to actually start on system startup
sudo systemctl enable prey
Time to reboot. once Fedora starts, don’t log on the user prompt, find another machine or use your cellphone for logging on Prey dashboard to check whether you can actually track the laptop.
all set:)
also, prey creates a log file under /var/log/prey.log (as root). familiarize yourself with that nice log