CardSharing.Ws Forum - Powered by vBulletin



Results 1 to 1 of 1

Thread: Simply OSCAM compiling

  1. #1
    Super Moderator nerminz's Avatar
    Join Date
    May 2008
    Posts
    3,226
    Post Thanks / Like
    Rep Power
    15

    Default Simply OSCAM compiling

    This Simply compiling oscam on the CantOS.

    Create necessary folders:
    /var/bin
    /var/bin/oscam
    /var/bin/oscam/etc
    /var/bin/oscam/log

    Create necessary files:
    /var/bin/oscam/log/oscam.log
    /var/bin/oscam/log/oscam_crash.log
    /var/bin/oscam/etc/oscam.conf
    /var/bin/oscam/etc/oscam.server
    /var/bin/oscam/etc/oscam.user
    /etc/rc.d/init.d/oscam

    Change this files with Your config files:
    oscam.conf
    oscam.server
    oscam.user

    open:
    /etc/rc.d/init.d/oscam

    Paste this script and save it then set attributes to 755
    #!/bin/bash
    if ps x |grep -v grep |grep -c oscam >/dev/null
    then
    echo "oscam radi normalno"
    else
    echo "Restartujem oscam"
    pkill oscam
    sleep 2
    rm -f /var/bin/oscam/log/oscam.log
    echo "oscam je pao :" `date` >> /var/bin/oscam/log/oscam_crash.log
    /var/bin/oscam/oscam >>/dev/null &
    fi
    chkconfig oscam on
    Install necessary sotware

    yum install subversion dialog make gcc openssl-devel
    Now we start compiling

    cd /tmp
    cd oscam-svn
    make config
    Adjust only necessary








    Click Save, then click OK


    make OSCAM_BIN=/var/bin/oscam/oscam CONF_DIR=/var/bin/oscam/etc
    reboot
    Oscam will be start automaticly.

    If the oscam destruction, report see in:
    /var/bin/oscam/log/oscam_crash.log
    Last edited by nerminz; 23-11-2015 at 13:34.
    You are not required to read the forum rules but you must to respect them !


  2. Thanks Gladiatorius thanked for this post


Thread Information

Users Browsing this Thread

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

Tags for this Thread

Bookmarks

Posting Permissions

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

TopSat.Org TOPlist