Results 1 to 2 of 2

Thread: Tutorial: Install CSP & Java7 on Ubuntu Server 12.xx (x32/x64)

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

    Tutorial: Install CSP & Java7 on Ubuntu Server 12.xx (x32/x64)

    Updated & Simplified & Auto Install Script Added (2013-05-12)
    Tested & Working on:
    Ubuntu Server 12 (All Revisions) x32 & x64
    Ubuntu Server 13.04 x64

    Install CSP & Java on Ubuntu Server 12.xx (x32/x64)


    After following a few tutorials I found that a lot of links were dead & some of the commands were for older packages so I documented my setup process for Ubuntu 12.xx..


    This Tutorial adapted from master G's "Install Latest Version Of Csp Directly From SVN"

    Tutorial : Install Latest Version Of Csp Directly From SVN





    Log into your Ubuntu server as root user


    Step 1: Check for Updates & Install required components


    apt-get update
    apt-get install python-software-properties

    Step2: Install Java

    Install sun-java6

    sudo add-apt-repository "deb hardy main multiverse"
    sudo add-apt-repository "deb hardy-updates main multiverse"
    sudo add-apt-repository "deb lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-jdk

    OK The Sun Java License & Click YES to Accept the License

    Step 3: Install required components to compile CSP



    apt-get install ant subversion

    Step 4: Create Directory Structure to compile CSP


    cd /lib
    mkdir cspsvn
    cd cspsvn
    svn co CSP-svn

    Step 5: Compiling CSP


    cd CSP-svn
    ant tar-app
    cd dist
    tar -zxvf cardservproxy.tar.gz

    Step 6: Move compiled CSP to desired directory. Here I rename the cardservproxy folder to csp and put it in this folder: (/usr/local/bin/csp)


    C
    mv cardservproxy /usr/local/csp

    Step 7: Run CSP


    cd /usr/local/csp
    ./cardproxy.sh start

    NOTE: You will get this Error:


    Starting CardServProxy: [ FAILED ]

    Config file 'config/proxy.xml' not found, generating template...
    Now the file 'config/proxy.xml' has been created so just start CSP again


    ./cardproxy.sh start

    Hopefully you will see..

    Starting CardServProxy: [ OK ]


    Step 8: Test CSP

    Now to test simply go to your browser & type your server IP Address & default port number into the address bar

    192.168.1.xx:8082

    You will need to enter username/password, by default these are admin/secret


    Auto-Install Script

    I wrote this script to automate the tut above:

    csp_Install.rar


    Instructions for Auto-Install Script

    Unrar csp_Install.rar
    Using WinSCP, copy csp_Install.sh to /tmp

    From terminal, change csp_Install.sh attributes to 755

    chmod 755 /tmp/csp_Install.sh

    From terminal, run csp_Install.sh

    /tmp/csp_Install.sh

    NOTE1: Remember, this tut only installs CSP, configuring it is your next step....
    NOTE2: You will also have to configure CSP to run at start up & add check Scripts etc

  2. #2
    Status
    Offline
    carding343's Avatar
    Member
    Join Date
    Aug 2014
    Posts
    74
    a great work of a great man thank you

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 Java8 Ubuntu Server (not PPA).
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 05-19-2020, 05:28 PM
  2. Tutorial: Install CSP & Java on Ubuntu Server 12.xx/13.04 (x32/x64)
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 4
    Last Post: 02-09-2017, 07:01 PM
  3. Card Proxy Server CSP Automated Install Script for Ubuntu Server
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 1
    Last Post: 10-27-2015, 03:38 AM
  4. How to Install CSP on Ubuntu server
    By Geosharing in forum CSP
    Replies: 2
    Last Post: 09-21-2015, 07:19 PM
  5. Replies: 0
    Last Post: 07-01-2015, 01:56 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