Tutorial - Guide For Setting Up CCcam Server On Ubuntu

There are 10 replies in this Thread which was already clicked 36,381 times. The last Post () by master G.

    • Official Post

    Firstly What We Need To Do Is Download And Install Ubuntu 10.04Lts Or Ubuntu 10.10
    ? Ubuntu 10.10 Desktop 32Bit
    ? Ubuntu 10.10 Desktop 64Bit
    ? Ubuntu 10.04 Lts 32Bit
    ? Ubuntu 10.04 Lts 64Bit


    Okay Now That We Have Downloaded And Install Ubuntu Desktop Onto Our Pc, We Can Move Onto Setting Up Our CCcam And Creating The File Directories But Make Sure You Have Set Static Ip.



    Now Open Terminal And Type:

    Code
    Sudo ?i


    Now Type Your Password.


    Okay As You Done The Above We Need To Install SSH, Proftpd, Apache2 And Php5.


    Install SSH Type:

    Code
    Apt-Get Install Openssh-Server


    Once Done Install FTP Server Proftpd Type:

    Code
    Apt-Get Install Proftpd


    Install Apache2 Type:

    Code
    Apt-Get Install Apache2


    Install Lastly Php5 Type:

    Code
    Apt-Get Install Php5


    Okay The Four Major Components Have Been Installed All We Need To Do Is Update All The Software On Ubuntu And Upgrade The Kernals Which Is Easy.


    Step 1:

    Code
    Apt-Get Update


    Step 2:

    Code
    Apt-Get Upgrade


    This Process Require 5Mins To Run Depending On Your Network Speed Once Completed We Need To Create Our Directories For The Files.


    Each Time You Enter : Mkdir /Var/Etc Press Enter To Confirm And Do Exactly Same For The Rest.


    Code
    Mkdir /Var/Etc
    Mkdir /Var/Keys
    Mkdir /Var/Script
    Mkdir /Var/Backup
    Mkdir /Var/Config
    Mkdir /Var/Cccamlog


    Now We Have Created Our Directory Folders We Need To Create The Owner Attributes Using The Same Princple As Above.


    Code
    Chown Username  /Var/Etc
    Chown Username  /Var/Keys
    Chown Username  /Var/Script
    Chown Username  /Var/Backup
    Chown Username  /Var/Config
    Chown Username  /Var/Cccamlog
    Chown Username /Usr/Local/Bin


    Great You Made It This Far We Need To Start Adding Our Files And Scripts.


    Dowload Unbutu CCcam Scripts


    Now Extract The Folder Which You Downloaded From This Link:
    Put CCcam.x86 In To Folder /Usr/Local/Bin
    Now You Have Done That We Need To Give It The Rights.
    In Terminal Type:

    Code
    Chmod 755 /Usr/Local/Bin/CCcam.x86


    Now That?s Done Lets Move Onto Adding CCcam.cfg, CCcam.channelinfo And CCcam.provider Into Folder: /Var/Etc That?s All Done.
    We Need To Allow CCcam.x86 To Start Up When You Start And Restart Your Pc.
    In Terminal Type:

    Code
    Nano /Etc/Rc.local


    Now In Terminal It Should Have Opened Up Rc.Local File And We Need To Write In There : /Usr/Local/Bin/CCcam.x86 And Save The File.
    Okay Now We Need To Add The Scripts Which Ive Provided I Don?t Take No Credit For Writing The Scripts, All Credits Go To Orginal Authors.
    Located In The Script Folder Should Be :
    CCcamCheck.sh
    LogCleanup.sh
    ConfigUpdate.sh
    KeyUpdater.sh


    What We Need To Do Next Is Add Your Owner Name In The LogCleanup.sh
    #!/bin/sh
    # Script to cleanup log files
    # Script written by Youknowhoo.
    ## set crontab -e to>> 01 04 * * 1 this means will remove all the log files ones a week on monday mornig at 4:01.##


    OWNER= Enter Your Pc Username Here
    TARGETDIR_1=/tmp
    TARGETDIR_2=/var/cccamlog
    FILE_1=warnings.txt
    FILE_2=cccam.check
    FILE_3=CCcam.log
    FILE_4=configupdate.log


    echo && date


    if test -f $TARGETDIR_1/$FILE_1 ; then
    echo "warning text present!"
    chown $OWNER $TARGETDIR_1/$FILE_1
    rm $TARGETDIR_1/$FILE_1
    else
    echo "No warning text present?!?!Nothing to remove"
    fi


    if test -f $TARGETDIR_2/$FILE_2 ; then
    echo "Check File present!"
    chown $OWNER $TARGETDIR_2/$FILE_2
    rm $TARGETDIR_2/$FILE_2
    else
    echo "No Check File present?!?! Nothing to remove"
    fi

    if test -f $TARGETDIR_2/$FILE_3 ; then
    echo "CCcam Debug Log precent!"
    chown $OWNER $TARGETDIR_2/$FILE_3
    rm $TARGETDIR_2/$FILE_3
    else
    echo "No! CCcam Debug file present, CCcam did run perfectly !!"
    fi


    if test -f $TARGETDIR_2/$FILE_4 ; then
    echo "Check File present!"
    chown $OWNER $TARGETDIR_2/$FILE_4
    rm $TARGETDIR_2/$FILE_4
    else
    echo "No Configupdate File present?!?! Nothing to remove"

    fi
    exit


    Okay Great You Add The Owner Name Onto The Script We Need To Chmod All The Scripts SO Type InTerminal:

    Code
    Chmod 755 /Var/Script/CCcamCheck.sh
    Chmod 755 /Var/Script/ LogCleanup.sh
    Chmod 755 /Var/Script/ ConfigUpdate.sh
    Chmod 755 /Var/Script/ KeyUpdater.sh


    That?s All Dne Where Nearly Done All We Need To DO Is Setup A Crontab ?E.
    ?what I do is restart the CCcam every morning because of the automatic configupdate
    I stop the server every night then it has enough time to install the new config and restart
    CCcam, the reason why I do it like this is that sometimes the card reader can/will not be detected
    this way it always works. And te reason I start this at 3:56 it has to be done in 4 minutes because
    of the CCcamCheck script. it would restart CCcam when the yob is not done yet.
    that?s why we need to make a Cron job ;?


    In Terminal Type :

    Code
    Crontab -e


    Once You Done That Copy And Paste The Code Below Into The Terminal And Save The File.
    56 03 * * * killall CCcam.x86
    57 03 * * * /var/script/configupdate.sh >>/var/cccamlog/configupdate.log 2>&1
    58 03 * * * /var/script/keyupdater.sh >>/var/cccamlog/keyupdater.log 2>&1
    59 03 * * * /usr/local/bin/CCcam.x86
    */5 * * * * /var/script/CCcamCheck.sh
    01 04 * * 1 /var/script/LogCleanup.sh >>/var/cccamlog/LogCleanup.txt 2>&1

    save = ctrl X yes enter



    Great You Have SuccessFully Setup A CCcam Server In Ubuntu All We Need To Do Is Setup Your CCcam.cfg File And You Need To Install And Setup Your Card Reader Depending On What Type Your Planning On Using Which You Do Yourself By Getting The Infrmation From The other posts in this section.


    Credit to Dumbo123 whos guide this is based on.
    And YouKnowWho for the scripts. RIP mate.

  • Hi everyone
    I am newbie for cardsharing and ,trying to set up the cccam into the ubuntu pc.
    I have done half stuff ,but now i am stuck to
    Put CCcam.x86 In To Folder /Usr/Local/Bin.
    Please any tip how to do that


    Thank so much

    • Official Post

    Hi everyone
    I am newbie for cardsharing and ,trying to set up the cccam into the ubuntu pc.
    I have done half stuff ,but now i am stuck to
    Put CCcam.x86 In To Folder /Usr/Local/Bin.
    Please any tip how to do that


    Thank so much



    Its as simple as downloading the files then moving them to the correct folder, you may find this guide easier.


    Automated Install Script for Ubuntu CCcam Server

  • Put CCcam.x86 In To Folder /Usr/Local/Bin


    USE A FTP PROGRAM !!


    new2

    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.

    • Official Post

    Put CCcam.x86 In To Folder /Usr/Local/Bin

    USE A FTP PROGRAM !!


    new2



    Hi everyone
    I am newbie for cardsharing and ,trying to set up the cccam into the ubuntu pc.
    I have done half stuff ,but now i am stuck to
    Put CCcam.x86 In To Folder /Usr/Local/Bin.
    Please any tip how to do that


    Thank so much



    If you you are installing manually on local pc no need for ftp at all, just move the files to their right location manually.

  • Hi Ten Below
    Big salute for help, one thing i do everything,but stuck on root@ubuntu:~# chmod 755 /tmp/ubuntuinstall.sh after i press enter i got the word
    -bash: /tmp/ubuntuinstall.sh :no such file or directory
    thank

    • Official Post

    You have either missed a step or have put the files in the wrong location.Unzip the file to your ubuntu desktop and edit there.Once edited place the folder cccam_install_package and the file UbuntuInstall.sh in the tmp folder, click on places computer then your drive, you will see the tmp folder.

  • master G

    Added the Label Article

Participate now!

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