Setting
up PeerCast in Linux
Step 1:
Download
PeerCast for Linux
Step 2:
Unpack PeerCast
The .tgz file you just downloaded is a tared/compressed executable.
This means that you will need to uncompress it before you can run
it. Fortunately, this is a lot easier than it sounds:
tar -xzf peercast-linux.tgz
This will extract the file peercast.
This is your PeerCast executable which you will need to run.
Step 3:
Make the PeerCast executable,
well, executable. :-)
Before you can run your PeerCast executable, you will need to tell
your system that the peercast file is a program it can run. This,
too, is very easy:
chmod u+x peercast
Step 4:
Run PeerCast!
Now you can run your PeerCast executable. Simply type:
nohup ./peercast &
The "&" at the end will
make it go into the background. The "nohup" will make
sure PeerCast keeps running even if you disconnect from your Telnet/SSH
session. If you're logged into your Linux machine locally, you probably
won't need it.
Step 5:
Configure PeerCast
Now that your PeerCast is running, you should configure it. You
can do the entire configuration via PeerCast's built-in web interface.
Simply point your web browser at http://yourmachine:7144. When PeerCast
shuts down, it will remember all settings you configure in the web
interface, so you only have to do this once.
Conclusion
Congrats, you should now have a working Linux PeerCast setup!