Difference between revisions of "IceCast: Instalasi Ubuntu 22.04"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://www.atlantic.net/dedicated-server-hosting/how-to-install-icecast-audio-streaming-server-on-ubuntu/ sudo su apt -y install icecast2 ==Referensi== * https...")
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
  sudo su
 
  sudo su
 +
apt update
 
  apt -y install icecast2
 
  apt -y install icecast2
 +
 +
Beberapa informasi
 +
 +
hostname icecast.itts
 +
password hackme (ada 3 password)
 +
 +
Restart
 +
 +
systemctl start icecast2
 +
systemctl enable icecast2
 +
 +
 +
Cek Port 8000
 +
 +
ss -tunelp | grep 8000
 +
 +
Akses ke Web port 8000
 +
 +
username admin
 +
password hackme
 +
 +
 +
 +
==Nginx==
 +
 +
Jika diperlukan 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
 +
 +
 +
  
  

Latest revision as of 20:27, 14 December 2023

Sumber: https://www.atlantic.net/dedicated-server-hosting/how-to-install-icecast-audio-streaming-server-on-ubuntu/


sudo su
apt update
apt -y install icecast2

Beberapa informasi

hostname icecast.itts
password hackme (ada 3 password)

Restart

systemctl start icecast2
systemctl enable icecast2


Cek Port 8000

ss -tunelp | grep 8000

Akses ke Web port 8000

username admin
password hackme


Nginx

Jika diperlukan 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



Referensi