This how-to will cover the basic installation of Debian linux and getting CCcam up and running on it.
This How-to is still WIP by CC_Share
–Todo–
—————————————
First download the netinstall cd of debian linux
You can download it from the following URL:
Link http://cdimage.debian.org/debian-cd/…86-netinst.iso
This will install the basic debian linux system on you’re harddisk.
Boot the computer from the CD you just created.

Just press enter here to start the installation

Select the language you prefer

Select the country you’re in. Based on the language it selects a default country

Here you can choose the keyboard layout. Make sure you select the proper layout otherwise installation might prove to be quite tricky.

Set up the hostname of you’re server here. I prefer to set up the first part of my DYNDNS account info here.

Here you must enter the domain name. In the example above, you can see i put dyndns.org here

Next up is the partition guide. Here you must choose

Select the right harddisk. Usually in a stand-alone server, there will just be one entry

Debian will let you choose to have everything in 1 partition, or have seperate partitions for the important directory’s. One advantage of having seperate partitions, You cannot fill the root system by accident if you upload a lot to the home directory. Linux will NOT boot correct , if the root filesystem is full

In the overview, You can check to see if all is set up correct before writing the changes to harddisk. Once you press finish, it will show you the next screen if you are really sure
.

Once you select yes, It will write the changes to harddisk and format all partitions.

If Debian cannot guess you’re timezone by looking at the bios, it will ask you for the timezone

Next you will have to enter the root password. Do not choose an easy to guess password if you want the server to be reachable from the internet. (if you want to use SSH for example to manage the server from work)


Next is setting up an account to use for FTP transfer.

Again, do not use a simple to guess password. This account can also be used for SSH

If you have the option, allways choose a network server.
Make sure you select a fast and stable one.
Usually univercity servers prove to be fast and stable

In the software selection screen, select base system and webserver

One of the last things it needs to know, is where to place the grub bootloader. Usually it is safe to place it on the MBR

Congratulations, You just installed a fresh new DEBIAN server.
As you might have noticed, during installation, debian uses dhcp to aquire an ip adress.
For a cardserver, it’s not recommened to have it’s IP adress handled by DHCP.
First thing we need to do is remove the DHCP and assign a static IP to the linux server
Assigning static IP
Log in as root with the right password
then type in the following command
Code:
vim /etc/network/interfaces
now remove the following line
Code:
iface eth0 inet dhcp
and replace it with
Code:
auto eth0
iface eth0 inet static
address 192.168.1.225
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
These IP adresses might be different for you’re situation.
Remember to replace them with the numbers you need.
You can save the file with the following commands
Once the file is saved, you can restart the network and check if you’re linux server is running with it’s new IP adress
Code:
/etc/init.d/networking restart
ifconfig
ifconfig should now look something like this
Quote:
cardserverBackup:/home# ifconfig eth0 Link encap:Ethernet HWaddr 00:00:00:10:D0:70 inet addr:192.168.1.225 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::250:4ff:fe1d:d27b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8931 errors:0 dropped:0 overruns:0 frame:0 TX packets:6028 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7585683 (7.2 MiB) TX bytes:916823 (895.3 KiB) Interrupt:10 Base address:0×4000 |
Installing SSH
Next thing that needs to be done is install a SSH deamon.
This will allow you to log into the cardserver from you’re own computer and the server does not require a keyboard and monitor if you want to change something.
Code:
apt-get install openssh-server
Once SSH is installed, you can logout of the server,remove the keyboard and monitor as we don’t need it anymore.
Getting Putty
We need to download putty so we can log in with SSH
http://the.earth.li/~sgtatham/putty/…/x86/putty.exe
Remove the CD-ROM drive from the apt-get mirror list:
To make sure the server does not need the CD-ROM anymore to update or install software, we need to remove it from the mirror list of apt-get.
Code:
vim /etc/apt/sources.list
now remove the lines that point to the CD-ROM drive and save the file.
Quote:
| deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main |
Update apt-get software list
To make sure, you locally have a good software list available, you have to update the apt-get database
Installing FTP server
To be able to transfer files between you’re computer and the linux server, a FTP server is needed.
During the installation it will ask you one question,. Answer it with “stand-alone”
This will consume a bit more memory but will prevent linux from spawning a new process every time you log in.
Code:
apt-get install proftpd
The server is now installed and all the needed files are in place.
Now it’s time to get it ready for CCcam.
First thing we need to do is make 6 directory’s and adjust the parameters.
Code:
mkdir /emu
mkdir /emu/cccam
mkdir /emu/script
mkdir /emu/log
mkdir /var/etc
mkdir /var/keys
chmod 777 /emu
chmod 777 /emu/*
chown /emu
chown /emu/*
The username started above is the username you created during the installation. This name is going to be used for file transfer.
Startup script for CCcam
To prevent from having to change directory all the time we’re gonna place a script on the server so CCcam can be started from any directory on the server.
Code:
vim /emu/script/cccam
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
Code:
chmod 755 /emu/script/cccam
ln /emu/script/cccam /bin/cccam
Now you can simply start, stop or restart CCcam from any directory by simply typing
Code:
cccam start
cccam stop
cccam restart
Upload CCcam
Now use a FTP program to upload CCcam.x86 and CCcam.cfg to /emu/cccam
Making CCcam executable
Use putty again to give CCcam.x86 execution rights
Code:
chmod 755 /emu/cccam/CCcam.x86
Config update script
When you’re running a big server, restoring connections can take some time then you change you’re config file. I like to do my config changes once a day. I use this script to backup the old config and put the new config in place. This is done at 3am so my peers don’t notice it and they don’t suffer from a freezing picture every time you make a change.
Code:
vim /emu/script/configupdate.sh
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
Code:
chmod 755 /emu/script/configupdate.sh
Putting configupdate in crontab
To make sure the config update script will run at 3 am everynight, we can place it in the crontab.
and add the following line to it
Code:
00 3 * * * root /emu/script/./configupdate.sh >>/emu/log/configupdate.log 2>&1
This will run the script every day at 3am, and it’s output will be writen in /emu/log/configupdate.log so you can check on occasion if all went well.
Putting CCcam in bootsequence
There’s only one more thing to do. Add CCcam to the startup so it will start on the next reboot.
and add the following line at the bottom
test the config update script created earlier to see if that works
Code:
/emu/script/./configupdate.sh
If it works, you can reboot the server and check if CCcam is running.
Tags: "free test line", -inurl:(htm|html|php) intitle:"index of" "last modified" "parent directory" description size (.exe) "software", -inurl:(htm|html|php) intitle:"index of" "last modified" "parent directory" description size (.exe|.zip) "crack", -inurl:(htm|html|php) intitle:"index of" "last modified" "parent directory" description size (.exe|.zip) "password", -inurl:(htm|html|php) intitle:"index of" "last modified" "parent directory" description size (.exe|.zip|.ddl) "password", -inurl:(htm|html|php) intitle:”index of” ”last modified” ”parent directory” description size (zip|rar) ”replace”, -inurl:htm -inurl:html intitle:"index of" "last modified" cccam.cfg, -inurl:html intitle:"index of" "last modified" cccam.cfg, /var/emu/cccam_start.sh: line 12: /var/emu/cccam.x86: cannot execute binary file, 2 cccam tuners 1 cfg, 2 tuners cccam, 86-netinst.iso, a day free sharing test line, account cccam test, account for test line in cccam, account test cccam, art, auto install script cccam on debian, auto restart cccam, auto restart cccam server, auto restart fausto, bash: /etc/init.d/networking: cannot execute binary file, basic installation of debian linux with cccam, Bios, build cccam server with debian, building a linux file server, building debian cccam server, c: sharingday.dyndns.org 12000, cache:o3z2kg_kmzgj:www.nextturk.com/tag/how-to-build-a-debian-cccam-server guide cardserver debian, card server list, card sharing check, card sharing linux, card sharing test line, cardscharing, cardscharing com, cardsering, cardsering test line, cardserver testline, cardshar, cardshare linux, cardshare test line, Cardsharing, cardsharing 2 tuners, cardsharing cccam server test, cardsharing cccam.cfg how, cardsharing free test line, cardsharing kostenlose testlinie, cardsharing lines, cardsharing linux, cardsharing linux debian 6.0, cardsharing server testline, cardsharing server testlines, cardsharing sky prova, cardsharing sky test account, cardsharing tesr line, cardsharing test account, cardsharing test adresse, cardsharing test line, cardsharing test lines, cardsharing testline, cardsharing testlines, cardsharing-server test line, cardsharing.com, Cas, cc, ccam, ccam free test, ccam server, ccam server test line, ccam test account, ccam test line, ccam test lines, ccam tester, ccam testline, ccam.cfg how to check if you can share, ccamm test line, Cccam, cccam (card) check/restart script, cccam auto install, cccam auto restart, cccam auto restart script, cccam autorestart, cccam build, cccam card script, cccam cardsharing free test, cccam cardsharing test, cccam cardsharing test line, cccam cardsharing test lines, cccam cardsharing testline, cccam cline made for a partition of a, cccam config phoenix, cccam debian, cccam debian 6, cccam debian cd-image welche, cccam debian howto, cccam debian libstdc, cccam disconnects, cccam disconnects active clients, cccam f, cccam free line test, cccam free test, cccam free test account, cccam free test account free download, cccam free test line, cccam free test lines, cccam free test server, cccam free testline, cccam herstarten command line, cccam line test, cccam no active clients, cccam on debian 6, cccam phoenix, cccam phoenix config, cccam reboot script, cccam restart, cccam restart script, cccam script non parte con webmin, cccam server, cccam server account, cccam server auto install, cccam server automatic reboot, cccam server check, cccam server checker, cccam server free test, cccam server free test line, cccam server lines test, cccam server list, cccam server reboot script, cccam server sky testline, cccam server test, cccam server test account, cccam server test file, cccam server test line, cccam server testen, cccam server testline, cccam server with test line, cccam servers free test, cccam servers test, cccam servers test line, cccam sharing free test, cccam test, cccam test account, cccam test acount, cccam test file, cccam test free, cccam test line, cccam test lines, cccam test server, cccam test servers, cccam test servers nova, cccam tester, cccam testing, cccam testing server nova, cccam testline, cccam testlines, cccam testserver, cccam webmin, cccam webmin install, cccam.cfg, cccam.cfg emu server pc, cccam.cfg phoenix, cccam.cfg phoenix com debian, cccam.cfg phoenix linux server, cccam.cfg phoenix pc, cccam.cfg test, cccam.cfg test cardsharing, cccam.cfg test file, cccam.cfg tester, cccam.cfg with putty, cccam.x86, cccam.x86: cannot execute binary file, cccamdragon.no-ip.biz, cccamserver test, cccamserver test line, cdimage.debian.org/debian-cd/...86-netinst.iso, cdimage.debian.org/debian-cd/…86-netinst.iso free, cheap card server with free test line, checking serial port pour samsat usb 450, cheep cardsharing com, clarkconnect cccam auto ban ip address, configeupdate.sh cccam error, configupdate.sh, cs test line, cs testline, cs testline free, db cccam c-line test, db cccam c-line test download, debian 6 cccam, debian 6 cccam server, debian 86-netinst.iso, debian card server, debian cardserver, debian cccam, debian cccam auto install, debian cccam autoinstall, debian cccam libstdc .so.6, debian cccam server, debian cs key sharing debian, debian linux logo, debian linux server with cccam auto install script, Debian Linux System, debian phoenix, debian reboot script, debian test if user exists, debian_cccam.sh, def, Default Country, demo starsat 7300 usb disk read error, direct, dm500 putty, dm500s cccam server linex with card shering, do free cccam.cfg files work, Domain Name, download, dyndns account for cccam, dyndns cccam debian, echoed channels for children in nilesat dont need a cart, edit cccam.cfg putty, editing dm500 cccam.cfg with putty guide, enter search here..., eurocardsharing, free card server list, free card sharing 24, free cardscharing, free cardsharing cccam.cfg, free cardsharing test line, free ccam test, free cccam for test, free cccam server account, free cccam server list, free cccam server sky, free cccam server sky germany, free cccam server sky test line germany, free cccam server test, free cccam server testline, free cccam showtim betacrypt upload, free cccam sky german, free cccam test, free cccam test 2, free cccam test account, free cccam test line, free cccam test lines, free cccam test server, free cccam test servers, free cccam testline, free cccam.cfg, free cccam.cfg card sharing, free free test lines for cccam for starview, free test account cccam, free test cccam, free test cccam account, free test cccam line, free test cccam server, free test cccam sharing, free test line cccam, free test line cccam 48h, free test line cccam for cardsharing, free test lines cccam, free test lines for cccam, free testline, free testline cccam, free testline cccam sharing, free testy cccam, free update starsat x97usb, freecardsharing server list, g, hack firmware e410, Harddisk, home cardsharing, Home Directory, host, Hostname, how install cccam webmin, how to build a debian cccam server, how to build cccam server on debian, how to build debian card sharing server, how to buld ccam server in computer, how to install auto cccam on debian linux server, how to install cccam webmin, how to replace cccam cfg, how to restart cccam, how to restart cccam on linux server, how to run cccam.x86, how to use and old cccam.cfg file, Howto Linux, http://cdimage.debian.org/debian-cd/...86-netinst.iso, http://cdimage.debian.org/debian-cd/…86-netinst.iso, http://debian-cs.co.cc/debian_cccam.sh, index of / cccam.cfg, index of last modified parent directory description length exe zip ddl software hacks, indexof cccam server, Install Linux, intitle index.of debian, intitle: index of ccam.cfg, intitle:"index of" "parent directory" "cccam" -filetype cfg, inurl htm|html|php intitle index of last modified parent directory description size .exe|.zip|.ddl software crack tring digialb, Keyboard Layout, keys, libstdc debian install cccam, lig, link http://cdimage.debian.org/debian-cd/...86-netinst.iso, link http://cdimage.debian.org/debian-cd/…86-netinst.iso, Linux Boot, linux card share soft a scripts, Linux Download, Linux Server, loader, logo, making card sharing server, making cardsharing server, meter datas no cccam cfg, my cccam server drops out every day, nds, no active clients cccam, old cccam, on, Partition Guide, Partitions, phoenix cccam, phoenix cccam.cfg, picture, pkill cccam.x86, program, program pentru test servere cccam, Proper Layout, putty dm500, putty dm500, restart cccam, Root Filesystem, Root System, sample cccam test line file, script auto restart cccam for linux debian server, script for restart cccam, script per riavvio emu cccam in auto, script to check if card present in cccam, script to restart cccam, server cardscharing, server cccam 48h test, server cccam test, servere cccam, set up dyndns on debian server for cccam, setting up adyndns account for cardsharing, setup cardsharing linux, setup linux cardsharing server, sharing cccam.cfg pc server debian, sky card share test server, sky cardshare server test account, sky cardsharing testline, sky cccam test line, sky cccam testline, sky key test, sky testline, smargo debian viaccess freex tv 5 channels 13°, soft, software cccam sever free, star sat sr-x97usb twin*portocol free downlode, start, start cccam webmin, start sat x97usb, test, test cccam, test cccam line, test cccam server, test cccam.cfg, test cccam.cfg file, test cccam.cfg file is good, test line cardshare, test line cardsharing, test line cccam, test line cccam server, test line for cardsharing, test line for cccam, test line for cccam cardsharing, test lines cardshare, test lines cccam, test lines for sharing server, test server cardsharing, test server cccam, test server cccam config, testline cardsharing, testline cardsharing server, testline cccam, testline cccam cardsharing, testline cccam server, testline cs, testserver cccam, Timezone, twinstar.dyndns.org, Url Link, usb disk read error demo starsat 7300 sub, var/keys, web, webmin cccam, what is needed for card sharing, what is needed for cardsharing, what is needed to make a home cardsharing server, www.eurocardsharing, www.eurocardsharing.com, www.nextturk.com, www.twinportocol.starsatsr-x97usb, yes
November 29th, 2011 at 19:38
test line
June 23rd, 2012 at 00:38
cccam plez