Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,527
    Posts Thanks / Likes

    Default Card Server Proxy (CSP) - compilare

    Compilare CSP - O.S. Ubuntu 10.04

    Install JAVA:
    Code:
            $ sudo -i
    	$ pass
    	$ add-apt-repository “deb http://archive.canonical.com/ lucid partner”
    	$ apt-get update
    	$ apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    	$ tab
    	$ ok
    	$ yes
    	$ apt-get install sun-java6-jdk
    Compile CSP:
    Code:
    	$ sudo -i
    	$ pass
    	$ cd /lib
    	$ svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn		
    	$ apt-get install ant
    	$ cd CSP-svn
    	$ ant
    	$ cd dist
    	$ tar -zxvf cardservproxy.tar.gz
    	$ mv cardservproxy /usr/local
    	$ mv /usr/local/cardservproxy /usr/local/csp
    	$ cd /usr/local/csp
    	$ ./cardproxy.sh start
    Se editeaza proxy.xml

    Update CSP:
    Code:
    	$ sudo -i
    	$ pass
    	$ rmdir /usr/local/bin/csp
    	$ rmdir /lib/CSP-svn
    	$ cd /lib
    	$ svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn		
    	$ cd CSP-svn
    	$ ant
    	$ cd dist
    	$ tar -zxvf cardservproxy.tar.gz
    	$ mv cardservproxy /usr/local
    	$ mv /usr/local/cardservproxy /usr/local/csp
    	$ cd /usr/local/csp
    	$ ./cardproxy.sh start
    Se editeaza proxy.xml

  2. #2
    Junior Member Junior
    RDI - Board Default Avatar

    Join Date
    Jan 2008
    Posts
    2
    Posts Thanks / Likes

    Default Build failed

    Hi!WHAT wrong in:
    build-app:
    [javac] Compiling 94 source files to /usr/local/csp/CSP-svn/classes
    [javac] ----------
    [javac] 1. WARNING in /usr/local/csp/CSP-svn/src/com/bowman/cardserv/CaidProviderPair.java (at line 3)
    [javac] import com.bowman.cardserv.session.ExtNewcamdSession;
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import com.bowman.cardserv.session.ExtNewcamdSession is never used
    [javac] ----------
    [javac] ----------
    [javac] 2. WARNING in /usr/local/csp/CSP-svn/src/com/bowman/cardserv/ConfigException.java
    ........
    xUtil.java
    [javac] (at line 23)
    [javac] if(o instanceof UnixOperatingSystemMXBean) return ((UnixOperatingSystemMXBean)o).getMaxFileDescripto rCount();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] UnixOperatingSystemMXBean cannot be resolved to a type
    [javac] ----------
    [javac] 27. ERROR in /usr/local/csp/CSP-svn/src/com/bowman/cardserv/util/UnixUtil.java (at line 23)
    [javac] if(o instanceof UnixOperatingSystemMXBean) return ((UnixOperatingSystemMXBean)o).getM
    [javac] axFileDescriptorCount();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] UnixOperatingSystemMXBean cannot be resolved to a type
    [javac] ----------
    [javac] 27 problems (5 errors, 22 warnings)

    BUILD FAILED
    /usr/local/csp/CSP-svn/build.xml:72: Compile failed; see the compiler error output for details.

  3. #3
    Black Sheep Teacher
    Join Date
    Jul 2008
    Location
    Timisoara
    Posts
    264
    Posts Thanks / Likes

    Default

    Warning-ul din build-app nu trebuie sa te ingrijoreze, e doar un import al unei clase care nu e folosit.

    In xUtil insa iti lipseste definitia clasei UnixOperatingSystemMXBean. Daca nu apare o eroare privind un import in xUtil.java concluzia ar fi ca biblioteca care ar trebui sa contina definitia e probabil o versiune veche si nu defineste clasa respectiva.

  4. #4
    Moderator Expert
    Join Date
    Jul 2006
    Location
    blowfish me....
    Posts
    2,472
    Posts Thanks / Likes

    Default

    deci ....

    ubuntu (debian) , se ia frumos arhiva asta

    http://www.sat-universe.com/showthread.php?t=166746

    sau asta de la mama ei

    http://www.cs-cracks.com/forum/thread-80.html

    se scrie in ubuntu (debian)

    sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk


    se copiaza arhiva aia desfacuta (cu toal commander se desface tar.gz-ul , si se copiaza folderul in server).

    se dau propietati 777 la cardserv.sh

    si apoi frumos de mana ./cardserv.sh


    se autogenereaza un proxy.xml , care ulterior se completeaza.


    ce atata svn si repository de-am pixu? credeti ca mere mai bine?

    nu , primiti mai multe erori de cand am csp numa copiat din stanga in dreapta l-am pus .

    fara atata kkt de compilare de-amoaca, n-are sens .

    daca java e bine pus pe debian sau pe ubuntu , merge tzais!

    P.S.: in cazul in care sun java da rateu , se pune imb-java....

  5. #5
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,460
    Posts Thanks / Likes

    Default

    Quote Originally Posted by shsoya View Post
    Hi!WHAT wrong in:
    build-app:
    [javac] Compiling 94 source files to /usr/local/csp/CSP-svn/classes
    [javac] ----------
    [javac] 1. WARNING in /usr/local/csp/CSP-svn/src/com/bowman/cardserv/CaidProviderPair.java (at line 3)
    [javac] import com.bowman.cardserv.session.ExtNewcamdSession;
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import com.bowman.cardserv.session.ExtNewcamdSession is never used
    [javac] ----------
    [javac] ----------
    [javac] 2. WARNING in /usr/local/csp/CSP-svn/src/com/bowman/cardserv/ConfigException.java
    ........
    xUtil.java
    [javac] (at line 23)
    [javac] if(o instanceof UnixOperatingSystemMXBean) return ((UnixOperatingSystemMXBean)o).getMaxFileDescripto rCount();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] UnixOperatingSystemMXBean cannot be resolved to a type
    [javac] ----------
    [javac] 27. ERROR in /usr/local/csp/CSP-svn/src/com/bowman/cardserv/util/UnixUtil.java (at line 23)
    [javac] if(o instanceof UnixOperatingSystemMXBean) return ((UnixOperatingSystemMXBean)o).getM
    [javac] axFileDescriptorCount();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] UnixOperatingSystemMXBean cannot be resolved to a type
    [javac] ----------
    [javac] 27 problems (5 errors, 22 warnings)

    BUILD FAILED
    /usr/local/csp/CSP-svn/build.xml:72: Compile failed; see the compiler error output for details.

    testat pe 10.10 si 10.04 server edition
    fa exact pasi astia si reusesti sigur pe ubuntu:


    sudo apt-get install openjdk-6-jre
    sudo apt-get install openjdk-6-jdk
    sudo apt-get install python-software-properties
    sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
    sudo aptitude update
    sudo aptitude install sun-java6-jdk
    sudo update-java-alternatives -s java-6-sun
    sudo aptitude dist-upgrade


    daca ai ubuntu 10.04 pui asta: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

    sudo apt-get install ant

    sudo svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn

    cd CSP-svn

    ant
    gasesti cardservproxy.tar.gz in CSP-svn/dist/ folder
    ultima ver este 59.

    succesuri la instalare
    350 kg de scule!

  6. #6
    Junior Member Junior
    RDI - Board Default Avatar

    Join Date
    Jan 2008
    Posts
    2
    Posts Thanks / Likes

    Default

    Quote Originally Posted by gogi View Post
    testat pe 10.10 si 10.04 server edition
    fa exact pasi astia si reusesti sigur pe ubuntu:


    sudo apt-get install openjdk-6-jre
    sudo apt-get install openjdk-6-jdk
    sudo apt-get install python-software-properties
    sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
    sudo aptitude update
    sudo aptitude install sun-java6-jdk
    sudo update-java-alternatives -s java-6-sun
    sudo aptitude dist-upgrade


    daca ai ubuntu 10.04 pui asta: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

    sudo apt-get install ant

    sudo svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn

    cd CSP-svn

    ant
    gasesti cardservproxy.tar.gz in CSP-svn/dist/ folder
    ultima ver este 59.

    succesuri la instalare
    hi!my system linux fedora 12.

  7. #7
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Feb 2010
    Posts
    115
    Posts Thanks / Likes

    Default un pic de ajutor

    buna ziua tuturor ma puteti ajuta si pe mine cu un manual cum se face schimbu de profile pentru CSP multumesc

  8. #8
    Junior Member Teacher
    Join Date
    Jan 2009
    Posts
    205
    Posts Thanks / Likes

    Default

    interesant e cine va mai face schimb cu voi !

  9. #9
    Junior Member Junior
    RDI - Board Default Avatar

    Join Date
    Oct 2009
    Posts
    5
    Posts Thanks / Likes

    Default

    Salut,

    ceva timp in urma mi-am instalat CSP-ul fara probleme urmand pasii descrisi de Ovidiu (multumes pe aceasta cale).
    Acum, am incercat sa fac un update folosind acelasi pasi, numai ca, in directorul dist nu mai gasesc arhiva cardservproxy.tar.gz.
    M-am uitat si prin build.xml si din ce este acolo .. arhiva ar trebui sa fie creata, dar nu e.
    Code:
    <target name="tar-app" depends="build-app, build-web, build-plugins" description="build the complete cardservproxy and compress it to a tar.gz.">
        <move todir="${dir.build}/${ant.project.name}">
            <fileset dir="${dir.build}"/>
        </move>
        <tar tarfile="${dir.dist}/${ant.project.name}.tar" basedir="${dir.build}" excludes="${ant.project.name}/cardproxy.sh*">
            <tarfileset dir="${dir.build}/${ant.project.name}" mode="755" prefix="${ant.project.name}">
                <include name="cardproxy.sh*"/>
            </tarfileset>
        </tar>
        <gzip zipfile="${dir.dist}/${ant.project.name}.tar.gz" src="${dir.dist}/${ant.project.name}.tar"/>
        <delete file="${dir.dist}/${ant.project.name}.tar" />
        <delete dir="${dir.build}"/>
    </target>
    Nu-mi dau seama unde ar putea fi problema.

    In cazul acesta am copiat continutul directorului build.

  10. #10
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,527
    Posts Thanks / Likes

    Default

    Code:
    Update CSP :
    
    	$ sudo su -
    	$ pass
    	$ rm -rf /usr/local/csp
    	$ rm -rf /lib/CSP-svn
    	$ cd /lib
    	$ svn co http://streamboard.gmc.to/svn/CSP/trunk CSP-svn		
    	$ cd CSP-svn
    	$ ant tar-app
    	$ cd dist
    	$ tar -zxvf cardservproxy.tar.gz
    	$ mv cardservproxy /usr/local
    	$ mv /usr/local/cardservproxy /usr/local/csp
    	$ cd /usr/local/csp
    	$ ./cardproxy.sh start
    	$ proxy.xml - editare

  11. #11
    Junior Member Junior
    RDI - Board Default Avatar

    Join Date
    Oct 2009
    Posts
    5
    Posts Thanks / Likes

    Default

    Multumesc Ovidiu

  12. #12
    EXPERT GIGABLUE & IPTV Mentor
    RDI - Board Default Avatar

    Join Date
    Feb 2010
    Posts
    912
    Posts Thanks / Likes

    Default

    Quote Originally Posted by BANNED View Post
    interesant e cine va mai face schimb cu voi !
    pai nu ai vazut ca nu mai deranjeaza pe nimeni nici 256 in coada si nu asta ar fi problema,problema e cand pui acest 256 fara stirea partenerului

    degeaba se chinuie astia sa faca versiuni de cccam care sa impiedice acest furt ca degeaba

    de csp ce sa mai zic.....

    share de la un hobby a ajuns rau de tot si inca merge la vale rau

    pacat

  13. #13
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,527
    Posts Thanks / Likes

    Default

    Quote Originally Posted by iooon View Post
    pai nu ai vazut ca nu mai deranjeaza pe nimeni nici 256 in coada si nu asta ar fi problema,problema e cand pui acest 256 fara stirea partenerului

    degeaba se chinuie astia sa faca versiuni de cccam care sa impiedice acest furt ca degeaba

    de csp ce sa mai zic.....

    share de la un hobby a ajuns rau de tot si inca merge la vale rau

    pacat
    ioooane mai bine ai vedea de maaaarie.

  14. #14
    EXPERT GIGABLUE & IPTV Mentor
    RDI - Board Default Avatar

    Join Date
    Feb 2010
    Posts
    912
    Posts Thanks / Likes

    Default

    aaa ca sa nu mai zic de oscam care cred ca a fost proiectat pentru a pune capat share ului incet incet

    ovidiu lasa man asa cum e.......marie are doar alta palarie

  15. #15
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,527
    Posts Thanks / Likes

    Default

    Quote Originally Posted by iooon View Post
    aaa ca sa nu mai zic de oscam care cred ca a fost proiectat pentru a pune capat share ului incet incet

    ovidiu lasa man asa cum e.......marie are doar alta palarie
    Pe partea cu marie ai perfecta dreptate.

    Pe partea cu oscam nu stii ce vorbesti ... mai bine te-ai documenta sa vezi de unde vine acest emu ... poate ai auzit vreodata de mpcs (mamica sharingului ca, taticu a fost raposatul gbox) ...

 

 

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top