Instalacia Debian v Azboxe

Užitečné programy

Moderátoři: gorick, schmegea, monkus

Odpovědět
Uživatelský avatar
grantec
Administrátor
Administrátor
Příspěvky: 5634
Registrován: 14 led 2009, 21:26
Bydliště: Slovensko
Dostal poděkování: 2 poděkování
Kontaktovat uživatele:

Instalacia Debian v Azboxe

Příspěvek od grantec »

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

Kód: Vybrat vše

cd /DATA/hdb1
create a debian folder

Kód: Vybrat vše

mkdir debian
then go in this directory

Kód: Vybrat vše

cd /debian
then you have to get the debian file.

you can download it

Kód: Vybrat vše

wget http://nmt.explore.nl/nmt-debian-etch.tar.gz
now unpack the package

Kód: Vybrat vše

tar xzf nmt-debian-etch.tar.gz
now we have to install the package.

Kód: Vybrat vše

chroot debian /bin/bash
export PATH=$PATH:/usr/bin:/usr/sbin
debootstrap/debootstrap --second-stage
Installing the package is very slow (40 minutes approx)

you can exit the debian interface with the exit command

Kód: Vybrat vše

exit
you can enter it with

Kód: Vybrat vše

chroot debian /bin/bash
first you have to setup your network access
we gonna use the program via to edit the file

Kód: Vybrat vše

vi /etc/resolv.conf
press 'i' for editing
insert your routers ip

Kód: Vybrat vše

search wan
nameserver 192.168.1.254
to save press escape then type

Kód: Vybrat vše

:wq!
test internet connection with

Kód: Vybrat vše

ping www.google.com
then update your distribution

Kód: Vybrat vše

apt-get update
apt-get dist-upgrade
if you get an error with

Kód: Vybrat vše

apt-get update
note down the pubkey

Kód: Vybrat vše

NO_PUBKEY 9AA38DCD5502B
then use this commands
you 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
keep on repeating this command until you get no more errors then use

Kód: Vybrat vše

apt-get dist-upgrade
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

Kód: Vybrat vše

/DATA/hdb1/debian/debian/tmp
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.

Kód: Vybrat vše

cd /var
then create the directory.

Kód: Vybrat vše

mkdir etc
then you can ftp the CCcam.cfg to this dir.

Kód: Vybrat vše

/DATA/hdb1/debian/debian/etc
now for a test

Kód: Vybrat vše

cd /tmp
to start CCcam

Kód: Vybrat vše

./CCcam.mipsel -dv
you can check if its running on

http://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-perl
then download the webmin package

go to /tmp folder

Kód: Vybrat vše

cd /tmp
download the package

Kód: Vybrat vše

wget http://downloads.sourceforge.net/sourceforge/webadmin/webmin_1.480_all.deb
installeert downloaded packet

Kód: Vybrat vše

dpkg --install webmin_1.480_all.deb
then you can access it thru the browser

Kód: Vybrat vše

https://AZBOXHDIP:10000


Zapol som si surflock ! Max 1sz za 24 hod ! A0 00
Odpovědět

Zpět na „Utility AzBox HD“