![]() |
Re: Prey antitheft for Jolla
1 Attachment(s)
I have updated nodejs.
And, Prey have updated their nodejs version. There are some small things to be aware of, when trying to update Prey to the latest version thru npm with the new version. Primarily, they now are using Sqlite for some things. So, in order to get new version of Prey installed, here is a smmall how-to: First, uninstall prey. Code:
sudo npm remove prey -g --unsafe-permEither download, and use rpm, pkcon install-local or, add my repository. Update npm to latest version: Code:
sudo npm install npm@latest -gCode:
sudo npm install nan -g --unsafe-permCode:
sudo npm install prey -g --unsafe-permAdd systemd services, if you want to enable it by default Code:
sudo nano /etc/systemd/system/prey-agent.serviceCode:
[Unit]Code:
sudo nano /etc/sudoers.d/50_prey_switcherCode:
prey ALL = NOPASSWD: /bin/su [A-z]*, !/bin/su root*, !/bin/su -*, /usr/sbin/iwlistCode:
sudo systemctl daemon-reloadCode:
sudo systemctl enable prey-agent |
Re: Prey antitheft for Jolla
Hi Neil,
I've got so much trust in the stuff you make for us, I'm happy to install things unsafe. :) Things worked well up to the point of installing prey itself: Code:
[root@Sailfish nemo]# sudo npm install prey -g --unsafe-perm |
Re: Prey antitheft for Jolla
Rob: its trying to build the binaries.
you need to install make, gcc and g++ |
Re: Prey antitheft for Jolla
So pkcon install make, pkcon install gcc, pkcon install g++?
|
Re: Prey antitheft for Jolla
Quote:
make gcc gcc-c++ |
Re: Prey antitheft for Jolla
Perhaps time has come to gather all updated instructions for installation in one, clear and accurate document.
|
Re: Prey antitheft for Jolla
Or a installation file that does/have everything in it/gets it and installs it. :)
|
Re: Prey antitheft for Jolla
I'm asking, how to do this on Jolla Tablet...
The new Nodejs Version is only armv7hl |
Re: Prey antitheft for Jolla
Quote:
After holidays i will try to get this to build on i486. Posibly i will make an rpm package of prey. |
Re: Prey antitheft for Jolla
Quote:
Code:
[root@Sailfish nemo]# pkcon install gccThanks, Rob |
| All times are GMT. The time now is 07:57. |
vBulletin® Version 3.8.8