Welcome to the CasterClub Forums.
Header

CasterClub Forums » Downloads » Unix Apps » castitd-0.2.tar.gz

Latest Files
Latest Files
Most Popular Files
Most Popular Files
Top Contributors
Top Contributors

Important Information
  • Use these files at your own risk!
  • Enjoy
Navigation
Main | Category Tree | Stats | Search
Downloads [Download castitd-0.2.tar.gz]
File Name: castitd-0.2.tar.gz (37.4 KB) Download
Author: dstjohn (Uploaded by davestj)
Date Added: 08-02-2006
Downloads: 1236
Grade: Not Rated
Description
Castit is finaly port to the linux OS

after you download
unarchive by running the following command

tar -zxf castitd-0.2.tar.gz

INSTALL NOTES:

################################################## ########################
#castitd unix port of castit from casterclub.com
#authors: dstjohn, oddsock
# website: casterclub.com
################################################## ########################

################################################## ########################
# compiling
you will need to edit the Makefile to suit your system settings
castitd depends on the following libraries/rpm packages
mysql-devel
curl-devel
libxml2-devel
Usualy running yum install mysql-devel curl-devel libxml2-devel
will get the job done, if you have these libraries custom compiled
into different directories then where rpm normaly installs them
in redhat/rpm based linux distros, you will need to edit the
Makefile in depth and specify where you have the libs installed.
Bugs questions or trouble compiling please post in the forums
casterclub http://casterclub.com/forums


#Step 1
#you will need to create the castitd database from the command line
#or web based application like phpMyAdmin.
#you can run the following command to create the new database
#for castit. replacing the username and password for your system
#environment.

mysqladmin --user=YOURUSERNAME --password=YOURPASSWORD create castitd
################################################## ####################

################################################## ########################
#Step 2
#Open up castitd.sql with your fave text editor, we like vim, and look for
INSERT INTO castitd_memberinfo VALUES ('http://localhost:8000','changeme','1');

replace 'http://localhost:8000' with your actual shoutcast url,
example would be http://myprovider.com:9887

replace 'changeme' with your actual shoutcast server password
#be sure to keep the single quotes as those are part of the sql queries.
################################################## ########################

################################################## ########################
#Step 3
#while you have castitd.sql opened in vim or nano/pico
#look for
INSERT INTO castitd_runtime VALUES (30,'./castitd.log');

replace ./castitd.log to the actual path to where you want
#the log file placed, example if you want to store it under the tmp
#directory you would replace it with /tmp/castitd.log

replace 30 with the amount of time you want castitd to fetch and parse
#stats from the shoutcast servers, default is 30 and thats what we recomend,
#on slower systems running multiple instances for shoutcast servers
#and alot of background process's you may want to make this longer like
#300 for 5 minutes.
################################################## ########################


################################################## ########################
#Step 4

#you now need to insert the newly edited castitd.sql we did in steps 2 and 3,
#into the database we just created above,
#from the command line you can run the following, replacing the username
#and password args for your system.

mysql --user=YOURUSERNAME --password=YOURPASSWORD castitd < castitd.sql

#Or you can use phpMyAdmin to import/upload the castitd.sql file.
################################################## ########################
Images
None
Downloads [Download castitd-0.2.tar.gz]


Comments


ecDownloads 5.0.2 by westpointer & Jelle
ecDownloads 4.1 © Ronin

All times are GMT. The time now is 12:56 AM.