Go Back   SharingDVB All Tutorials sharing > Emulator Tutorials > CardSharing Tutorials

Reply
 
Thread Tools Display Modes
Old 12-18-2014, 01:56 AM   #1
nagra 3
Moderator
 
Join Date: Dec 2014
Posts: 58
Arrow how to install CSP MySQL User Manager with active code



Code:
sudo apt-get install mysql-server

now add new password for mysql

add new password to confirm

now install PhpMyAdmin

Code:
apt-get install phpmyadmin

now config phpmyadmin

add new password for phpmyadmin

re add new password for phpmyadmin

install apache2


set OK

now we have termined setup the server

now we access to phpmyadmin

HTML Code:
http://192.168.1.77/phpmyadmin
change ip to your ip sever



now we setup base bdcspserver


---


now upload cmumdb.sql from cmum-231c folder unziped





now we have termined setup the base

edit config.php in cmum-231c folder unziped



Code:
<?php
$dbhost = "";
$dbname = "";
$dbuser = "";
$dbpass = "";
$charset = "utf-8";
?>
change to this


Code:
<?php
$dbhost = "localhost";
$dbname = "dbcspserver";
$dbuser = "root";
$dbpass = "password";
$charset = "utf-8";
?>
now edit genxml.php in folder genxml in www in cmum-231c folder unziped



Code:
// Enter your server info below before use
$dbhost = "";
$dbname = "";
$dbuser = "";
$dbpass = "";
$charset = "utf-8";
ghange to



Code:
// Enter your server info below before use
$dbhost = "localhost";
$dbname = "dbcspserver";
$dbuser = "root";
$dbpass = "password";
$charset = "utf-8";
dbpass = "password" password for data baze installed later

now upload folder www cmum-231c folder unziped to /var/www in your server 192.168.1.77



now go to http://192.168.1.77/



login : admin
pasw : password


now connect csp to CSP MySQL User Manager

Code:
 <user-manager class="com.bowman.cardserv.XmlUserManager" allow-on-failure="false" log-failures="true">
      <auth-config> 
      <user-source name="outsource">
      <user-file-url>http://127.0.0.1/genxml/genxml.php</user-file-url>
      </user-source>
      <update-interval>1</update-interval>
      </auth-config>
      </user-manager>
now go to SETTINGS




Hide All Text On Login Page : yes

Log Failed Logins : yes

Show Send OSD Link : yes

in /var/keys in your dreambox change in mg_cfg

HTML Code:
O: { 00 } root dreambox


you can import users from proxy.xml



ok now users added





now go to activecode php
http://192.168.1.77/activecode.php



here to generate code



regards
nagra 3 is offline   Reply With Quote
Old 10-03-2015, 06:19 AM   #2
fullhd1080
Junior Member
 
Join Date: Sep 2015
Posts: 1
Default



CSP is running fine

phpmyadmin is working

but csp mysql user manager not work


Ubuntu 14.04 64bit

any advice
fullhd1080 is offline   Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:37 AM.
SharingDVB@
A vBSkinworks Design