Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
archipelago:canta_base [2019/02/18 14:37]
giancarlo
archipelago:canta_base [2019/02/18 14:38]
giancarlo
Line 24: Line 24:
  
 sudo chown -R cantaloupe:cantaloupe /opt/cantaloupe-4.0.3 /srv/cache /srv/log /srv/home /srv/tmp sudo chown -R cantaloupe:cantaloupe /opt/cantaloupe-4.0.3 /srv/cache /srv/log /srv/home /srv/tmp
 +</code>
 +</WRAP>
 +  * Kakadu Native libraries (Optional)
 +<WRAP prewrap center>
 +<code>
 +Check Java Library Path with:
 +java -XshowSettings:properties
 +
 +sudo cp /opt/cantaloupe-4.0.3/deps/Linux-x86-64/lib/libkdu_* /usr/lib/
 +</code>
 +</WRAP>
 +  * settings
 +<WRAP prewrap center>
 +<code>
 +cd /opt/cantaloupe-4.0.3
 +sudo cp cantaloupe.properties.sample cantaloupe.properties
 +sudo nano -w cantaloupe.properties
 +</code>
 +</WRAP>
 +  * Start as service
 +<WRAP prewrap center>
 +<code>
 +nano -w /etc/systemd/system/cantaloupe.service
 +</code>
 +</WRAP>
 +<WRAP prewrap center>
 +<code>
 +[Unit]
 +Description=Cantaloupe Image Server
 +
 +[Service]
 +Type=simple
 +User=cantaloupe
 +ExecStart=/usr/bin/java -Dcantaloupe.config=/opt/cantaloupe-4.0.3/cantaloupe.properties -Xmx12g -jar /opt/cantaloupe-4.0.3/cantaloupe-4.0.3.war
 +ExecStop=/usr/bin/killall -9 cantaloupe-4.0.3.war
 +Restart=on-failure
 +
 +[Install]
 +WantedBy=multi-user.target
 +
 +</code>
 +</WRAP>
 +<WRAP prewrap center>
 +<code>
 +systemctl daemon-reload
 +systemctl enable cantaloupe.service
 +
 +service cantaloupe start
 </code> </code>
 </WRAP> </WRAP>
 
 
archipelago/canta_base.txt ยท Last modified: 2019/02/18 18:26 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki