brouillons:svxr_vm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| brouillons:svxr_vm [2021/05/10 20:41] – f4hof | brouillons:svxr_vm [2021/05/11 06:48] (current) – f4hof | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| # Install packages | # Install packages | ||
| - | apt install lighttpd php7.4-cgi ufw | + | apt install |
| - | # Lighttpd | + | # Setup Lighttpd |
| lighty-enable-mod fastcgi | lighty-enable-mod fastcgi | ||
| lighty-enable-mod fastcgi-php | lighty-enable-mod fastcgi-php | ||
| Line 46: | Line 46: | ||
| systemctl reload lighttpd.service | systemctl reload lighttpd.service | ||
| + | # Install Svxreflector | ||
| + | cd ~ | ||
| + | SYSVER=$(grep VERSION_ID / | ||
| + | if [[ " | ||
| + | then | ||
| + | wget " | ||
| + | elif [[ " | ||
| + | then | ||
| + | wget " | ||
| + | else | ||
| + | echo " | ||
| + | exit 1 | ||
| + | fi | ||
| + | dpkg -i ~/ | ||
| + | apt install -f | ||
| + | apt-mark hold svxreflector | ||
| + | apt install svxlink-server | ||
| # Creating the application environment | # Creating the application environment | ||
| Line 52: | Line 68: | ||
| chown www-data: | chown www-data: | ||
| systemctl restart lighttpd.service | systemctl restart lighttpd.service | ||
| + | |||
| + | # Setup web iface | ||
| + | |||
| # Firewalling | # Firewalling | ||
| Line 65: | Line 84: | ||
| ==== Precompiled NMU packages ==== | ==== Precompiled NMU packages ==== | ||
| + | For Debian Buster | ||
| <WRAP center round download 60%> | <WRAP center round download 60%> | ||
| {{ : | {{ : | ||
| </ | </ | ||
| + | For Debian Bullseye | ||
| <WRAP center round download 60%> | <WRAP center round download 60%> | ||
| {{ : | {{ : | ||
| Line 95: | Line 116: | ||
| ==== Version 17.12.1 ==== | ==== Version 17.12.1 ==== | ||
| - | < | + | < |
| Index: svxlink-17.12.1/ | Index: svxlink-17.12.1/ | ||
| =================================================================== | =================================================================== | ||
| Line 114: | Line 135: | ||
| </ | </ | ||
| - | < | + | < |
| Index: svxlink-17.12.1/ | Index: svxlink-17.12.1/ | ||
| =================================================================== | =================================================================== | ||
| Line 136: | Line 157: | ||
| ==== Version 19.09.1 ==== | ==== Version 19.09.1 ==== | ||
| - | < | + | < |
| Index: svxlink-19.09.1/ | Index: svxlink-19.09.1/ | ||
| =================================================================== | =================================================================== | ||
| Line 155: | Line 176: | ||
| </ | </ | ||
| - | < | + | < |
| Index: svxlink-19.09.1/ | Index: svxlink-19.09.1/ | ||
| =================================================================== | =================================================================== | ||
| Line 177: | Line 198: | ||
| ===== Systemd Units ===== | ===== Systemd Units ===== | ||
| - | < | + | < |
| [Unit] | [Unit] | ||
| - | Description=SvxLink Reflector for room %l | + | Description=SvxLink Reflector for room %I |
| Documentation=man: | Documentation=man: | ||
| After=network.target remote-fs.target time.target | After=network.target remote-fs.target time.target | ||
| Line 202: | Line 223: | ||
| - | < | + | < |
| [Unit] | [Unit] | ||
| - | Description=SvxLink client for room %l | + | Description=SvxLink client for room %I |
| Documentation=man: | Documentation=man: | ||
| After=network.target remote-fs.target time.target sound.target svxreflector@%i.service | After=network.target remote-fs.target time.target sound.target svxreflector@%i.service | ||
| Line 227: | Line 248: | ||
| - | < | + | < |
| [Unit] | [Unit] | ||
| - | Description=Darkice server for room %l | + | Description=Darkice server for room %I |
| Documentation=man: | Documentation=man: | ||
| After=network.target time.target icecast2.service sound.target | After=network.target time.target icecast2.service sound.target | ||
| Line 372: | Line 393: | ||
| PREEMPHASIS=0 | PREEMPHASIS=0 | ||
| </ | </ | ||
| + | |||
| + | ==== Logrotate ==== | ||
| + | |||
| + | <code svxreflector> | ||
| + | / | ||
| + | missingok | ||
| + | notifempty | ||
| + | weekly | ||
| + | rotate 3 | ||
| + | create 0644 svxlink daemon | ||
| + | postrotate | ||
| + | killall -HUP svxreflector | ||
| + | endscript | ||
| + | } | ||
| + | |||
| + | / | ||
| + | missingok | ||
| + | notifempty | ||
| + | weekly | ||
| + | rotate 3 | ||
| + | create 0644 svxlink daemon | ||
| + | postrotate | ||
| + | killall -HUP svxreflector | ||
| + | endscript | ||
| + | } | ||
| + | </ | ||
| + | |||
| ===== Structure /var/svx ===== | ===== Structure /var/svx ===== | ||
| * svxreflector-vhost.conf | * svxreflector-vhost.conf | ||
brouillons/svxr_vm.1620679279.txt.gz · Last modified: 2021/05/10 20:41 by f4hof
