This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:airsonic [2022/10/16 05:23] – oemb1905 | computing:airsonic [2023/12/25 18:23] (current) – oemb1905 | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| Change port to needed port (8081) | Change port to needed port (8081) | ||
| - | wget https:// | + | wget https:// |
| mv airsonic.war / | mv airsonic.war / | ||
| gpg --keyserver keyserver.ubuntu.com --recv 0A3F5E91F8364EDF | gpg --keyserver keyserver.ubuntu.com --recv 0A3F5E91F8364EDF | ||
| Line 63: | Line 63: | ||
| #!/bin/sh | #!/bin/sh | ||
| DATE=`date +" | DATE=`date +" | ||
| - | |||
| if | if | ||
| - | |||
| ps -ef | grep "java -jar" > / | ps -ef | grep "java -jar" > / | ||
| tail -n -2 / | tail -n -2 / | ||
| - | |||
| then | then | ||
| - | |||
| echo " | echo " | ||
| - | |||
| else | else | ||
| - | |||
| export TERM=' | export TERM=' | ||
| su - airsonic <<SHT | su - airsonic <<SHT | ||
| Line 80: | Line 74: | ||
| screen -S airsonic bash -c "java -jar -Dserver.port=8081 / | screen -S airsonic bash -c "java -jar -Dserver.port=8081 / | ||
| SHT | SHT | ||
| + | fi | ||
| - | fi | + | I tested this and it runs flawlessly. Don't forget these mods when migrating or setting up a new instance. |
| - | I tested this and it runs flawlessly. | + | sudo a2enmod proxy_http |
| + | sudo a2enmod proxy | ||
| --- // | --- // | ||