Author Topic: How to install CSP directly from SVN release  (Read 5743 times)

0 Members and 1 Guest are viewing this topic.

Offline bandasdk

  • Jr. Member
  • **
  • Posts: 82
How to install CSP directly from SVN release
« on: March 08, 2011, 11:01:11 PM »
TUTORIAL: install CSP directly from SVN release

This is a small tutorial on how to install csp directly from svn.
Tested and working on Ubuntu
in this tutorial its assumed you have already have Sun java6 JDK installed on your system.
we are going to use command lines for this
tutorial.
open a terminal and start by making a folder where we will download the last release and compile it.

Download Source

If you want to download the SVN version, just do:

svn co You are not allowed to view links. Register or Login CSP-svn

to compile CSP just go to the folder CSP-svn/ and type ant

If it gives an error then type

apt-get install ant

Once installed then type ant
you will now find the cardservproxy.tar.gz in the CSP-svn/dist/ folder

Cd dist
then type tar -zxvf cardservproxy.tar.gz

if tar -zxvf cardservproxy.tar.gz does not work for then you should install tar using this command

apt-get install tar

That will install tar
then type tar -zxvf cardservproxy.tar.gz

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 /var/bin

be sure that you are in this path

/CSP-svn/dist

if you are not there then just type this command

cd /

cd /CSP-svn/dist

mv cardservproxy /var/bin/csp now our csp is compiled and exists in this path var/bin

all you have to do to run it is the following. leave your current path using command

cd /
then enter this folder cd /var/bin/csp

Then type
./cardproxy.sh start

you should have the ok which means that your proxy is running.

now just edit your proxy.xml with your existing profiles, users and connectors and enjoy the last version.

note: each time you want upgrade to the latest version just do the same thing.

Now you can check your csp server is running in the web interface
You are not allowed to view links. Register or Login server ip:8082/ eg You are not allowed to view links. Register or Login

This will bring up a web page confirming your server is working also all the adding of clients,
servers etc is done there.
Also on this page you can edit your proxy.xml file.

Offline jak2

  • Jr. Member
  • **
  • Posts: 5
How to install CSP directly from SVN release
« Reply #1 on: July 29, 2011, 03:56:35 PM »
/usr/local/csp/cardproxy.sh start
Starting CardServProxy:/usr/local/csp/cardproxy.sh: line 83: log/cardserv-sysout.log: No such file or directory
cat: log/cardserv-sysout.log: No such file or directory
 [  OK  ]

why?

step by step

Offline MZombies

  • Newbie
  • *
  • Posts: 1
How to install CSP directly from SVN release
« Reply #2 on: September 15, 2011, 10:27:07 AM »
To Jak2

do not config xxxx.xml direct  You Config on You are not allowed to view links. Register or Login

Offline bihsecurity

  • Jr. Member
  • **
  • Posts: 2
How to install CSP directly from SVN release
« Reply #3 on: December 25, 2011, 01:19:47 AM »
I dont have tar.gz in my folder....


only this one:::

 ls
cardservproxy.jar  cs-status.war  fishenc.jar

Offline kanthai

  • Newbie
  • *
  • Posts: 1
How to install CSP directly from SVN release
« Reply #4 on: February 11, 2012, 03:12:49 PM »
@bihsecurity

use ant tar-app instead of ant