Differences
This shows you the differences between two versions of the page.
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 |
====== 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** |
</WRAP> | </WRAP> |
\\ | \\ |
**UPGRADE to 4.0** | **FRESH INSTALL or UPGRADE to 4.0** |
\\ | \\ |
* download | * download |
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> |
</code> | </code> |
</WRAP> | </WRAP> |
* Startup command | * Startup command (replaced by start as service) |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
</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> |
| |
| |
| |
| |