Mudanças entre as edições de "Bacula - Restauração de Backups/Restauração do Samba4"

De IFRS Campus Canoas
Ir para: navegação, pesquisa
Linha 1: Linha 1:
Fixar IP no arquivo /etc/network/interfaces
+
=Requisitos=
 
+
Fixe o endereço IP no arquivo /etc/network/interfaces
# The primary network interface
+
 
  allow-hotplug eth0
 
  allow-hotplug eth0
 
  iface eth0 inet static
 
  iface eth0 inet static
Linha 8: Linha 7:
 
  gateway GATEWAY
 
  gateway GATEWAY
  
Edite o arquivo /etc/hostname
+
Edite o nome do host no arquivo /etc/hostname  
 
  dominio
 
  dominio
  
Linha 19: Linha 18:
  
  
 
+
=Instalação de dependências=
 
  # apt-get install bind9
 
  # apt-get install bind9
 +
 
   
 
   
 
  # apt-get install acl attr autoconf bison build-essential \
 
  # apt-get install acl attr autoconf bison build-essential \
Linha 38: Linha 38:
  
 
Edite o arquivo /etc/resolv.conf
 
Edite o arquivo /etc/resolv.conf
 +
domain canoas.ifrs.edu.br
 +
search canoas.ifrs.edu.br
 +
nameserver IPSERVIDOR

Edição das 13h22min de 15 de outubro de 2015

Requisitos

Fixe o endereço IP no arquivo /etc/network/interfaces

allow-hotplug eth0
iface eth0 inet static
address IPSERVIDOR
netmask 255.255.255.0
gateway GATEWAY

Edite o nome do host no arquivo /etc/hostname

dominio

Edite o arquivo /etc/hosts

127.0.0.1       localhost
IPSERVIDOR     dominio.canoas.ifrs.edu.br      dominio
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


Instalação de dependências

# apt-get install bind9


# apt-get install acl attr autoconf bison build-essential \
 debhelper dnsutils docbook-xml docbook-xsl flex gdb krb5-user \
 libacl1-dev libaio-dev libattr1-dev libblkid-dev libbsd-dev \
 libcap-dev libcups2-dev libgnutls28-dev libjson-perl \
 libldap2-dev libncurses5-dev libpam0g-dev libparse-yapp-perl \
 libpopt-dev libreadline-dev perl perl-modules pkg-config \
 python-all-dev python-dev python-dnspython python-crypto \
 xsltproc zlib1g-dev
# ./configure  --enable-debug --enable-selftest
# make
# make quicktest
# make install

Edite o arquivo /etc/resolv.conf

domain canoas.ifrs.edu.br
search canoas.ifrs.edu.br
nameserver IPSERVIDOR