Mudanças entre as edições de "Discussão:Projeto Integrador - 2011.1 - JallesNet"

De MediaWiki do Campus São José
Ir para navegação Ir para pesquisar
Linha 67: Linha 67:
 
auto eth0
 
auto eth0
 
iface eth0 inet static
 
iface eth0 inet static
address 200.135.37.104
+
address 200.135.37.103
 
netmask 255.255.255.192
 
netmask 255.255.255.192
 
gateway 200.135.37.126
 
gateway 200.135.37.126
Linha 73: Linha 73:
 
auto eth1
 
auto eth1
 
iface eth1 inet static
 
iface eth1 inet static
address 172.18.0.104
+
address 172.18.0.103
 
netmask 255.255.255.0
 
netmask 255.255.255.0
 
</syntaxhighlight>
 
</syntaxhighlight>

Edição das 19h09min de 16 de junho de 2011

Equipe JallesNet

  • Clailton Francisco
  • Dimas Duarte
  • Everton Cardoso
  • Felipe Machado
  • Gabriel Silveira
  • Jalles Vides

1º Dia - 13/06/2011

  • Atividades Realizadas:
    • Instalação do Ubuntu Server
    • Estabelecimento de um IP temporário
    • Instalação e configuração do OpenSSH Server
    • Criação de Shell Script para manter um log atualizado no server

  1. !/bin/bash

IFS=";"

PS3="Entre com uma opção: " menu="Nova Entrada;Sair"

select opcao in $menu; do echo "Você escolheu: $opcao" case $REPLY in 1) echo "Qual o seu nome?" read nome echo "Digite a nova entrada:" read entrada data=`date` echo "$data - $nome -> $entrada" >> /home/grupo5/controle/arquivoDeLog.txt ;; 2) break ;; *) echo "Opção desconhecida." ;; esac done

unset IFS

</syntaxhighlight>

2º Dia - 14/06/2011

  • Apenas recebemos instruções sobre a parte de Cabeamento Estruturado do Prof. Saul.

3º Dia - 15/06/2011

  • A equipe foi dividida em 2. Uma parte seguiu com o Prof. Sobral para a configuração dos Modems e a outra com o Prof. Odilson para continuar a parte de Gerenciamento de Redes.
  • Atividades realizadas pela equipe de Gerenciamento:
  • Edição do arquivo /etc/network/interfaces: Configuração das interfaces de rede:

  1. This file describes the network interfaces available on your system
  2. and how to activate them. For more information, see interfaces(5).
  1. The loopback network interface

auto lo iface lo inet loopback

  1. The primary network interface

auto eth0 iface eth0 inet static address 200.135.37.103 netmask 255.255.255.192 gateway 200.135.37.126

auto eth1 iface eth1 inet static address 172.18.0.103 netmask 255.255.255.0 </syntaxhighlight>

  • Servidor DNS colocado no ar, arquivo /etc/bind/named.conf.local:

// // Do any local configuration here //

// Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918";

zone "jallesnet.sj.ifsc.edu.br" IN { type master; file "/etc/bind/jallesnet.zone"; };

//DNS reverso zone "37.135.200.in-addr.arpa" { type master; file "/etc/bind/db37.135.200.in-addr.arpa"; }; </syntaxhighlight>

  • Edição do arquivo /etc/bind/jallesnet.zone:

$TTL 86400

@ IN SOA g5.jallesnet.sj.ifsc.edu.br. root ( 2011061500 ; serial 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS g5.jallesnet.sj.ifsc.edu.br. IN MX 0 g5.jallesnet.sj.ifsc.edu.br.

localhost IN A 127.0.0.1 $ORIGIN jallesnet.sj.ifsc.edu.br. g5 A 200.135.37.104 www A 200.135.37.104 </syntaxhighlight>

  • Edição do arquivo /etc/bind/db37.135.200.in-addr.arpa:

$TTL 86400

@ IN SOA g5.jallesnet.sj.ifsc.edu.br. root ( 2011061500 ; serial 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS g5.jallesnet.sj.ifsc.edu.br. IN MX 0 g5.jallesnet.sj.ifsc.edu.br.

104 PTR jallesnet.sj.ifsc.edu.br. </syntaxhighlight>

  • Foi criada a pasta /etc/bind/clientes para serem adicionados os arquivos de zonas provenientes dos clientes da rede.
  • Instalação e configuração do servidor Apache.


  • Atividades realizadas pela equipe de Instalação de Equipamentos:
  • Configuração do roteador Cisco 1700 da seguinte forma:

enable; configure terminal;

  1. Para configurar a interface serial:

interface serial 0; ip address 10.0.0.1/30; encapsulation ppp; exit;

  1. Para configurar a interface ethernet:

interface fastethernet 0; ip address 172.18.0.1/24; exit; exit;

  1. Para salvar as configurações:

wr; </syntaxhighlight>