Results 1 to 2 of 2

Thread: Tutorial: How to install CSP

  1. #1
    Status
    Online
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014
    Location
    -=UAE=-
    Interests
    CardSharing
    Posts
    1,895

    Tutorial: How to install CSP

    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.

    Code:
    sudo -i
    Then use your text editor such as vim or nano I prefer nano but the choice is yours.
    if you want to use same commands as me and have not got nano then

    Code:
    apt-get install nano
    Code:
    nano /etc/apt/sources.list
    Add string

    Code:
    deb  lenny/volantile main contrib
    deb-src  lenny/volantile main contrib
    
    deb  lenny main non-free
    deb-src  lenny main non-free
    then

    Code:
    apt-get update
    and finally to install

    Code:
     apt-get install sun-java6-jdk

  2. #2
    Status
    Online
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014
    Location
    -=UAE=-
    Interests
    CardSharing
    Posts
    1,895
    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

    Code:
    sudo -i
    cd lib
    mkdir cspsvn
    Next we are going to download csp using subversion

    now if you do not have subversion installed then

    Code:
    apt-get install subversion
    Else

    Code:
    cd cspsvn
    svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn
    at this point the last version of csp is downloading. once it finishes downloading we will start compiling it.

    The next step you will require " ant " if not already on your system then

    Code:
    apt-get install ant
    this will install ant. once installed we will start compiling csp.

    Code:
     cd CSP-svn
    to compile CSP just type

    Code:
    ant build
    ant tar-app
    now the csp is compiled.

    Next

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

    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

    Code:
    cd ..
    cd /lib/cspsvn/CSP-svn/dist
    mv cardservproxy /usr/local/csp
    now our csp is compiled and exists in this path /usr/local

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

    Code:
     cd ..
    then enter this folder /usr/local/csp

    Code:
    cd /usr/local/csp
    ./cardproxy.sh start
    you should have the ok which means that your proxy is running.

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tutorial: How to install CCcam on Debian 6
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 4
    Last Post: 02-09-2017, 11:54 AM
  2. Tutorial How to Install Movies4Me XBMC Kodi
    By Geosharing in forum XBMC - Kodi Tutorials, HowTo & Guides
    Replies: 0
    Last Post: 08-30-2016, 06:07 PM
  3. Replies: 0
    Last Post: 07-01-2015, 01:56 PM
  4. Replies: 1
    Last Post: 08-09-2014, 09:59 PM
  5. Tutorial: How to install CSP
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 1
    Last Post: 08-09-2014, 09:58 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
RSS RSS 2.0 XML MAP HTML TAGS

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.

petites annonces