If you would like to start over the server after rebooting, run the command below from the radio account main path. You will be required to use the radio command below when you want to manage the server $ sudo radio start_daemon $ Sudo radio startĦ. Once the file is created, make it executable, then exit the root account with the command below: $ sudo chmod +x /usr/local/bin/radioĥ. Now add the information below to the radio file. To either start or stop the SHOUTcast server with simple commands, create an executable script (known as radio) through the root account user at /usr/local/bin/ using the command below: $ sudo nano /usr/local/bin/radioģ. But, it is important to note that using this option requires you to create logs and control directories to ensure the process runs smoothly.Ģ. It’s also possible to instruct the server to read the configurations from another location by indicating where the configuration file is located. $ sudo killall sc_serv # Stop server daemon $ sudo Ps aux | grep sc_serv # Get Server PID $ sudo ./sc_serv daemon # Start the server as a daemon $ sudo ./sc_serv # Start the server in foreground - Hit Ctrl + c to stop $ sudo pwd # Assure that you are in the right installation directory - /home/radio/server To run the server as a daemon, use the following command. In this process, you should run the file from its installation location to effectively read the server’s configuration file. The binary file command is used to manage SHOUTcast radio server. Managing SHOUTcast Server And Creating A Daemon Scriptġ. Now the SHOUTcast interface will appear as shown in the below but without live streams. Now, open a new browser from your machine then enter the IP address of the server with port 8000, that is. You should get the following output for the radio server: server]$ server]# firewall-cmd -add-port=8000/tcp server]# firewall-cmd server]# exitĢ. $ sudo firewall-cmd -add-port=8000/tcp -permanent$ sudo firewall-cmd -reload$ sudo exit Once the rule has been appended, refresh the Firewall in order to apply these changes and remember to log out from your account. To open your server to external networks, login into your root account and include a rule that will help open and activate port 8000 TCP. By now, the SHOUTcast server should be operating properly, but it cannot be accessed directly due to the firewall restrictions on the platform you’re using. Go ahead and open the firewall connections.ġ. Now, your configuration is set and successfully saved. Press Control-X, then Y to save these changes to the SHOUTcast file This should be executed in the background, so you will need to use & bash operator and ensure your browser is pointing to the following URL, $ sudo chmod +x sc_servĦ. In order to start running the server, execute the sc_serv file from your working directory. After configuring SHOUTcast service, you can go ahead and copy the file to the installation directory in your server.ĥ. These will help configure your server from a web browser through the address below: To do so go to the SHOUTcast file and run builder.sh or setup.sh scripts. Alternatively, you can configure your server by creating a configuration file. Streampassword: Password used by the media player to connect to a media content streaming server.Ĥ. Enter the following line: adminpassword=passwordģ.Some key information that you need to consider in this step are passwords, which must be changed:Īdminpassword: This is the admin password that is needed to perform any remote administration through the web server. To configure the SHOUTcast server, create sc_nf file in sc directory: $ sudo nano sc/sc_serv_nfĢ. This is important to specify your passwords and set the SHOUTcast port.ġ. To run the server smoothly, you need to create a SHOUTcast configuration file. The SHOUTcast software is successfully installed on your Linode. Now change the ownership of your file from root to the SHOUTcast user: $ sudo chown -R shoutcast.shoutcast /home/shoutcast/sc Once the download is complete, extract the SHOUTcast files and save them to the new directory by running the command below: $ sudo tar -xzf sc_serv2_linux_09_09_ -C scĦ. You can download the archive using the wget utility by running the following commandĥ. Now create a SHOUTcast directory by running the command below: $ sudo mkdir scĤ. Change to the new user’s home directory using the command below: $ sudo cd /home/shoutcastģ. To do so, run the command below: $ sudo adduser shoutcastĢ. But before you go to the installation, start by creating a new local user to run the DNAs server. To enjoy the services of SHOUTcast, you’ll need to start by downloading and installing SHOUTcast on your server.ġ. Downloading And Installing SHOUTcast Server
0 Comments
Leave a Reply. |