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
Previous revision
reloaded:is_cantsa [2018/06/08 10:40]
giancarlo
reloaded:is_cantsa [2019/01/15 19:49]
giancarlo
Line 1: Line 1:
 ====== Cantaloupe stand-alone (3.3.2 -> 3.4 -> 4.0)====== ====== Cantaloupe stand-alone (3.3.2 -> 3.4 -> 4.0)======
 +
 +**For a fresh install >= 4.0 goto "FRESH INSTALL or UPGRADE to 4.0"**
  
 **3.3.2** **3.3.2**
Line 245: Line 247:
 </WRAP> </WRAP>
 \\ \\
-**UPGRADE to 4.0**+**FRESH INSTALL or UPGRADE to 4.0**
 \\ \\
   * download   * download
Line 253: Line 255:
 unzip cantaloupe-4.0.zip unzip cantaloupe-4.0.zip
 sudo mv cantaloupe-4.0 /opt/ sudo mv cantaloupe-4.0 /opt/
 +
 +sudo mkdir /srv/cache /srv/log /srv/home
 +sudo useradd -d /srv/home -s /bin/false cantaloupe
 +
 sudo chown -R cantaloupe:cantaloupe /opt/cantaloupe-4.0 sudo chown -R cantaloupe:cantaloupe /opt/cantaloupe-4.0
 </code> </code>
Line 516: Line 522:
 </code> </code>
 </WRAP> </WRAP>
-  * Startup command+  * Startup command (replaced by start as service)
 <WRAP prewrap center> <WRAP prewrap center>
 <code> <code>
Line 524: Line 530:
 </code> </code>
 </WRAP> </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/cantaloupe.properties -Xmx12g -jar /opt/cantaloupe-4.0/cantaloupe-4.0.war
 +ExecStop=/usr/bin/killall -9 cantaloupe-4.0.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>
 +</WRAP>
 +
 +
 +
 +
 
 
reloaded/is_cantsa.txt ยท Last modified: 2019/01/15 19:49 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