Mudanças entre as edições de "Projeto Integrador - 2014.1 - NAT"
Ir para navegação
Ir para pesquisar
Linha 17: | Linha 17: | ||
==='''Descrição do Servidor'''=== | ==='''Descrição do Servidor'''=== | ||
− | * Configuração do '''Sistema Operacional''': <syntaxhighlight lang=bash> | + | * Configuração do '''Sistema Operacional''': |
+ | <syntaxhighlight lang=bash> | ||
cat /etc/issue | cat /etc/issue | ||
Ubuntu 12.04.4 LTS \n \l | Ubuntu 12.04.4 LTS \n \l | ||
</syntaxhighlight> | </syntaxhighlight> | ||
** Para verificar a configuração do Hardware: | ** Para verificar a configuração do Hardware: | ||
− | ***'''Memória''' (Total 2Gb): <syntaxhighlight lang=bash> | + | ***'''Memória''' (Total 2Gb): |
+ | <syntaxhighlight lang=bash> | ||
free | free | ||
total used free shared buffers cached | total used free shared buffers cached | ||
Linha 29: | Linha 31: | ||
Swap: 3048572 0 3048572 | Swap: 3048572 0 3048572 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ***'''Processador''': <syntaxhighlight lang=bash> | + | ***'''Processador''': |
+ | <syntaxhighlight lang=bash> | ||
cat /proc/cpuinfo | cat /proc/cpuinfo | ||
processor : 0 | processor : 0 | ||
Linha 41: | Linha 44: | ||
cache size : 512 KB | cache size : 512 KB | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ***'''HD''' (total: 320Gb): <syntaxhighlight lang=bash> | + | ***'''HD''' (total: 320Gb): |
+ | <syntaxhighlight lang=bash> | ||
df -h | df -h | ||
Sist. Arq. Tam. Usado Disp. Uso% Montado em | Sist. Arq. Tam. Usado Disp. Uso% Montado em | ||
Linha 54: | Linha 58: | ||
==='''Configurando do Servidor'''=== | ==='''Configurando do Servidor'''=== | ||
* Desabilitando '''Ctrl + Alt + Del'''. | * Desabilitando '''Ctrl + Alt + Del'''. | ||
− | **Foi editado o seguinte arquivo: <syntaxhighlight lang=bash> | + | **Foi editado o seguinte arquivo: |
+ | <syntaxhighlight lang=bash> | ||
vim /etc/init/control-alt-delete.conf | vim /etc/init/control-alt-delete.conf | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | **Foi comentado a linha abaixo: <syntaxhighlight lang=bash> | + | **Foi comentado a linha abaixo: |
+ | <syntaxhighlight lang=bash> | ||
exec shutdown -r now "Control-Alt-Delete pressed" | exec shutdown -r now "Control-Alt-Delete pressed" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* Atualizando o Sistema. | * Atualizando o Sistema. | ||
− | + | <syntaxhighlight lang=bash> | |
sudo apt-get update | sudo apt-get update | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | <syntaxhighlight lang=bash> | |
sudo apt-get upgrade | sudo apt-get upgrade | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* Instalando '''SSH'''. | * Instalando '''SSH'''. | ||
− | + | <syntaxhighlight lang=bash> | |
sudo apt-get install ssh | sudo apt-get install ssh | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* Configurando '''Usuarios'''.==10/06: Iniciando o Projeto Integrador (CAB (Terça-Feira)== | * Configurando '''Usuarios'''.==10/06: Iniciando o Projeto Integrador (CAB (Terça-Feira)== | ||
− | + | <syntaxhighlight lang=bash> | |
useradd gerson | useradd gerson | ||
useradd hyowatha | useradd hyowatha | ||
Linha 79: | Linha 85: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* Desabilitando ssh do '''ROOT''' editando o arquivo /etc/ssh/sshd_config. | * Desabilitando ssh do '''ROOT''' editando o arquivo /etc/ssh/sshd_config. | ||
− | + | <syntaxhighlight lang=bash> | |
## Na linha PermitRootLogin yes para ## | ## Na linha PermitRootLogin yes para ## | ||
PermitRootLogin no | PermitRootLogin no |
Edição das 20h19min de 13 de junho de 2014
Projeto Integrador - NAT - Network Adress Transmision
10/06: Iniciando o Projeto Integrador (CAB (Terça-Feira)
- Início do Projeto.
- Primeiro contato com os integrantes do Projeto Integrador.
- Os integrantes do grupo são: Jeferson, Gerson, Vinícius, Hyowatha.
- Primeiramente instalamos a fibra óptica FURUKAWA INDOOR/OUTDOOR TYPE OFNR
- Verificamos a integridade física da máquina fornecida pelo IFSC
11/06: Segundo dia do PI (IER (Quarta-Feira)
- Começamos a instalação do Ubuntu Server 12.04 LTS
- Iniciando a certificação do link principal com TestSet ACTERNA EDT-135
- Entre os roteadores CISCO 2514 (R1) e CISCO 1750 (R2)
Descrição do Servidor
- Configuração do Sistema Operacional:
cat /etc/issue
Ubuntu 12.04.4 LTS \n \l
- Para verificar a configuração do Hardware:
- Memória (Total 2Gb):
- Para verificar a configuração do Hardware:
free
total used free shared buffers cached
Mem: 2055312 251216 1804096 0 11556 200784
-/+ buffers/cache: 38876 2016436
Swap: 3048572 0 3048572
- Processador:
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Celeron(R) D CPU 3.06GHz
stepping : 5
microcode : 0x9
cpu MHz : 3059.161
cache size : 512 KB
- HD (total: 320Gb):
df -h
Sist. Arq. Tam. Usado Disp. Uso% Montado em
/dev/sda5 138G 2,7G 129G 3% /
udev 995M 4,0K 995M 1% /dev
tmpfs 402M 356K 402M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1004M 0 1004M 0% /run/shm
/dev/sda1 453M 30M 396M 8% /boot
/dev/sda6 155G 267M 147G 1% /var
Configurando do Servidor
- Desabilitando Ctrl + Alt + Del.
- Foi editado o seguinte arquivo:
vim /etc/init/control-alt-delete.conf
- Foi comentado a linha abaixo:
exec shutdown -r now "Control-Alt-Delete pressed"
- Atualizando o Sistema.
sudo apt-get update
sudo apt-get upgrade
- Instalando SSH.
sudo apt-get install ssh
- Configurando Usuarios.==10/06: Iniciando o Projeto Integrador (CAB (Terça-Feira)==
useradd gerson
useradd hyowatha
useradd jeferson
useradd vinicius
- Desabilitando ssh do ROOT editando o arquivo /etc/ssh/sshd_config.
## Na linha PermitRootLogin yes para ##
PermitRootLogin no
13/06: Configurando o Projeto Integrador (GER (Sexta-Feira)
- Configurado bind9
- Editado o arquivo de configuração /etc/bind/named.conf.local
vim named.conf.local
zone "nat.sj.ifsc.edu.br" {
type master;
file "/etc/bind/nat.zone";
// abaixo fica autorizado que IFSC copie o conteúdo da zona !!! secundario
allow-transfer { 200.135.37.65; };
};
// reverso
zone "0.0.178.in-addr.arpa" {
type master;
file "/etc/bind/db.178";
allow-transfer { 200.135.37.65; };
};
- Editado o arquivo de configuração /etc/bind/nat.local
$TTL 604800
@ IN SOA nat.sj.ifsc.edu.br. root.nat.sj.ifsc.edu.br. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN A 178.0.0.254
@ IN NS ns1.nat.sj.ifsc.edu.br.
@ IN A 127.0.0.1
@ IN AAAA ::1
ns IN A 178.0.0.254
www IN CNAME nat.sj.ifsc.edu.br.
nat.sj.ifsc.edu.br. IN MX 0 mx
nat.sj.ifsc.edu.br. IN MX 10 mx