Author Topic: Installazione e Setup DNS su VPS con BIND9  (Read 1188 times)

brumbrum

  • Newbie
  • *
  • Posts: 11
    • View Profile
Installazione e Setup DNS su VPS con BIND9
« on: January 13, 2011, 04:58:57 pm »
Salve

a tutti. Apro questa discussione per un problema nell'installazione e configurazione dei DNS utilizzando BIND9 su VPS con Turnkey Linux installata. La procedura che ho seguito è la seguente:

http://linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9

Riguardo BIND purtroppo nel seguire la guida rimango bloccato al passaggio:

Code: [Select]
apt-get -y build-dep lsb-base
al quale ottengo come risposta:

Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list

Proseguendo con:

Code: [Select]
dpkg-i lsb-base*.deb
ottengo il seguente messaggio di errore:

Code: [Select]
dpkg: error processing lsb-base*.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
lsb-base*.deb

il contenuto del mio source.list è il seguente:

Code: [Select]
deb http://archive.turnkeylinux.org/ubuntu hardy main
deb http://archive.turnkeylinux.org/ubuntu hardy universe

deb http://archive.ubuntu.com/ubuntu hardy main
deb http://archive.ubuntu.com/ubuntu hardy universe
# deb http://archive.ubuntu.com/ubuntu hardy restricted
# deb http://archive.ubuntu.com/ubuntu hardy multiverse

deb http://archive.ubuntu.com/ubuntu hardy-updates main
deb http://archive.ubuntu.com/ubuntu hardy-updates universe
# deb http://archive.ubuntu.com/ubuntu hardy-updates restricted
# deb http://archive.ubuntu.com/ubuntu hardy-updates multiverse

# deb http://archive.ubuntu.com/ubuntu hardy-backports main
# deb http://archive.ubuntu.com/ubuntu hardy-backports universe
# deb http://archive.ubuntu.com/ubuntu hardy-backports restricted
# deb http://archive.ubuntu.com/ubuntu hardy-backports multiverse

ma anche togliendo il commento ai vari archivi e ripartendo da apt-get update e apt-get upgrade il risultato non cambia.
Come è possibile superare questo ostacolo?

Grazie

Whitenoise

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #1 on: January 13, 2011, 05:19:55 pm »
prova ad aggiungere le seguenti righe:
Code: [Select]
deb-src http://archive.turnkeylinux.org/ubuntu hardy main
deb-src http://archive.turnkeylinux.org/ubuntu hardy universe

deb-src http://archive.ubuntu.com/ubuntu hardy main
deb-src http://archive.ubuntu.com/ubuntu hardy universe

deb-src http://archive.ubuntu.com/ubuntu hardy-updates main
deb-src http://archive.ubuntu.com/ubuntu hardy-updates universe

brumbrum

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #2 on: January 27, 2011, 06:52:43 pm »
niente, non va anche modificando source.list come suggerito. In particolare l'errore cambia come da codice seguente:

Code: [Select]
root@vps-0075:/usr/local/lsb-base# apt-get -y build-dep lsb-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open file /var/lib/apt/lists/archive.turnkeylinux.org_ubuntu_dists_hardy_main_source_Sources - open (2 No such file or directory)

brumbrum

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #3 on: January 30, 2011, 01:35:23 pm »
Suggerimenti?

Whitenoise

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #4 on: January 30, 2011, 02:24:18 pm »
Che immagine utilizzi sulla VPS? Se ho 10 min provo a lanciare una vps di test.

brumbrum

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #5 on: January 30, 2011, 04:57:28 pm »
turnkey wordpress :-[

brumbrum

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #6 on: January 31, 2011, 07:40:02 pm »
Ho aperto una discussione sul forum di supporto di Turnkey:

http://www.turnkeylinux.org/forum/support/20110131/setting-dns-within-turnkey-wordpress-installation#comment-6982

A quanto pare non è consigliato installare BIND come indicato dalla guida riportata all'inizio di questo thread (ma alzo le mani, non sono un sistemista e non posso pronunciarmi).

Whitenoise

  • Administrator
  • Full Member
  • *****
  • Posts: 149
    • View Profile
Re: Installazione e Setup DNS su VPS con BIND9
« Reply #7 on: February 04, 2011, 12:00:10 pm »
Ho fatto un paio di test e con i seguenti repositori funziona tutto:

Code: [Select]
deb http://archive.turnkeylinux.org/ubuntu hardy main
deb http://archive.turnkeylinux.org/ubuntu hardy universe

deb http://archive.ubuntu.com/ubuntu hardy main
deb http://archive.ubuntu.com/ubuntu hardy universe
deb-src http://archive.ubuntu.com/ubuntu     hardy main
deb-src http://archive.ubuntu.com/ubuntu     hardy universe

# deb http://archive.ubuntu.com/ubuntu hardy restricted
# deb http://archive.ubuntu.com/ubuntu hardy multiverse

deb http://archive.ubuntu.com/ubuntu hardy-updates main
deb http://archive.ubuntu.com/ubuntu hardy-updates universe
# deb http://archive.ubuntu.com/ubuntu hardy-updates restricted
# deb http://archive.ubuntu.com/ubuntu hardy-updates multiverse

# deb http://archive.ubuntu.com/ubuntu hardy-backports main
# deb http://archive.ubuntu.com/ubuntu hardy-backports universe
# deb http://archive.ubuntu.com/ubuntu hardy-backports restricted
# deb http://archive.ubuntu.com/ubuntu hardy-backports multiverse


La procedura poi e' cosi':

Code: [Select]
apt-get update
apt-get install devscripts
apt-get install libtool bison
mkdir /usr/local/lsb-base/
cd /usr/local/lsb-base/
apt-get -y build-dep lsb-base
apt-get source lsb-base -b
mkdir /usr/local/lsb-base/
cd /usr/local/lsb-base/
apt-get -y build-dep lsb-base
apt-get source lsb-base -b
dpkg -i lsb-base*.deb
mkdir /usr/local/bind9
cd /usr/local/bind9
apt-get -y build-dep bind9
apt-get source bind9 -b
dpkg -i *.deb