Go Back   Dreambox, Receivers, Television Forum, High definition TV, 3DTV,CCcam, Gbox, Servers, Exchange, TV, LCD, Mobile > Cardsharing Tools > Sharing Tools > CCcam Tools




Reply
 
LinkBack Thread Tools Display Modes
Old 10-07-2010, 07:56 PM   3 links from elsewhere to this Post. Click to view. #1
VIP
 
Join Date: Jul 2009
Posts: 490
Default CCcam Web Manager

CCcam Web Manager V 1.0.5

02/10/2010


Code:
What is new:

Added Updating via FTP client (Upload CCcam.cfg to client)
Added management of multiple servers for each client
Other small improvements


Installazione software

apt-get install apache2 php5 php-cli phpmyadmin rar zip mc mysql-server


Installazione cccam web manager :

1. Download and copy the folder cccam-cms-new in / var / www
2. Create the database "cccam" with phpmyadmin.
3. Import cccam.sql.
4. Edit config.inc.php with your details to access the database.
5. Edit the file "variable" in the scripts folder and change the names of your emu.
6. give them execute permission;

 chown www-data: www-data-R / var / www / CCcam-cms-new / *
 chmod 755 / var / www / CCcam-cms-new / scripts / *

7. Add to sudoer file the string:
        executed by the shell:
        visudo
        and add:

 www-data ALL = (ALL) NOPASSWD: / var / www / CCcam-cms-new / scripts / *

12. Go to your domain / ip (http://www.miosito.tdl/cccam-cms-new)
    Default Administrator Login:
        Username: admin
        Password: admin
Attached Files
File Type: gz cccam-cms-new-1.0.5.tar.gz (118.3 KB, 325 views)


opala is offline   Reply With Quote
Old 10-11-2010, 06:31 PM   #2
VIP
 
Join Date: Jul 2009
Posts: 490
Default

CCcam Web Manager V 1.0.7

What is new:
Aggiunto Gestione delle emu Monitor
Aggiunto dal personalizzati gestione script manager


Code:
Info:


################################################## ###################################
# # Script #
################################################## ###################################

load_cccam_config

1. Farm CCcam.x86
2. CONTROL se sono delle those F-Line scadute, se le trova la disabilita F-Line
3. Crea il file CCcam.cfg
4. copia del giorno precedente CCcam.cfg e lo rinomina
5. copia il file CCcam.cfg generator in automatico in / var / etc
6. permessi setta and a 755
7. riavvia con il nuovo CCcam.x86 CCcam.cfg


enable_auto_update

1. aggiunge cronjob alle da eseguire il file:
0 4 * * * root / var / www / CCcam-cms-new / script / load_cccam_config


disable_auto_update

1. Dalle rimuove cronjob da eseguire il file:
0 4 * * * root / var / www / CCcam-cms-new / script / load_cccam_config



Problemi Conosciuti:

Quando tutte le is cancell flin degli utenti nella list visualizzato non viene l'utente.
Soluzone, aggiungere una flin all'utente associate.

Quando un utente cerca is con il il il manager del search riusltato delle delle somme e sballato flin!

Installare Script UpdateFtpClient "

1. Andare nel menu Cam Control poi su config.
2. Add Plugin Script:
3. Script Name: UpdateFtpClient
Script Description: Start CCcam.cfg Client Update
Image Action Script: launch
Script Code:

#!/bin/bash
cd /var/www/cccam-cms-new/admin
sleep 1
php -q cron-client-cccam-update.php
sleep 1
cd /var/www/cccam-cms-new/script
./client_update

4. Click Add Script Plugin
Finish

Nel pannello Emu Monitor Trovate il pulsante per l'aggiornamento dei avviare client!
Attached Files
File Type: gz cccam-cms-new.tar.gz (116.7 KB, 154 views)
opala is offline   Reply With Quote
Old 09-05-2011, 09:28 AM   #3
VIP
 
Join Date: Jul 2009
Posts: 490
Default

CCcam(Oscam) Web Manager 2.0 (Tools) update of 05/09/2011



1. Copy the contents of the time the user's home.

2. Edit the config file and set:

root_pass = "your_root_password" -> Set the root password
user = "development" -> Putting the user of linux
pass = "password" -> Set the user password linux
group = "development" -> Set the time the user group

Before you run the installer installed unrar:

sudo apt-get install unrar

3. Run the installer as root.


4. Open the browser and go to http://your_ip_or_your_domain/manager
Authenticate:
User: root
Pass: root

5. First thing to do inside the manager has set the ip of the server, then:
- Menu server manager -> edit and set the correct ip of the manager.

6. Set the server cccam config, then:
- CCcam Menu Manager -> Setup -> edit and add what is right for you.

Let the configuration oscam:

Before completing oscam is necessary to insert in the config manager, so:

- OSCAM Menu Manager -> Config Manager -> Click on the + symbol to add the config, remember to set the device id already Smargo for the moment the manager you can not edit and you have to do it by hand.
- Just added to bring the menu config compile oscam:

Oscam Name: tvsat
Revision: 3146 -> there by default if the product versions you want to compile the latest stable versions of the review makes you want to
Pkg path: / usr / local / etc / tvsat -> is so important to always put the name of the folder will be created which will then tvsat config
Webif: yes -> If you want to enable webif
SmartReader: yes -> If you want to enable USB natively
Pcsc: no -> If you want to enable pcsc
Select Config File: tvsat -> Select config that is right for you
Add On Emu Panel: -> If selected, adds nem Emu Menu Manager -> Emu Monitor button to start and stop the emu
Compile On Server: 10.10.10.155 -> Select does not work if not always

If everything is right now going in the Emu you monitor the status online and offline.
Just below you can start or stop the cam.


Important to change the root password of the manager as follows:

- Go http://youserver/phpmyadmin
- Logging
- The table tb_manager_user
- Edit the user root and set in usr_password SH1 encryption and enter your new password.

Code:
Source code


#!/bin/bash
. config

install(){
clear 
echo " "
echo "Please wait the Web Manger install process start . . ."
echo " "
echo "Update system, please wait . . ."
sleep 2
clear
apt-get -y update 
apt-get -y upgrade
sleep 2
clear
echo " "
echo "Installing . . ."
echo " "
sleep 2
apt-get -y install apache2 php5 mysql-server phpmyadmin openssh-server tofrodos php5-cli mc cvs subversion autoconf libccid automake libtool gettext make tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config wget libpng3 zlib1g-dev libssl-dev libssl0.9.8 libpcsclite1 libpcsclite-dev libusb-dev rrdtool cmake
sleep 2
reldir=`dirname $0`
cd $reldir
directory=`pwd`
root="${directory}"
filedir="${directory}/file"
tmpdir="${directory}/file/tmp"
cd $filedir
clear
tar xjvf libusb-1.0.8.tar.bz2 -C $tmpdir
cd $tmpdir/libusb-1.0.8
./configure --enable-shared=no
make
make install
cd $root
clear
sleep 1
cd $filedir
cp CCcam.x86 /usr/local/bin
chmod 755 /usr/local/bin/CCcam.x86
mkdir /var/www/manager
unrar x manager.rar /var/www
sleep 2
echo "Set Permission . . ."
sleep 2
mkdir /var/etc
chmod -R 755 /var/www/manager 
chmod -R 777 /var/www/manager/cccam
chmod -R 777 /var/www/manager/graph
chmod -R 777 /var/www/manager/rrd
chmod -R 777 /var/www/manager/tmp
chmod -R 777 /var/www/manager/admin/tmp
chmod -R 777 /var/www/manager/cfg
chmod -R 777 /var/www/manager/script
chmod -R 777 /usr/local/etc
chmod -R 777 /usr/local/bin
chmod -R 777 /var/etc
chown -R $user:$group /var/www/manager
chown -R $user:$group /usr/local/etc/
chown -R $user:$group /usr/local/bin/
chown -R $user:$group /var/etc/

echo "www-data ALL=(ALL) NOPASSWD:/var/www/manager/script/*
www-data ALL=(ALL) NOPASSWD:/bin/chown
www-data ALL=(ALL) NOPASSWD:/bin/chmod
www-data ALL=(ALL) NOPASSWD:/bin/rm
www-data ALL=(ALL) NOPASSWD:/usr/bin/rrdtool
www-data ALL=(ALL) NOPASSWD:/bin/touch" **** /etc/sudoers
chmod 440 /etc/sudoers

echo "0 4 * * *       root    $script_dir/check_fline_restart_cccam" **** /etc/crontab


### installin database

mysql -u$root_user -p$root_pass<<EOFMYSQL
CREATE USER '$user'@'$db_host' IDENTIFIED BY '$pass';
GRANT USAGE ON * . * TO '$user'@'$db_host' IDENTIFIED BY '$pass';
CREATE DATABASE $db_name;
GRANT ALL PRIVILEGES ON \`$db_name\` . * TO '$user'@'$db_host';
EOFMYSQL
cd ..
mysql -u$root_user -p$root_pass -h$db_host $db_name < manager_db.sql;

## Add default user to manager



## Make Config.inc.php

touch /var/www/manager/config.inc.php
echo "<?php
\$db_name = \"$db_name\";
\$db_host = \"$db_host\";
\$db_user = \"$db_user\";
\$db_pass = \"$db_pass\";

\$conn = mysql_connect( \$db_host, \$db_user, \$db_pass ) or die (\"Errore nella connessione al database, verifica nel file config.inc.php se tutto é corretto : \" . mysql_error());

mysql_select_db(\$db_name, \$conn) or die (\"Errore nel selezionare il database : \" . mysql_error());

// Change this value

// Define user and group

\$unix_user  = \"$user\";
\$unix_group = \"$group\";

// Default 1 for master server else for slave put in sequence 2 , 3 , 4 ... ecc
// You find server id from manager in the menu Server Manager
// 1 = Master Server
// 2 = Slave Server 1
// 3 = Slave Server 2
// x = for more server

\$server_ident = \"$server_ident\";

///////////////////////////////////////////////////

// Dir For Put Script

\$script_dir = \"$script_dir\";

// Dir to output CCcam.cfg Client

\$cfg_dir = \"$cfg_dir\";

// tmp folder

\$tmp_folder = \"$tmp_folder\";

// Default Config Path for oscam files

\$oscam_config = \"$oscam_config\";

// Dir of cccamphpinfo stats

\$cccam_server_info = \"$cccam_server_info\";

\$crond_path = \"$crond_path\";



// Define path for rddtools database

\$rrd_path_db = \"$rrd_path_db\";
\$rrd_path_graph = \"$rrd_path_graph\";

// Change default C Line want emu and uphops value

\$wantemu = \"$wantemu\";
\$uphops = \"$uphops\";
?>" > /var/www/manager/config.inc.php






clear
echo " "
echo "Install Complete ..."
echo " "
echo "Now configure the server from http://yourip/manager"
echo "User : root"
echo "Pass : root"
echo " "
echo "Change root password from phpmyadmin in tb_manager_user --> usr_password, set sh1 encription"
echo " "
exit 1
}


first(){
clear
echo "Welcome To CCcam Web Manager Installer"
echo "To continue please change value in the config file."
echo " "
echo -ne "Install ? : ( y|n ) "
	read install
		case $install in
				y) install;;
				n) exit 1;;
		esac
}

first
config

Code:
Source code



	

#!/bin/bash

## System account info
## For configure db mysql

root_user="root"
root_pass="your_root_password"

## User Account UNIX
## For owner file and database user and create

user="sviluppo"
pass="password"
group="sviluppo"

#############
# DB Config #
#############

db_name="manager"
db_host="localhost"
db_user=$user
db_pass=$pass

# Default 1 for master server else for slave put in sequence 2 , 3 , 4 ... ecc
# You find server id from manager in the menu Server Manager
# 1 = Master Server
# 2 = Slave Server 1
# 3 = Slave Server 2
# x = for more server


server_ident="1"
script_dir="/var/www/manager/script"
cfg_dir="/var/www/manager/cfg"
tmp_folder="/var/www/manager/tmp"
oscam_config="/usr/local/etc"
cccam_server_info="/var/www/cccam/localhost/download"
crond_path="/etc/cron.d"
rrd_path_db="/var/www/manager/rrd" 
rrd_path_graph="/var/www/manager/graph"
wantemu="no"
uphops="{ 0:0:2 }"
Attached Files
File Type: zip manager-install.zip (1.78 MB, 207 views)
opala is offline   Reply With Quote
Old 12-15-2011, 11:54 AM   #4
Junior Member
 
Join Date: Dec 2011
Posts: 1
Default

The CCcam Php Info component does not work probably. How can I fix this?
electron23 is offline   Reply With Quote
Old 02-21-2012, 03:11 PM   #5
Senior Member
 
Join Date: Jul 2011
Posts: 121
Default

plz config cccam web managar VPS
emep2012 is offline   Reply With Quote
Reply




Tags
cccam, manager, web

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
Trackbacks are On
Pingbacks are Off
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://cardsharing.us/forum/cccam-tools/40649-cccam-web-manager.html
Posted By For Type Date
cccam.cfg con server download - Virgilio Ricerca Web This thread Refback 02-05-2012 04:36 PM
je cherhce cccam web manger This thread Refback 12-25-2011 10:24 PM
cccam manager - Virgilio Ricerca Web This thread Refback 10-24-2011 05:08 PM


All times are GMT +1. The time now is 10:06 AM.

vBSkinworks Design

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.