Difference between revisions of "IceCast: Instalasi Ubuntu 22.04"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| 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 | Restart | ||
Revision as of 20:25, 14 December 2023
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
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