Tutorial: How to install CCcam on Debian

There are 26 replies in this Thread which was already clicked 28,953 times. The last Post () by master G.

    • Official Post

    HOW TO INSTALL CCcam x86 ON DEBIAN


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


    Download Debian from HERE


    Install debian 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)



    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 HERE. in the emu/cccam


    33)

    Code
    chmod 755 /emu/cccam/CCcam.x86


    34)

    Code
    nano /emu/script/configupdate.sh


    35)



    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)


    Bash
    #!/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


    Thanks to dreamoncccam..


  • where does this script go?

    110cm Triax Dish multi arm 13,16,19, 23, 28 east fixed 90cm thor

  • and it should be named CCcam.sh?
    would not having this script cause multiple instances of cccam to run? I have a problem with one peer where he is getting multiple logins from me, would this cause it?
    thanx.

    110cm Triax Dish multi arm 13,16,19, 23, 28 east fixed 90cm thor

  • guys im following this tut... have debian installed.. apt-get update,and proftpd.. then it says i can connect with putty now..... but when i connect i get error network error

  • are you sure your connecting to the right ip address? this guide doesnt tell you how to set a static ip. You could maybe take a look in your router home page and see if theres a new computer connected, after you do get in with putty follow this guide, and change the ip to one that suits you.


    110cm Triax Dish multi arm 13,16,19, 23, 28 east fixed 90cm thor

  • ok, im nearly there.. can someone tell me what i put here... what script... 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 im using this cccam 2.2.1 so silly me this script will do me

  • hi , in the script on the 2nd from bottom line you would amend as follows depending on the name of your cccam binary file.


    For instance


    /emu/cccam/xxxxxxxxxxxxxx ( input here name of your cccam binary file ) &


    hope this is what you were after


    regards


    t

    Dont forget to hit the thanks button!!!!!!!!!!!!!



    :41_002:



    Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, your use of the content, downloads and files, or any part thereof, is made solely at your own risk and responsibility. Viewing Pay TV without a valid subscription is illegal. !! Linuxsat-Support.com cannot be held responsible for the content of any information stored or posted on this forum.

  • i have gone over the installation guide twice.... cant find what i did wrong.. loaded cccam to emu/cccam. cfg file to home/ect. cccam not starting in debian. cant get web page either... any ideas

  • im waiting on my server to come to have a go at this i have no linux knowedge at all.. hopefully i can overcome that,with help on here ,,

  • I Made the steps to install on my debian cccam all ok but
    i have a blue dragon card (irdeto card) and im using a phonix reader at 600 Mhz on so when i start newcs and cccam starting the server well but after a few hours the 3 dreambox i have freezes and in cccam client info say from ok - nok


    what is the solution of my problem please help

  • I have done the start stop scprit like written in here in my ubuntu server. Stop cccam works.. Start cccam does not work. Can someone the complete scripts file in here so i can see whats wrong.?
    A other question the update script, does ist also restart cccam?
    I would like 2 restart cccam everynight..
    Thanks allready.

    • Official Post

    I have done the start stop scprit like written in here in my ubuntu server. Stop cccam works.. Start cccam does not work. Can someone the complete scripts file in here so i can see whats wrong.?
    A other question the update script, does ist also restart cccam?
    I would like 2 restart cccam everynight..
    Thanks allready.


    If you post what you have for the script someone may see where you have gone wrong, i suspect its because file paths are different. The update script will restart your cccam but not reboot your server.Its very quick.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!