IceCast: Instalasi Ubuntu 22.04
Revision as of 20:22, 14 December 2023 by Onnowpurbo (talk | contribs)
sudo su apt -y install icecast2
Restart
systemctl start icecast2 systemctl enable icecast2
Cek Port 8000
ss -tunelp | grep 8000
Nginx sebagai Reverse Proxy for Icecast
Install
sudo su apt -y install nginx
Edit config
vi /etc/nginx/sites-available/icecast.conf
Pastikan
server { listen 80; listen [::]:80; server_name icecast.example.com; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { proxy_pass http://localhost:8000; } }
save & buat link
ln -s /etc/nginx/sites-available/icecast.conf /etc/nginx/sites-enabled/
Edit
vi /etc/nginx/nginx.conf
Tambahkan dalam http {:
server_names_hash_bucket_size 64;
save & restart
systemctl restart nginx