Projeto Integrador - 2011.1 - Fenrir: mudanças entre as edições
Linha 128: | Linha 128: | ||
=== RoundClub === | === RoundClub === | ||
=== Apache === | === Apache === | ||
'''Arquivo default do apache salvo em /etc/apache2/sites-available e em /etc/apache2/sites-enabled''' | |||
<nowiki><VirtualHost *:80> | |||
ServerAdmin webmaster@localhost | |||
DocumentRoot /var/www | |||
<Directory /> | |||
Options FollowSymLinks | |||
AllowOverride None | |||
</Directory> | |||
<Directory /var/www/> | |||
Options Indexes FollowSymLinks MultiViews | |||
AllowOverride None | |||
Order allow,deny | |||
allow from all | |||
</Directory> | |||
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ | |||
<Directory "/usr/lib/cgi-bin"> | |||
AllowOverride None | |||
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | |||
Order allow,deny | |||
Allow from all | |||
</Directory> | |||
ErrorLog ${APACHE_LOG_DIR}/error.log | |||
# Possible values include: debug, info, notice, warn, error, crit, | |||
# alert, emerg. | |||
LogLevel warn | |||
CustomLog ${APACHE_LOG_DIR}/access.log combined | |||
Alias /doc/ "/usr/share/doc/" | |||
<Directory "/usr/share/doc/"> | |||
Options Indexes MultiViews FollowSymLinks | |||
AllowOverride None | |||
Order deny,allow | |||
Deny from all | |||
Allow from 127.0.0.0/255.0.0.0 ::1/128 | |||
</Directory> | |||
</VirtualHost> | |||
'''Ao criar uma página( | |||
== Programação para Redes de Computadores == | == Programação para Redes de Computadores == |
Edição das 19h50min de 11 de julho de 2011
1 Equipe Fenrir
- Beatriz da Silveira
- Luana Beatriz da Silva
- Marco Aurelio
- Sergio Araujo Stahelin
- William Jamir Silva
1.1 1º Dia - 13/06/2011
- Atividades
- Sistema Operacional:Ubuntu-Server
- Definido Sistema de Arquivo:
- Nome da Máquina: fenrir
- Nome do Domínio: fenrir.sj.ifsc.edu.br
1.2 2º Dia 14/06/2011
- Recebemos do Professor Saul as orientações necessarias para realizar a instalação do Cabeamento Estruturado
1.3 3º Dia 15/06/2011
- Equipe foi subdividida em:
- Sergio e Luana - IER
- Marco, Beatriz e WIlliam - Gerência de Redes
- Marco - Apache
- Beatriz - DNS
- William - Postfix
- Status das Atividades
- DNS
- Concluido a instalação Básica.
- Planejando a implentação de sub-dominios
- Postfix
- Concluido a instalação Básica.
- Planejando a implentação de sub-dominios nos endereços de e-mails
- Apache
- Concluido a instalação Básica.
- Planejando a implentação de sub-dominios nas paginas web
- DNS
2 Documentação
2.1 Gerência de Redes
2.1.1 DNS
arquivo /etc/bind/named.conf
/ This is the primary configuration file for the BIND DNS server named. // // Please read /usr/share/doc/bind9/README.Debian.gz for information on the // structure of BIND configuration files in Debian, *BEFORE* you customize // this configuration file. // // If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; include "/etc/bind/minastirith.fenrir.zone"; include "/etc/bind/luana.fenrir.zone"; include "/etc/bind/azaghal.fenrir.zone"; include "/etc/bind/marco.fenrir.zone"; include "/etc/bind/sextafeira.fenrir.zone"; include "/etc/bind/novoteste.fenrir.zone"; include "/etc/bind/hello.fenrir.zone";
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 "fenrir.sj.ifsc.edu.br" { type master; file "/etc/bind/fenrir.zone"; };
zone "37.135.200.in-addr.arpa" { type master; file"/etc/bind/37.135.200.in-addr.arpa"; };
arquivo /etc/bind/fenrir.zone
Neste arquivo estão as configurações do Fenrir
$TTL 60 @ IN SOA ns1.fenrir.sj.ifsc.edu.br. root ( 2011061600 ;serial 60 ;refresh 60 ;TTL 60 ; 60 ; ) IN NS ns1.fenrir.sj.ifsc.edu.br. IN MX 0 mail.fenrir.sj.ifsc.edu.br. IN A 200.135.37.99 batman IN NS batman.fenrir.sj.ifsc.edu.br. sheldon IN NS sheldon.fenrir.sj.ifsc.edu.br.
$ORIGIN fenrir.sj.ifsc.edu.br. A 200.135.37.99 ns1 A 200.135.37.99 www A 200.135.37.99 mail A 200.135.37.99 sheldon A 200.135.37.99 batman A 200.135.37.99
arquivo 37.135.200.in-addr.arpa
Neste arquivo se encontra as configurações do dns reverso para o dominio fenrir
$TTL 86400 @ IN SOA ns1.fenrir.sj.ifsc.edu.br. root ( 2011061600 60 60 60 60 )
IN NS ns1.fenrir.sj.ifsc.edu.br. IN MX 0 ns1.fenrir.sj.ifsc.edu.br. 99 PTR fenrir.sj.ifsc.edu.br.
2.1.2 Postfix
2.1.3 RoundClub
2.1.4 Apache
Arquivo default do apache salvo em /etc/apache2/sites-available e em /etc/apache2/sites-enabled
<nowiki><VirtualHost *:80> ServerAdmin webmaster@localhost
DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>
Ao criar uma página(
2.2 Programação para Redes de Computadores
2.3 Instalação de Equipamento de Redes
Diagrama da rede: