Tutorial: How to install CSP
This Tutorial is designed to help load CSP from start to finish up and running
I will split posts to section out each part required.
Question, What do you need for CSP ???
Answer, Well for this Tutorial you will need a Linux based PC, ie Debian or Ubuntu,
also another emu already loaded such as newcs or oscam ( This is Required to get your local Card operational.)
CSP runs in a Java Environment and for the newer updated versions Sun Java6 so lets get that installed first.
Firstly you will need to open a putty terminal or cmd window to you server.
Then use your text editor such as vim or nano I prefer nano but the choice is yours.Code:sudo -i
if you want to use same commands as me and have not got nano then
Code:apt-get install nanoAdd stringCode:nano /etc/apt/sources.list
thenCode:deb lenny/volantile main contrib deb-src lenny/volantile main contrib deb lenny main non-free deb-src lenny main non-free
and finally to installCode:apt-get update
Code:apt-get install sun-java6-jdk
Now we Have Sun Java installed its time to compile and install CSP
For this Tutorial We are going to use the Subversion install, I will show how to manually install later in this thread.
Again we are going to use command lines for this tutorial. via putty etc
open a terminal and start by making a folder where we will download the last release and compile it.
create a folder called for example cspsvn in this path /lib:
if you are not the root tape this command
if you are entering as root avoid this step. go directly to step 2
Next we are going to download csp using subversionCode:sudo -i cd lib mkdir cspsvn
now if you do not have subversion installed then
ElseCode:apt-get install subversion
at this point the last version of csp is downloading. once it finishes downloading we will start compiling it.Code:cd cspsvn svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn
The next step you will require " ant " if not already on your system then
this will install ant. once installed we will start compiling csp.Code:apt-get install ant
to compile CSP just typeCode:cd CSP-svn
now the csp is compiled.Code:ant build ant tar-app
Next
if tar -zxvf cardservproxy.tar.gz does not work for then you should install tar using this command.Code:cd dist tar -zxvf cardservproxy.tar.gz
Code:apt-get install tar
now we will move our compiled program to a directory we want. here in this example we will just rename the cardservproxy folder to csp and put it directly in this folder /usr/local/
be sure that you are in this path /lib/cspsvn/CSP-svn/dist
if you are not there then just type this command
now our csp is compiled and exists in this path /usr/localCode:cd .. cd /lib/cspsvn/CSP-svn/dist mv cardservproxy /usr/local/csp
all you have to do to run it is the following. leave your current path using command.
then enter this folder /usr/local/cspCode:cd ..
you should have the ok which means that your proxy is running.Code:cd /usr/local/csp ./cardproxy.sh start
if this is your first installation
you will have to ./cardproxy.sh start once again which will give you a default xml to work with.
Now to Check CSP is running there is a Web interface, the default port is 8082
so in your browser enter your servers ip followed by :8082
example
you will need to enter username and password again by default these are user = admin password = secret
In the next part of the tutorial we will look at a typical csp.xml file and I will show how to use profiles and connectors
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks