How to Install CSP & Java on Ubuntu Server

Get CSP server and configuration files for seamless proxy card sharing. Supports CCCam, Newcamd, and MGCamd for stable performance and low latency.
Trump
Site Founder
Site Founder
Posts: 497
Joined: 06 Apr 2025, 11:39
Has thanked: 73 times
Been thanked: 96 times
Italy

How to Install CSP & Java on Ubuntu Server

Unread post by Trump »

Step 1: Check for Updates & Install required components

1. apt-get update
2. apt-get install python-software-properties software-properties-common

Step2: Install Java

Install oracle-java7

1. sudo add-apt-repository ppa:webupd8team/java
2. sudo apt-get update
3. sudo apt-get install oracle-java7-installer

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

Step 3: Install required components to compile CSP


1. apt-get install ant subversion

Step 4: Create Directory Structure to compile CSP

1. cd /lib
2. mkdir cspsvn
3. cd cspsvn
4. svn co http://streamboard.de.vu/svn/CSP/trunk CSP-svn

Step 5: Compiling CSP

1. cd CSP-svn
2. ant tar-app
3. cd dist
4. 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)

1. mv cardservproxy /usr/local/csp

Step 7: Run CSP

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

NOTE: You will get this Error:

1. Starting CardServProxy: [ FAILED ]
2. Config file 'config/proxy.xml' not found, generating template...

Now the file 'config/proxy.xml' has been created so just start CSP again

1. ./cardproxy.sh start

Hopefully you will see..

Starting CardServProxy: [ OK ]


Step 8: Enable CSP Autostart on boot

Rename cardproxy.sh to cardproxy.sh.old


1. mv /usr/local/csp/cardproxy.sh /usr/local/csp/cardproxy.sh.old

Rename cardproxy.sh.ubuntu-autostart to cardproxy.sh

1. mv /usr/local/csp/cardproxy.sh.ubuntu-autostart /usr/local/csp/cardproxy.sh

Copy cardproxy.sh to /usr/local/bin & rename to csp

1. cp /usr/local/csp/cardproxy.sh /usr/local/bin/csp

Editing rc.local to autostart csp

1. sed --in-place '/exit 0/d' /etc/rc.local
2. echo "sleep 10" >> /etc/rc.local
3. echo "/usr/local/csp/cardproxy.sh start &" >> /etc/rc.local
4. echo "exit 0" >> /etc/rc.local

Step 9: 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


:lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:
Post Reply

Return to “|| CSP Server & Config & Versions Download ||”