Installation of PicApport on a Raspberry Pi 3
Java Version
We stronlgy recommend using a Java-Version from Oracle because PicApport is running very slow with OpenJDK.
Installation
Raspberry Pi Installation
Installing operating system images:
- Getting started with your Raspberry Pi (https://www.raspberrypi.org/help/quick-start-guide/)
- Open SSH-Client for example Putty
- Type in the IP of the Rasperry
- Sign in with user pi and password raspberry
- For a quick setup type sudo raspi-config (https://www.raspberrypi.org/documentation/configuration/raspi-config.md)
PicApport Installation with dpkg -i (Recommended)
- Preparation
- Install Java: sudo apt-get install oracle-java8-jdk
- Install Screen: sudo apt-get install screen
- Download of the PicApport package
- Change directory to home dir: cd ~
- Download PicApport via Terminal: wget https://www.picapport.de/prepare_download.php?dlfile=7-0-05%2fpicapportpi.deb -O picapportpi.deb
- Also you can download PicApport here: https://www.picapport.de/en/photo-server-download.php .
- Upload the Package to the Raspberry via WinSCP (or some other FTP-Client)
- Upload the Package to the Raspberry via WinSCP (or some other FTP-Client)
- Installation
- Install PicApport: sudo dpkg -i picapportpi.deb
- Install PicApport: sudo dpkg -i picapportpi.deb
- Run PicApport
- To start the Application run: /etc/init.d/picapport start
- The first start of the Server will take 2-3 minutes.
- Open a browser and fill in the IP of the Raspberry.
- PicApport will run automatically when booting the Raspberry.
PicApport Installation without package.
here: .Installation of PicApport under Linux
start with step 2 of 3
Before you start PicApport we recommend changing the StartPicApport.sh-File to:
#!/bin/bash
java -Xms256m -Xmx512m -Duser.language=en -Duser.home=/opt/picapport -jar /opt/picapport/picapport-headless.jar
- The PicApport configuration is located at /opt/picapport/.picapport/
- PicApport is looking for photos here: srv/photos/. To change settings see PicApport-Server Guide
- All photos are cached by default. To change settings see PicApport-Server Guide
- The Server starts on port 80. To change settings see PicApport-Server Guide
Sample configurations
Sample configuration PI 3B+ with 44.000 photos
orientdb.properties (im .picapport-Verzeichnis)
- storage.useWAL=false
picapport.properties
- server.port=80
- server.ssl=false
- user.log.access=true
- gui.enabled=false
- robot.root.0.id=Fotos
- robot.root.0.isuploadroot=true
- robot.root.0.path=/home/pi/NAS/Bilder
- robot.rescan.minutes=999
- client.timeout.long.millis=100000
- client.folder.sort=name
- plugin.shadow.path=/PicApportShadowFiles
StartPicapport.sh
- java -Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m -Dstorage.diskCache.bufferSize=256 -Duser.language=de -Duser.home=/opt/picapport -jar /opt/picapport/picapport-headless.jar
Java Version
- java version „1.8.0_221“
- Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
- Java HotSpot(TM) Client VM (build 25.221-b11, mixed mode)