install icecast2:
apt install icecast2
cd /etc/icecast2
nano icecast.xml
<mount type="normal">
<mount-name>/myusersstream</mount-name>
<username>myuser</username>
<password>hackme</password>
<max-listeners>100</max-listeners>
<bitrate>128</bitrate>
</mount>
xmlstarlet edit --inplace -s /icecast -t elem -n mountTMP -v "" \
-s //mountTMP -t elem -n "mount-name" -v "/mystream" \
-s //mountTMP -t elem -n "username" -v "userx" \
-s //mountTMP -t elem -n "password" -v "hackme" \
-s //mountTMP -t elem -n "max-listeners" -v "100" \
--insert "/icecast/mountTMP" --type attr -n type -v "normal" \
-r //mountTMP -v mount \
icecast.xml
systemctl status icecast2
#systemctl restart icecast2
/etc/init.d/icecast2 reload
ufw allow 8000/tcp
ufw reload
setup mixxx:
apt install mixxx
ctrl+p
Sound Hardware:
output:
Master: hw:03
Headphones: pulse
Input:default
Live Broadcasting:
5.189.170.210
Login:myuser
password:hackme