# firewall-cmd -add-port=8000/tcp -permanentĩ. To open the server to external connections login with root account and add the rule that will open port 8000 TCP.Īfter the rule has been added reload the Firewall to apply changes and logout from your root account. Now the SHOUTcast server is up and running but it can’t be accessed yet from the outside world due to CentOS Firewall restrictions. $ chmod +x sc_servĬheck Shoutcast Server Ports Step 3: Open Firewall ConnectionsĨ. To start the server execute sc_serv the file from your current working directory, which must be the server directory, put it on background with & bash operator, and direct your browser to URL.Īlso, use netstat command to see if the server is running and on what port numbers it listens. Once the configuration is created you can copy it to the server installation directory.ħ. Which will let you configure the server from a web interface that can be accessed from the following address. streampassword_1 – Password required by the remote media player to connect and stream media content to the server.Īlternatively, if you want to create a configuration file for the SHOUTcast server you can go to download directory and run builder.sh or setup.sh scripts.adminpassword – Admin password required to perform remote administration via the web interface to the server.Some important settings that you should be aware of this file are password statements, which you must be changed accordingly: $ cd /home/radio/server/Īdd the following statements to sc_nf file (example configuration). Using pwd command should show you this absolute path – /home/radio/server). Make sure that this file is created in the same path as your sc_serv e executable binary files are created. Open your favorite text editor and create a new file, named sc_nf. In order to run and operate the server, you need to create a configuration file for SHOUTcast. $ mkdir controlĬonfirm Shoutcast Files Step 2: Create a SHOUTcast Configuration FileĦ. List your directory content to verify if everything is in place using ls command. Now that you are located in the server installation path, create two directories named control and logs and you’re done with the actual installation process. After the download completes, extract the archive file, list the directory to locate the sc_serv executable binary file, and copy it to the installation directory, located in the server folder, then move to the SHOUTcast installation path, by issuing the following commands. Next, grab the last version of the SHOUTcast server archive for Linux, depending on your system architecture, by visiting the official Nullsot Download page.Īlternatively, use the following wget utility to download the archive from the command line. Once logged in on your system with the radio account, create two directories named download and server, then switch to download folder. Here are the following required commands that need to be executed on the terminal. So, log in on your system with the root account, create a new user, called radio, after you’re done log out from the root account, and, then, login with your newly created user. Before proceeding with the installation of the SHOUTcast server, create a local user from which you will run the server because running the server from the root account can impose serious security issues on your system. Step 1: Download and Install SHOUTcast Serverġ. with the remark that you must adapt firewall commands to suit your Linux distribution. This tutorial will guide you on how you can install The SHOUTcast Distributed Network Audio Server in CentOS 8, with the help of which you can use media players, like Winamp or Mixxx to connect to the streaming services and broadcast your audio playlists to Internet listeners.Īlthough this tutorial only covers SHOUTcast server installation on a CentOS 8/7 machine, the same procedure can be applied to other Linux distributions such as RHEL, Fedora, Ubuntu, Debian, Linux Mint, etc. SHOUTcast is proprietary software used to stream media over the Internet, especially used in music live streaming by the radio stations on Internet, and is developed by Nullsoft with versions for all major platforms, including Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |