Tomm
16-03-2006, 07:32 AM
Login to Shell useing PuTTY or another product. Then type:
cd /home/yourusername/
Type:
wget
http://www.shoutcast.com/downloads/s...-glibc6.tar.gz (http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz) This will download shoutcast to your home directory.
Then type:
tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz This will untar the file you just downloaded
Type:
rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz This will delete the tar file you just downloaded.
Type@
mv shoutcast-1-9-2-linux-glibc6 shoutcast This will move the files you just untared to a directory called shoutcast.
Type:
cd shoutcast 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:
pico sc_serv.conf To edit the file without downloading it. Then to save type Ctrl+O and hit return.
To run shoutcast type:
./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:
#!/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
cd /home/yourusername/
Type:
wget
http://www.shoutcast.com/downloads/s...-glibc6.tar.gz (http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz) This will download shoutcast to your home directory.
Then type:
tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz This will untar the file you just downloaded
Type:
rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz This will delete the tar file you just downloaded.
Type@
mv shoutcast-1-9-2-linux-glibc6 shoutcast This will move the files you just untared to a directory called shoutcast.
Type:
cd shoutcast 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:
pico sc_serv.conf To edit the file without downloading it. Then to save type Ctrl+O and hit return.
To run shoutcast type:
./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:
#!/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