Minimal RevPi3 OS-image

Topics about the Software of Revolution Pi
Post Reply
EdbO
Posts: 6
Joined: 20 Sep 2018, 20:35
Answers: 0

Minimal RevPi3 OS-image

Post by EdbO »

It would be nice if there is a very minimal RevPi OS-image. In our situation we have a RevPi3 with some modules which are controlled with Python.
In a production environment we want only the minimum of the OS with the needed packages. Because it makes the attack-vector smaller but also updating way easier. And it saves space.

So is it possible to create an OS-image with only the minimum amount of packages needed to run?. Only include SSH and Python, no graphical environment or something else. This means even if it is possible remove PiCtory and the webserver, so creating a configuration-file have to be done on another system (maybe with IDs etc from that specific system) (cloud service from Kunbus?) and then moved via SSH to the RevPi. It seems a lot of work, but mostly you do it once for a system.
User avatar
dirk
KUNBUS
Posts: 1926
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Minimal RevPi3 OS-image

Post by dirk »

Hi, have a look at this post how easy it is to build your own RevPi image. Works like a charm and is ready in a couple of minutes. You may place the desired additional Debian packages in a separate directory as well.
EdbO
Posts: 6
Joined: 20 Sep 2018, 20:35
Answers: 0

Re: Minimal RevPi3 OS-image

Post by EdbO »

Thanks! I will give it a try. Just another question : Can I export a configuration created with picTory and manually import it into another RevPi?
User avatar
dirk
KUNBUS
Posts: 1926
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Minimal RevPi3 OS-image

Post by dirk »

The active configuration is here:

Code: Select all

$ ll /var/www/pictory/projects/_config.rsc
-rw-rw-r-- 1 www-data www-data 8521 Oct 18 13:51 /var/www/pictory/projects/_config.rsc
Just copy it to the other device. Then set the permissions i.e. as follows:

Code: Select all

$ sudo chown www-data /var/www/pictory/projects/_config.rsc
$ sudo chmod 664 /var/www/pictory/projects/_config.rsc
Post Reply