WARRNING

VIEWING PAY TV WITHOUT A VALID SUBSCRIPTION IS ILLEGAL!! ALL FILES AVAILABLE HERE ARE FOR EXPERIMENTAL AND EDUCATIONAL PURPOSE ONLY
Results 1 to 5 of 5
  1. #1
    Status
    Online

    Users Flag!
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014
    Location
    -=UAE=-
    Interests
    CardSharing
    Receiver
    VU+HD
    Receiver
    DM900UHD 4K
    Posts
    1,877
    Thanks
    9
    Thanked 67 Times in 32 Posts

    Tutorial: How to install CCcam on Debian 6

    HOW TO INSTALL CCcam x86 ON DEBIAN 6

    This sticky is all about how to install CCcam on Debian 6.
    Steps follws:

    Download Debian 6 from

    Install debian 6 on your server with those option bellow listed
    :

    *Web server
    *SSH server
    *Standalone

    Then log in via putty SSH.

    Now you can simply copy paste. NOTE: USER NAME ON THIS STICKY IS JUST "user" YOU JUST REPLACE WHAT EVER YOU USE AS USER NAME IS !


    1)
    Code:

    apt-get update
    2)
    Code:

    apt-get install proftpd
    3)
    Code:

    mkdir /emu
    4)
    Code:

    mkdir /emu/cccam
    5)
    Code:

    mkdir /emu/script
    6)
    Code:

    mkdir /emu/log
    7)
    Code:

    mkdir /var/etc
    8)
    Code:

    mkdir /var/keys
    9)
    Code:

    chown "user-name" /emu
    10)
    Code:

    chown "user-name" /emu/
    11)
    Code:

    chown "user-name" /emu/cccam
    12)
    Code:

    chown "user-name" /emu/cccam/
    13)
    Code:

    chown "user-name" /emu/script
    14)
    Code:

    chown "user-name" /emu/script/
    15)
    Code:

    chown "user-name" /emu/log
    16)
    Code:

    chown "user-name" /emu/log/
    17)
    Code:

    chown "user-name" /var/www
    18)
    Code:

    chown "user-name" /var/www/
    19)
    Code:

    chmod 777 /emu
    20)
    Code:

    chmod 777 /emu/

    21)
    Code:

    chmod 777 /emu/log
    22)
    Code:

    chmod 777 /emu/log/
    23)
    Code:

    chmod 777 /emu/log
    24)
    Code:

    chmod 777 /emu/log/
    25)
    Code:

    chmod 777 /emu/script
    26)
    Code:

    chmod 777 /emu/script/
    27)
    Code:

    chmod 777 /var/www
    28)
    Code:

    chmod 777 /var/www/
    29)
    Code:

    nano /emu/script/cccam
    30)

    Code:

    #!/bin/sh CAMNAME="CCcam Server" # end # This method starts CCcam start_cam () { /emu/cccam/CCcam.x86 & sleep 2 } # This method stops CCcam stop_cam () { pkill CCcam.x86 } case "$1" in start) echo "[SCRIPT] $1: $CAMNAME" start_cam ;; stop) echo "[SCRIPT] $1: $CAMNAME" stop_cam ;; restart) echo "Restaring $CAMNAME" stop_cam start_cam ;; *) "$0" stop exit 1 ;; esac exit 0
    31)
    Code:

    chmod 755 /emu/script/cccam
    32)
    Code:

    ln /emu/script/cccam /bin/cccam
    Now put the CCcam2.2.1.x86 bin file from . in the emu/cccam

    33)
    Code:

    chmod 755 /emu/cccam/CCcam.x86
    34)
    Code:

    nano /emu/script/configupdate.sh
    35)

    Code:

    #!/bin/sh #Script to process new config and backup old one. #Script designed and written by CC_Share SOURCE=/emu/cccam TARGET=/var/etc FILE=CCcam.cfg BACKUPDIR=/var/backup CONFIGOLD=CCcam.old if test -f $SOURCE/$FILE ; then echo "New Config Present" if test -d $BACKUPDIR ; then if test -f $BACKUPDIR/$CONFIGOLD ; then echo "Removing OLD config file from backup directory" rm $BACKUPDIR/$CONFIGOLD else echo "No OLD config to remove." fi if test -f $BACKUPDIR/$FILE ; then echo "Renaming Backup to old config" cp $BACKUPDIR/$FILE $BACKUPDIR/$CONFIGOLD rm $BACKUPDIR/$FILE else echo "No Backupfile present yet" fi if test -f $TARGET/$FILE ; then echo "Copying Original config to Backup directory" cp $TARGET/$FILE $BACKUPDIR rm $TARGET/$FILE else echo "No Original Config File Present!?!?" fi else echo "Backup directory does not exist." echo "making new directory" mkdir $BACKUPDIR if test -f $TARGET/$FILE ; then echo "Copying Original config to Backup directory" cp $TARGET/$FILE $BACKUPDIR else echo "No Original Config File Present!?!?" fi fi echo "Moving New config file to "$TARGET cp $SOURCE/$FILE $TARGET rm $SOURCE/$FILE else echo "No New Config present, Nothing to process" fi exit
    36)
    Code:

    chmod 755 /emu/script/configupdate.sh
    37)
    Code:

    cd /etc
    38)
    Code:

    nano crontab
    Now add this line to server reboot and update config file at 6AM.
    Change to other time if you want to that happent in other time.


    Code:

    00 6 * * * root /emu/script/./configupdate.sh >>/emu/log/configupdate.log 2>&1

    39)
    Code:

    nano /etc/rc.local
    40)
    Now at this line just above the last line
    Code:

    /bin/cccam start &
    41)
    Update the config file manualy
    Code:

    /emu/script/./configupdate.sh
    42)
    Now You can:
    Code:

    cccam start
    Code:

    cccam stop
    Code:

    cccam restart
    CCCam check script ( Replace with the right version which you use)

    Code:

    #!/bin/sh if ps x |grep -v grep |grep -c CCcam >/dev/null then echo "cccam... ok" else echo "cccam... restarting" /emu/cccam/CCcam_2.2.1 & fi

  2. #2
    Status
    Offline
    Users Flag!
    carding343's Avatar
    GS Registered
    Join Date
    Aug 2014
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts
    a great work of a great man thank you

  3. #3
    Status
    Offline
    avf130's Avatar
    GS Active User
    Join Date
    Oct 2014
    Posts
    287
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tutorial: How to install CCcam on Debian 6

    You know a lot of things !!!! :thankyoublue:

  4. #4
    Status
    Offline
    Users Flag!
    przemek's Avatar
    GS Active User
    Join Date
    Jan 2016
    Receiver
    DVB Card S2
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tutorial: How to install CCcam on Debian 6

    good tutorial thx

  5. #5
    Status
    Offline
    Users Flag!
    ali1246's Avatar
    GS Active User
    Join Date
    Feb 2017
    Receiver
    DM800HD PVR
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tutorial: How to install CCcam on Debian 6

    wow excellent bro

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How To Install Java 7 In Debian
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 09-12-2015, 06:46 AM
  2. Install CSP On Debian
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 3
    Last Post: 09-12-2015, 06:44 AM
  3. [HOW TO] Install Java 7 In Debian
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 08-02-2015, 07:29 PM
  4. TUTORIAL-How to install Debian6 with CCcam+Oscam on amd64bit
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 07-03-2015, 04:11 PM
  5. Automated Oscam/CCcam 2.1.3 Install Package For Debian 6
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 07-03-2015, 03:58 PM

Tags for this Thread

Posting Permissions

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

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.