Results 1 to 5 of 5

Thread: Tutorial: How to install CCcam on Debian 6

  1. #1
    Status
    Online
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014
    Location
    -=UAE=-
    Interests
    CardSharing
    Posts
    1,895

    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
    carding343's Avatar
    Member
    Join Date
    Aug 2014
    Posts
    74
    a great work of a great man thank you

  3. #3
    Status
    Offline
    avf130's Avatar
    Active User
    Join Date
    Oct 2014
    Posts
    287

    Re: Tutorial: How to install CCcam on Debian 6

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

  4. #4
    Status
    Offline
    przemek's Avatar
    Active User
    Join Date
    Jan 2016
    Posts
    41

    Re: Tutorial: How to install CCcam on Debian 6

    good tutorial thx

  5. #5
    Status
    Offline
    ali1246's Avatar
    Active User
    Join Date
    Feb 2017
    Posts
    18

    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
  •  
RSS RSS 2.0 XML MAP HTML TAGS

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

petites annonces