Author Topic: How to install CSP on Debian5  (Read 2798 times)

0 Members and 1 Guest are viewing this topic.

Offline bandasdk

  • Jr. Member
  • **
  • Posts: 82
How to install CSP on Debian5
« on: March 08, 2011, 11:02:23 PM »
How to install CSP on Debian5


1) mkdir /usr/local/csp
2) chmod 644 /usr/local/csp

3) FTP the csp package to /usr/local/csp
4) chmod 755 /usr/local/csp/config/
5) chmod 755 /usr/local/csp/etc/
6) chmod 755 /usr/local/csp/lib/
7) chmod 755 /usr/local/csp/log
8) chmod 755 /usr/local/csp/pluggin
9) chmod 755 /usr/local/csp/cardproxy.sh

10) pico /etc/apt/sources.list and add:
deb You are not allowed to view links. Register or Login unstable non-free

11) apt-get update

12) apt-get install sun-java6-jre

13) cd /usr/local/csp/
14) ./cardproxy.sh start
IMPORTANT: the first time you run this the csp will create a proxy.xml template. DO NOT FTP A FRIE$$$ proxy.xml to your csp until this template has been generated by your own csp!
Be careful if you do use a frie$$$ proxy.xml file, IT MUST BE FROM THE SAME CSP VERSION!! you cannot put a version 0.813 in a 0.9 setup or vice versa!
15) ./cardproxy.sh start

16) use your web browser You are not allowed to view links. Register or Login
17) login; admin password: secret

Offline sajjid

  • Newbie
  • *
  • Posts: 1
How to install CSP on Debian5
« Reply #1 on: November 30, 2011, 02:48:43 PM »
hi i am trying to install java on my machine but keep getting th efollowing error pleases help :) i am tryint to install on 32 bit debian 6.
apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate

Offline admiral-ks

  • Newbie
  • *
  • Posts: 1
How to install CSP on Debian5
« Reply #2 on: December 17, 2011, 01:40:38 AM »
where is  csp package
tnx for tutorial

pumparica

  • Guest
How to install CSP on Debian5
« Reply #3 on: December 17, 2011, 01:48:36 AM »
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.)
1-
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 comma$$$ as me and have not got nano then

Code:
apt-get install nano

2-

Code:
nano /etc/apt/sources.list

Add string

Code:
deb You are not allowed to view links. Register or Login lenny/volantile main contrib
deb-src You are not allowed to view links. Register or Login lenny/volantile main contrib

deb ftp.osuosl.org :: Oregon State University Open Source Lab lenny main non-free
deb-src ftp.osuosl.org :: Oregon State University Open Source Lab lenny main non-free

then

Code:
apt-get update

and finally to install

Code:
apt-get install sun-java6-jdk

If you got any error installing sun-java6-jdk then move to section 3 otherwise go to section 4

3-

Code:
sudo rm /etc/apt/sources.list.d/*

(hit y for each question...)

Code:
sudo aptitude update



Code:
sudo aptitude upgrade



Code:
apt-get update



Code:
sudo apt-get install sun-java6-jdk

If you get the error: e: sun-java-jdk has no installation candidate then:

From menu:
Add & enable Partner Repo:
SYSTEM -> ADMINISTRATION -> SOFTWARE SOURCES -> OTHER SOFTWARE -> ADD
deb You are not allowed to view links. Register or Login lucid partner
Then CLOSE window and RELOAD, then
search for Sun Java or


Code:
sudo apt-get install sun-java6-jdk

If you get error that installation path is not /usr/lib/jvm/java-6-sun/jre/bin/java then run:


Code:
sudo update-alternatives --config java

and select the option that has the path /usr/lib/jvm/java-6-sun/jre/bin/java

pumparica

  • Guest
How to install CSP on Debian5
« Reply #4 on: December 17, 2011, 01:55:00 AM »
Try start this way:
# cd /usr/local/csp
# /usr/local/csp/cardproxy.sh start