Results 1 to 3 of 3

Thread: Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

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

    Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

    Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

    What you will Need:

    1.. 64-Bit PC
    2..
    3.. Blank DVD
    4..
    5..



    I have modified & updated the original script written by Youknowwho (R.I.P), to work with Ubuntu amd64.
    I have tested this numerous times with no problems at all on two Desktop PC's, a laptop & VM Workstation.
    This Script installs OSCAM 1.20-unstable_svn build #7149 (Compiled with all Smartreader Support) & cccam 2.1.3 (x64 compatable)
    After final Reboot the oscam/cccam webif's are up and running.
    If you have a previous setup, just copy all your cccam & oscam configs over and off you go!
    Tip: Follow all the steps (including updates & other steps that you might be tempted to skip)

    NOTE1: If you are upgrading from a working setup, make sure to backup all your configs. i.e.
    /var/etc
    cccam.cfg
    /usr/local/etc
    oscam.conf, oscam.server, oscam.user

    NOTE2: My omnikey Reader worked without having to set it up again (But I still followed the tut and reconfigured it)
    exclude this line from above tutorial! "provider_library = /lib/libpcsclite.so.1"



    Step 1.. Install Ubuntu Server 12.04 amd.64-Bit on your PC/Server following all the steps below.


    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6401.jpg[/IMG]

    Select Install Ubuntu Server
    Then Select your Language Location & Keyboard Layout




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6402.jpg[/IMG]

    Select your hostname for your PC (This can be anything you like) e.g. ubuntu




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6403.jpg[/IMG]

    Enter your Full Name




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6404.jpg[/IMG]

    Type your username (First name by default)
    Then Type your password & Re-Type your password




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6405.jpg[/IMG]

    Select <NO> for Encrypt your home Directory)




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6406.jpg[/IMG]

    in Partitioning Method, Select <Use Entire Disk>




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6407.jpg[/IMG]

    Select your Disk & Hit return




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6408.jpg[/IMG]

    Select <Yes> under Write the changes to disks




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6409.jpg[/IMG]

    Just Hit return on this screen if you dont use HTTP proxy




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6410.jpg[/IMG]

    Select <No automatic updates>




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6411.jpg[/IMG]

    Only select OpenSSH server by pressing the spacebar then hit return.
    All the software needed will be installed with the autoscript.




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6412.jpg[/IMG]

    Select <Yes> to install GRUB to the master boot record...
    Remove the CD & click continue to reboot the Server

    Thats it, your now finished the Ubuntu Install..




    Step 2.. Prepairing Ubuntu for the automated Script.

    For these Steps make sure your PC is connected to the Router (Preferably Wired connection)
    We now have to set up a static IP address so we can use Putty & WinSCP to FTP files & execute Terminal commands Remotely.
    From my experiences with Ubuntu , I NEVER set a static IP in Network Interfaces.
    I log into my router (192.168.*.*) and within my Lan Setup I can view connected Devices.
    In connected Devices establish which device is your Server & Write down the MAC Address
    Now go to Pre-Assigned DHCP IP Addresses and Put in your Server MAC Address & the IP address you want (e.g. 192.168.1.50)
    Click on Add Static IP Address or Apply or whatever it might be on your Router!
    Restart the Server & when it's back up, It will have a static IP Address reserved by the router without you having to configure anything in Ubuntu.

    Now we are going to log into the server with putty


    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6427.jpg[/IMG]

    Jyst type the Static IP Adress of your Server & hit Open,




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6413.jpg[/IMG]

    Log in with your username & password




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6414.jpg[/IMG]

    Now Enter these lines to set up a root account

    sudo passwd root
    Enter your password
    Then Enter your new root password
    Enter your new root password again to confirm

    sudo reboot

    Close putty & re-open it when the server restarts.




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6415.jpg[/IMG]

    This time log in with your root account i.e. Username:root Password:whatever password you picked above




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6416.jpg[/IMG]

    sudo apt-get update




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6417.jpg[/IMG]

    sudo apt-get upgrade




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6418.jpg[/IMG]

    reboot




    Step 3.. Install oscam/cccam autoscript.


    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6428.jpg[/IMG]

    Now log into your Server with WinSCP as root user




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6419.jpg[/IMG]

    On the left hand side, Browse to the "CCcam Oscam Ubuntu 64-Bit" Folder
    On the right, browse to <root>/tmp folder




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6420.jpg[/IMG]

    Select both "cccamoscam_install_package" Folder & CCcamOscamInstall.sh and copy them to tpm folder
    On the right hand Side Right click on the CCcamOscamInstall.sh you just copied & click Edit



    !!!!Very Important, Script will Fail if you dont follow the next step!!!!
    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6421.jpg[/IMG]

    Fill in your Ubuntu username here


    Now open the the "cccamoscam_install_package" folder that you just copied over to the server.
    Right click on the "LogCleanUp.sh" & click Edit
    change the line:
    OWNER=share4u
    to
    OWNER="your ubuntu username"




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6422.jpg[/IMG]

    chmod the Script with this command
    chmod 755/tmp/CCcamOscamInstall.sh




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6423.jpg[/IMG]

    Run the Script with this command
    /tmp/CCcamOscamInstall.sh




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6424.jpg[/IMG]

    Type y to all the "Do you want to continue [Y/n] Pauses




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6425.jpg[/IMG]

    Select <from inetd> on this screen




    [IMG]http://i1165.p***obucket.com/albums/q591/thatfellow76/AutomatedOscamCCcamUbuntu64Bit/Ubuntu6426.jpg[/IMG]

    The Script reboots the machine.

    When the PC Starts up will have OScam & CCcam Installed
    You can check your oscam Webif page by typing your server ip & oscam webif port no. (192.168.*.*:8888) in the address bar of your browser.
    Username: admin
    Password: admin

    You can check your cccam Webif page by typing your server ip & cccam webif port no. (192.168.*.*:16001) in the address bar of your browser.
    Username: admin
    Password: admin




    Now all you have to do Is configure your cccam.cfg and oscam configs to suit your setup & card readers.
    The version of oscam in this script is the latest version, compiled with full support for all Card readers.

    NOTE: If you install an older (Stable) Version of oscam only to find that it is not starting with the server it is most likely because it is referencing libssl0.9.8.
    To Fix this just run command below:

    apt-get install libssl0.9.8

    On completion of this tutorial you will have a Ubuntu Server with cccam/oscam up and running, but you will still need to follow tutorials to configure:

    USE THE THANKS BUTTON ON ALL THESE TUTORIALS TO SHOW YOUR APPRECIATION FOR THE HARD WORK THAT WENT INTO WRITING THEM


    Here is a list of all the commands you will need to run your server:


    Good Luck & Enjoy[/QUOTE]Oscam/Cccam commands
    Update cccam.cfg file?
    ftp updated cccam.cfg file to /var/config then run command below:
    /var/script/configupdate.sh

    Stop CCcam:
    This assumes your cccam binary is named "CCcam.x86_64" check its name in /usr/local/bin and replace "CCcam.x86_64" with the name that exists.
    sudo killall -9CCcam.x86_64

    Start CCcam:
    This assumes your cccam binary is named "CCcam.x86_64" check its name in /usr/local/bin and replace "CCcam.x86_64" with the name that exists.
    sudo CCcam.x86_64 .b

    Stop oscam:
    sudo killall -9 oscam

    Start oscam:
    sudo oscam b

    Log file:
    tail -f /var/log/oscam.log

    Edit oscam.server:
    sudo pico /usr/local/etc/oscam.server

    Edit oscam.user:
    sudo pico /usr/local/etc/oscam.user

    Edit oscam.conf:
    sudo pico /usr/local/etc/oscam.conf

    Update CCcam Channel Info
    wget -O /var/etc/CCcam.channelinfo <a href="http://tinyurl.com/csmcu44%5B/CODE%5D">http://tinyurl.com/csmcu44

    Update CCcam Providers
    wget -O /var/etc/CCcam.providers <a href="http://tinyurl.com/cgo8ogc%5B/CODE%5D">http://tinyurl.com/cgo8ogc

    Clean oscam/cccam Log Files
    /var/script/LogCleanup.sh


    Ubuntu System Commands

    Power Commands
    Shutdown computer
    sudo poweroff
    of
    sudo shutdown -h now
    reboot computer
    sudo reboot
    or
    sudo shutdown -r 0

    Network Configuration
    Open network configuration file
    sudo nano /etc/network/interfaces
    Restart the network:
    sudo /etc/init.d/networking restart

    Updates
    Get update software list, enter:
    sudo apt-get update
    Update software(s) i.e. apply updates:
    sudo apt-get upgrade
    Apply kernel upgrade:
    sudo apt-get dist-upgrade
    Upgrade individual software called foo type command:
    sudo apt-get install foo

    Ping
    ping -c3 www.google.ie

    Speedtest
    To simply test your internet Speed, enter:
    wget -O/dev/null speedtest.pixelwolf.ch

    Clean
    To clear the cache you can use either the clean or the auto-clean op for a command-line program called apt-get. The clean command will remove every single cached item, while the auto-clean command only removes cached items that can no longer be downloaded (these items are often unnecessary).
    sudo apt-get clean

    To remove packages that were automatically installed to satisfy dependencies for other package and that are no longer needed.
    sudo apt-get autoremove

    After installing anything with apt-get install, localepurge will remove all translation files and translated man pages in languages you cannot read.
    sudo apt-get install localepurge


    If you want to configure localepurge you need to edit
    sudo pico /etc/locale.nopurge



    List Devices attached:
    sudo lsusb

    Checking open ports on Ubuntu
    netstat -anltp | grep "LISTEN"

    Enable root account
    sudo passwd root

    Chmod for a folder and all of its subfolders and files
    sudo chmod 755-R /whatever/your/directory/is

    Dynamic DNS updater (ddclient)
    To install ddclient:
    sudo apt-get install ddclient

    To reconfigure ddclient installation:
    dpkg-reconfigure ddclient

    View Log Files
    General log messages
    more /var/log/messages

    System boot log
    more /var/log/boot

    Debugging log messages
    more /var/log/debug

    User login and authentication logs
    more /var/log/auth.log

    Running services such as squid, ntpd and others log message to this file
    more /var/log/daemon.log

    Linux kernel ring buffer log
    more /var/log/dmesg

    All binary package log includes package installation and other information
    more /var/log/dpkg.log

    User failed login log file
    more /var/log/faillog

    Kernel log file
    more /var/log/kern.log

    MySQL server log file
    more /var/log/mysql.*

    All userlevel logs
    more /var/log/user.log

    Apache web server log files directory
    more /var/log/apache2/*

    fsck command log
    more /var/log/fsck/*

    Application crash report / log file
    more /var/log/apport.log

  2. #2
    Status
    Offline
    hpserver's Avatar
    Member
    Join Date
    Sep 2014
    Posts
    37
    great job.......

  3. #3
    Status
    Offline
    shafique18's Avatar
    Junior Member
    Join Date
    May 2015
    Posts
    14

    Re: Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

    Superb dear

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Automated Install Script for Ubuntu CCcam Server
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 2
    Last Post: 03-05-2018, 09:59 AM
  2. 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
  3. Replies: 0
    Last Post: 07-01-2015, 01:56 PM
  4. Replies: 2
    Last Post: 07-24-2014, 02:08 PM
  5. Replies: 2
    Last Post: 07-07-2014, 09:26 AM

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