You are Unregistered, please register to gain Full access.    
«•»World-Satellite Forum«•»  
Old 10-08-2010, 18:50   #1
 
WaRp63's Avatar
 
SUPER MODERATOR
Join Date: Apr 2010
Location: world-satellite
Posts: 15,700
Thanks: 5,239
Thanked 26,018 Times in 8,597 Posts
Users Flag!
Default CCcam Server i Debian 5.0.1 distro

CCcam on Debian 5.0.1 distro

Pre svega potrebna nam je DEBIAN net install distribucija , evo linkova za x386 i x64 masine :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Za CCcam server nemorate imati ZVER od racunara , savim je dovoljan neki P III sa 256-512 RAM-a i integrisanom grafikom , naravno racunar mora imati i LAN kartu (integrisanu ili u PCI slotu) !

Pa krenimo redom , kada ste skinuli .iso image potrebno ga je narezati na CD ... Postavite u BIOS-u da prvi bootabilni bude CD , stavite CD i krecemo :

[Only Registered Users Can See LinksClick Here To Register]


Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


samo pritisnite ENTER na ''install''

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izaberite zeljeni jezik

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izberite zemlju ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izberite tip tastature ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


podesite HOSTNAME vaseg servera (neki stavljaju svoj DNS info)

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


ukucajte domain name ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


vodic za particionisanje HDD-a ... izberite ''Guided - Use entire disk''

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izaberite HDD za instalaciju systema ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izaberite '' Separate /home . /user , /var / and /tmp partitions''

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


pregled particija koje ce biti namestene ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izaberite ''YES'' ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


podesite time zone ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izaberite ''root'' password (po svojoj volji , nemojte je zaboraviti :D)

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izberite user name koji zelite ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


podesavanje accounta za FTP konekciju sa serverom ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


password za account name ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izberite network server ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izaberite ''*** SERVER'' i ''STANDARD SYSTEM''

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


izberite ''YES'' ...

[Only Registered Users Can See LinksClick Here To Register] Kako podici linux CCcam server DEBIAN korak po korak by CC_Share


bravo ... instalacija je zavrsena ... racunar ce ''eject'' CD , izvadite i stisnite ''enter''

sada prelazimo na onaj ''pravi'' linux mod ... samo pazljivo pratite instrukcije i nece biti problema ...

Ako ste primetili DEBIAN je putem DHCP-a dodelio sam sebi IP ... Za server je preporucljivo da ima staticku IP tj IP koja se nece menjati ... Pa zadajemo serveru static ip na sledeci nacin ...
logujete se kao ROOT na svoj server i kucate :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
izbrisite sledecu liniju :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
dodajte :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
ovo treba sacuvati ... pazljivu kucate :wq (dvotacka write , quit) ... ovom komandom cete sacuvati svaki naredni file koji budemo radili ... jos jednom :wq ....

napomena : address je je IP koja zelite da bude , gateway je vas izlaz na internet (u vecini slucajeva IP routera)

kada smo sacuvali sve , treba restartovati mrezu i kucate :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
pa proverimo kucajuci

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]

trebate dobiti nesto slicno ovome :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]

Instalacija SSH servera ... kucamo :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
kada je SSH instaliran , mozete iskljuciti monitor , tastaturu sve sem struje i lan kabla ... za dalju komunikaciju koristimo ''PUTTY''
nacemo ga na
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
podesite u PUTTY-ju account , logujte se kao root i dalje mozete copy - paste komande ili kucate dalje ...

Odkalanjamo CD iz update liste , pa kucamo :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
izbrisite sve linije koje vode ka CD-u i ostavite sve linije za net , i sacuvajte taj file :wq ...

radimo update liste softwarea na sledeci nacin ... kucamo :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
instaliramo FTP server :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Sada pravimo direktorijume i zadajemo im odredjena prava :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
pravimo CCcam start skriptu i kucamo :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
pa kucamo dalje :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
sada nam treba cccam u /emu/cccam
download sa foruma i stavite ga :

zadajemo prava na 755 :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
config update script :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
stavljamo cofig update da radi u odredjeno vreme npr u 3 ujutru

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
dodajte liniju na kraju :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
i postavljamo CCcam u boot sekvencu (cccam se starta sa linuxom)

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
dodajte na kraju :

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
To bi bilo to , ubacite vas cccam.cfg u var/etc i ako ste uradili sve kako treba CCcam bi trebao raditi ...



Kako sada na Debian 5.0 pokrenuti Smargo citac ?


SERIAL READER : /dev/ttyUSB0

ili ako imas vise :


SERIAL READER : /dev/ttyUSB0
SERIAL READER : /dev/ttyUSB1
SERIAL READER : /dev/ttyUSB2



Kako u linuxu koristiti copy / paste opciju?


Primjer:
Prije ubacivanja kopiranog teksta sa desnim klikom u puttyju treba da pritisnes tipku Insert (tipka kod dugmeta Home, PageUp itd...) da bi ti na dnu ekrana pisalo --INSERT-- tek tada odradi desni klik za ubacivawe kopiranog teksta. Zatim pritisni ESC tipk par puta da nestane sa dna ekrana --INSERT-- i tada kucaj :wq

Da li neko zna kako pod debianom po ovom uputstvu konfigurisati DynDNS updater.

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]


NAPOMENA:
Ne zalicete za najnovije verzije servera, koristite samo stabilne verzije, ako idete na verziju sa Ubuntu najbolje je da se pridrzavate verzije 8.04 za debian nisam siguran ali mislim da je 5.0 stabilna.

Nesto veoma korisno za pocetnike a ujedno i olaksavajuäe je
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Webmin to vam je *** administracija za servere, preko koje mozete kompletno da kontrolisete server.

Ubuntu i Debian korisnici, moze preko apt-get da instaliraju webmin veoma lako. Standardno webmin paket nije ukljuäŤen u repository al moze da se doda.

PRVO PROäŚITAJ PAZLJIVO NEMOJ SAMO COPY&PASTE PA DA POGRIJES IS NES TO

Kao prvo da vam nebih non stop pisao kao prefix sudo kucajte u terminal
Code:
sudo -s
Trazice vam password root korisnika (Administratora).
sad ste root i pazite sta kucate.

Par VAZNE komande koje treba pazljivo da se koriste kad ste root u bash konzoli:

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
rm znaci remove, ovaj -R = recursive znaci da brise sve i nepita nista

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
Nastavljamo:
Potrebno je da dodamo liniju u listu izvora paketa:

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
sa ctrl+v spustite se na dnu stranice i dodajte ovu liniju coda:

# WEBMIN
deb
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
sarge contrib
linija # WEBMIN nije obavezna to je samo komentar da bih u buduäem znao sta sam to dodao.
Kad to uradite da bi spasili izmene kliknite ctrl+o i da izadjete iz nano ctrl+x

Pre nego sto osvezite repository morate da dodate kljuäŤ za paket webmin komandom WebGet

wget
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
kad zavrsi download treba da ucitate kljuc, kucaj te:

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
sad treba da osvezite repository sa apt-get
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
i konacno

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
kad zavrsi instalaciju da bi prekinuli sa sesijom root korisnika obavezno kucajte

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
sad ste obican korisnik, ako odkucate jos jednom
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
izlazite iz terminal-a

na ovakav nacin instaliranja ste sigurni da aptitude (apt-get) resava sve zavisne pakete Perl-a koji su potrebni da webmin regularno radi.

Webmin mozete pronaci na
Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
vazna stvar je da prihvatite SSL certifikat koji vam server ponudu, iako nije podpisan certifikar je regularan, jer ga je vas server generisao.

Have a fun.



THX @SYBER za prijevod
__________________

Last edited by WaRp63; 10-08-2010 at 18:53.
WaRp63 is offline   Reply With Quote
The Following 2 Users Say Thank You to WaRp63 For This Useful Post:
ili7107 (01-07-2011), ZoranBa (27-11-2012)
Old 22-09-2010, 23:54   #2
etc
 
etc's Avatar
 
MEMBER
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Users Flag!
Default Re: CCcam Server i Debian 5.0.1 distro

"sada prelazimo na onaj ''pravi'' linux mod ... samo pazljivo pratite instrukcije i nece biti problema ...

Ako ste primetili DEBIAN je putem DHCP-a dodelio sam sebi IP ... Za server je preporucljivo da ima staticku IP tj IP koja se nece menjati ... Pa zadajemo serveru static ip na sledeci nacin ...
logujete se kao ROOT na svoj server i kucate :"

instalirao sam debian na pc..prvi put radim sa linux. sta i kako trebam na desktop otvorit da mogu tipkat ove "commands" koje si napisao?


hvala
etc is offline   Reply With Quote
The Following User Says Thank You to etc For This Useful Post:
ZoranBa (27-11-2012)
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



 

Powered by vBulletin®™
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright ©2013 World-Satellite™
All Rights Reserved™