1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

documentation

This commit is contained in:
dbarzin 2022-07-04 21:03:16 +02:00
parent 0ae15ea542
commit e3a718f1f9
3 changed files with 35 additions and 9 deletions

View file

@ -16,4 +16,29 @@ After reboot, login with the user create during the install and type :
cd pandora-box
sudo ./install.sh
You can configura Pandora-box in the _pandora-box.ini_ file :
[DEFAULT]
; Curses mode (full text)
CURSES = False
; Screen size (graphic mode)
SCREEN_SIZE = "1024x600"
; Set USB_AUTO_MOUNT to true is if the OS mount automaticaly mount USB keys
USB_AUTO_MOUNT = False
; Set PANDORA_ROOT_URL to the URL of the Pandora server
; the default value is "http://127.0.0.1:6100"
PANDORA_ROOT_URL = http://127.0.0.1:6100
; Set FAKE_SCAN to true to fake the scan process (used during developement only)
FAKE_SCAN = False
; Set to true to copy infected files to the quarantine folder
; in the USB scanning station
QUARANTINE = True
; Set quarantine folder
QUARANTINE_FOLDER = /var/quarantine

View file

@ -2,6 +2,7 @@ Pandora-box
============
Pandora-Box is a USB scaning station based on [Pandora](https://github.com/pandora-analysis).
It runs on Ubuntu 22.04 server LTS
It is based on recycled ThinkCenter and an integrated HDMI touch screen.
@ -10,5 +11,5 @@ It is based on recycled ThinkCenter and an integrated HDMI touch screen.
[<img src="images/box3.jpg" width="400">](images/box3.jpg)
[<img src="images/box4.jpg" width="400">](images/box4.jpg)
The installation procedure is described [here](INSTALL.md).

View file

@ -20,7 +20,7 @@ cd redis
git checkout 6.2
make
# Optionally, you can run the tests:
# make test
make test
cd ..
chown -R $SUDO_USER redis
@ -34,7 +34,7 @@ cd kvrocks
git checkout 2.0
make -j4
# Optionally, you can run the tests:
# make test
make test
cd ..
chown -R $SUDO_USER kvrocks
@ -105,10 +105,10 @@ usermod -a -G video $SUDO_USER
usermod -a -G input $SUDO_USER
# Start Poetry at boot
echo "su - $SUDO_USER -c \"cd /home/$SUDO_USER/pandora ; poetry run start\" 2>&1 >storage/pandora.log" > /etc/rc.local
echo "su - $SUDO_USER -c \"cd /home/$SUDO_USER/pandora ; poetry run start\"" > /etc/rc.local
chmod +x /etc/rc.local
# getty1 autostart
# Getty1 autostart
mkdir -p /etc/systemd/system/getty@tty1.service.d
echo "[Service]" > /etc/systemd/system/getty@tty1.service.d/override.conf
echo "ExecStart=" >> /etc/systemd/system/getty@tty1.service.d/override.conf