Installing SHOUTCast on a Linux Server
Login to Shell useing PuTTY or another product. Then type:
Code:
cd /home/yourusername/
Type:
This will download shoutcast to your home directory.
Then type:
Code:
tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz
This will untar the file you just downloaded
Type:
Code:
rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz
This will delete the tar file you just downloaded.
Type@
Code:
mv shoutcast-1-9-2-linux-glibc6 shoutcast
This will move the files you just untared to a directory called shoutcast.
Type:
This will move you to the Shoutcast directory.
Then open up sc_serv.conf and edit: MaxUser, Password, and BasePort. Also uncomment admin pass (By removeing the space and the #) and put a diffrent password in there. Save and upload the file. NOTE: If your server supports it you can type:
To edit the file without downloading it. Then to save type Ctrl+O and hit return.
To run shoutcast type:
Code:
./sc_serv sc_serv.conf
NOTE: You MUST be in the shoutcast directory.
Also to keep the shoutcast server up and running make a cron job for about evey 5 mins:
Code:
#!/bin/bash
if [ "`/sbin/pidof /pathtoscservdir/sc_serv`" == "" ]; then
nohup /pathtoscservdir/sc_serv /pathtoscservdir/sc_serv.conf &
fi
Replace /pathtoscservdir with the path to your shoutcast folder.
If you get a error about the port being used, edit the sc_serv.conf file to change the port.
If you need any more help please post below.
Thanks,
Tom