Instalacia Debian v Azboxe
Napsal: 19 črc 2009, 08:46
Howto : Installing Debian lenny on Azbox
Tato instalacia vyzaduje HDD- bud v premium ako interny ,alebo v elite ako externy. Tu popisovana instalacia je pre interny v premium (preto /hdb1) pre USB to bude /DATA/usb1(alebo usb2)/particia na usb/
Takisto adresa na conect k prijimacu bude pravdepodobne odlisna, ako je tu popisovana (ja mam box na 192.168.1.254)
Connect to you azbox with telnet.
go to your usb/hdd onto the azbox.
in my case
create a debian folder
then go in this directory
then you have to get the debian file.
you can download it
now unpack the package
now we have to install the package.
Installing the package is very slow (40 minutes approx)
you can exit the debian interface with the exit command
you can enter it with
first you have to setup your network access
we gonna use the program via to edit the file
press 'i' for editing
insert your routers ip
to save press escape then type
test internet connection with
then update your distribution
if you get an error with
note down the pubkey
then use this commands
you have to replace the pubkey with your own key!
keep on repeating this command until you get no more errors then use
for testing purpose you can test CCcam.
download CCcam to your hard drive
unpack it and then put CCcam.mipsel to your /tmp folder
in my case
then chmod the file
chmod 755 CCcam.mipsel
for the CCcam.cfg you have to create the directory /var/etc
go to debian /var/ directory.
then create the directory.
then you can ftp the CCcam.cfg to this dir.
now for a test
to start CCcam
you can check if its running on
http://azboxhdip:16001
to access debian thru a webinterface.
install webmin 1.48
first install necessary software
then download the webmin package
go to /tmp folder
download the package
installeert downloaded packet
then you can access it thru the browser
Tato instalacia vyzaduje HDD- bud v premium ako interny ,alebo v elite ako externy. Tu popisovana instalacia je pre interny v premium (preto /hdb1) pre USB to bude /DATA/usb1(alebo usb2)/particia na usb/
Takisto adresa na conect k prijimacu bude pravdepodobne odlisna, ako je tu popisovana (ja mam box na 192.168.1.254)
Connect to you azbox with telnet.
go to your usb/hdd onto the azbox.
in my case
Kód: Vybrat vše
cd /DATA/hdb1Kód: Vybrat vše
mkdir debianKód: Vybrat vše
cd /debianyou can download it
Kód: Vybrat vše
wget http://nmt.explore.nl/nmt-debian-etch.tar.gzKód: Vybrat vše
tar xzf nmt-debian-etch.tar.gzKód: Vybrat vše
chroot debian /bin/bash
export PATH=$PATH:/usr/bin:/usr/sbin
debootstrap/debootstrap --second-stageyou can exit the debian interface with the exit command
Kód: Vybrat vše
exitKód: Vybrat vše
chroot debian /bin/bashwe gonna use the program via to edit the file
Kód: Vybrat vše
vi /etc/resolv.confinsert your routers ip
Kód: Vybrat vše
search wan
nameserver 192.168.1.254Kód: Vybrat vše
:wq!Kód: Vybrat vše
ping www.google.comKód: Vybrat vše
apt-get update
apt-get dist-upgradeKód: Vybrat vše
apt-get updateKód: Vybrat vše
NO_PUBKEY 9AA38DCD5502Byou have to replace the pubkey with your own key!
Kód: Vybrat vše
apt-get install debian-archive-keyring
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | apt-key add -
apt-get update
Kód: Vybrat vše
apt-get dist-upgradedownload CCcam to your hard drive
unpack it and then put CCcam.mipsel to your /tmp folder
in my case
Kód: Vybrat vše
/DATA/hdb1/debian/debian/tmpchmod 755 CCcam.mipsel
for the CCcam.cfg you have to create the directory /var/etc
go to debian /var/ directory.
Kód: Vybrat vše
cd /varKód: Vybrat vše
mkdir etcKód: Vybrat vše
/DATA/hdb1/debian/debian/etcKód: Vybrat vše
cd /tmpKód: Vybrat vše
./CCcam.mipsel -dvhttp://azboxhdip:16001
to access debian thru a webinterface.
install webmin 1.48
first install necessary software
Kód: Vybrat vše
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perlgo to /tmp folder
Kód: Vybrat vše
cd /tmpKód: Vybrat vše
wget http://downloads.sourceforge.net/sourceforge/webadmin/webmin_1.480_all.debKód: Vybrat vše
dpkg --install webmin_1.480_all.debKód: Vybrat vše
https://AZBOXHDIP:10000