asl:luglio2017
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| asl:luglio2017 [01/02/2018 10:23] – creata roberto.alfieri | asl:luglio2017 [05/02/2018 14:51] (versione attuale) – eliminata roberto.alfieri | ||
|---|---|---|---|
| Linea 1: | Linea 1: | ||
| - | ===== ASL - Luglio 2017 ===== | ||
| - | |||
| - | ==== 10 Luglio ==== | ||
| - | |||
| - | R. Alfieri: | ||
| - | * [[ http:// | ||
| - | * [[ http:// | ||
| - | * INFN Nazionale [[ http:// | ||
| - | * INFN Parma [[ http:// | ||
| - | |||
| - | == L' | ||
| - | |||
| - | Host disponibili: | ||
| - | |||
| - | |||
| - | Approfondmenti: | ||
| - | [[ http:// | ||
| - | [[ http:// | ||
| - | [[ http:// | ||
| - | [[ http:// | ||
| - | |||
| - | |||
| - | === LDAP === | ||
| - | |||
| - | http:// | ||
| - | - | ||
| - | [[ https:// | ||
| - | | ldap-profile ]] | ||
| - | |||
| - | |||
| - | Confgurazione LDAP: | ||
| - | < | ||
| - | ldap01.hpc.unipr.it | ||
| - | base: ou=infn, | ||
| - | base: ou=hpc, | ||
| - | |||
| - | </ | ||
| - | |||
| - | ==Configurazione infn103 come server WWW dell' | ||
| - | |||
| - | * Attivata l' | ||
| - | * Sincronizzati i dati dal server web attuale (www.fis.unipr.it): | ||
| - | <code bash> | ||
| - | rsync -av web.fis.unipr.it:/ | ||
| - | rsync -av web.fis.unipr.it:/ | ||
| - | rsync -av web.fis.unipr.it:/ | ||
| - | </ | ||
| - | |||
| - | Nuovo server: http:// | ||
| - | |||
| - | Abilitazione di userdir: | ||
| - | * modificato il file / | ||
| - | < | ||
| - | # | ||
| - | | ||
| - | |||
| - | < | ||
| - | AllowOverride FileInfo AuthConfig Limit Indexes | ||
| - | Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | ||
| - | Require method GET POST OPTIONS | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | AllowOverride FileInfo AuthConfig Limit Indexes | ||
| - | Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | ||
| - | Require method GET POST OPTIONS | ||
| - | </ | ||
| - | |||
| - | </ | ||
| - | |||
| - | ==== 11 Luglio ==== | ||
| - | |||
| - | === Configurazione infn101 come server SMTP dell' | ||
| - | |||
| - | Riferimenti: | ||
| - | |||
| - | Installati i seguenti pacchetti: | ||
| - | |||
| - | yum install sendmail sendmail-cf sendmail-doc cyrus-sasl-{lib, | ||
| - | |||
| - | Copiato i seguenti file di configurazione dal vecchio server posta.fis.unipr.it: | ||
| - | < | ||
| - | scp posta.fis.unipr.it:/ | ||
| - | scp posta.fis.unipr.it:/ | ||
| - | </ | ||
| - | |||
| - | |||
| - | Configurato il file / | ||
| - | < | ||
| - | |||
| - | echo " | ||
| - | echo "dnl DAEMON_OPTIONS(`Port=smtp, | ||
| - | </ | ||
| - | |||
| - | |||
| - | m4 sendmail.mc > sendmail.cf | ||
| - | |||
| - | systemctl restart sendmail.service | ||
| - | |||
| - | |||
| - | Modificato / | ||
| - | |||
| - | echo " | ||
| - | newaliases | ||
| - | |||
| - | === Configurazione DOVECOT === | ||
| - | |||
| - | Da fare | ||
| - | |||
| - | === Configurazione infn102 come server DNS dell' | ||
| - | |||
| - | Creazione server DNS su macchina infn102 con installazione bind | ||
| - | |||
| - | ./ | ||
| - | |||
| - | yum install bind | ||
| - | | ||
| - | modifica di / | ||
| - | < | ||
| - | |||
| - | cat << EOF >> / | ||
| - | | ||
| - | | ||
| - | zone " | ||
| - | EOF | ||
| - | </ | ||
| - | |||
| - | |||
| - | cd / | ||
| - | scp server:/ | ||
| - | scp server.fis.unipr.it:/ | ||
| - | scp server.fis.unipr.it:/ | ||
| - | |||
| - | |||
| - | dig @infn102 www.pr.infn.it | ||
| - | |||
| - | |||
| - | ==== 12 Luglio ==== | ||
| - | |||
| - | Visita al Data Center di Ateneo | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | === Samba === | ||
| - | |||
| - | Installazione Samba | ||
| - | |||
| - | < | ||
| - | yum install samba | ||
| - | yum install system-config-samba | ||
| - | yum install samba-common | ||
| - | </ | ||
| - | |||
| - | Configurazione Samba | ||
| - | < | ||
| - | [global] | ||
| - | workgroup = INFN | ||
| - | hosts allow = 127. 160.78. 192.135.11. | ||
| - | printing = cups | ||
| - | printcap name = cups | ||
| - | load printers = yes | ||
| - | cups options = raw | ||
| - | [homes] | ||
| - | comment = Home Directories | ||
| - | valid users = %S, %D%w%S | ||
| - | browseable = No | ||
| - | read only = No | ||
| - | inherit acls = Yes | ||
| - | |||
| - | [printers] | ||
| - | comment = All Printers | ||
| - | path = /var/tmp | ||
| - | printable = Yes | ||
| - | create mask = 0600 | ||
| - | browseable = No | ||
| - | | ||
| - | [print$] | ||
| - | comment = Printer Drivers | ||
| - | path = / | ||
| - | write list = root | ||
| - | create mask = 0664 | ||
| - | directory mask = 0775 | ||
| - | </ | ||
| - | |||
| - | creazione share pubblica | ||
| - | < | ||
| - | [global] | ||
| - | . | ||
| - | . | ||
| - | . | ||
| - | map to guest = Bad User | ||
| - | |||
| - | [Anonymous] | ||
| - | path = / | ||
| - | | ||
| - | | ||
| - | guest ok = yes | ||
| - | read only = no | ||
| - | </ | ||
| - | |||
| - | Creazione di una share con autenticazione | ||
| - | < | ||
| - | goupadd smbgrp | ||
| - | useradd < | ||
| - | smbpasswd -a < | ||
| - | mkdir -p secured | ||
| - | cd /samba | ||
| - | chmod -R 777 secured | ||
| - | </ | ||
| - | |||
| - | Configurazione per autenticazione | ||
| - | < | ||
| - | [secured] | ||
| - | path = / | ||
| - | # valid users = @smbgrp | ||
| - | valid users = @G_ASL , @smbgrp, roberto.alfieri | ||
| - | guest ok = no | ||
| - | | ||
| - | | ||
| - | </ | ||
| - | |||
| - | |||
| - | == Autenticazione SAMBA == | ||
| - | |||
| - | |||
| - | Da configurare smb-ldaptoools | ||
| - | |||
| - | Point-and-print per windows10 | ||
| - | |||
| - | ==== 13 Luglio ==== | ||
| - | |||
| - | |||
| - | === Configurazione DHCP su infn102 === | ||
| - | |||
| - | installazione DHCP | ||
| - | |||
| - | < | ||
| - | yum install dhcp | ||
| - | </ | ||
| - | |||
| - | configurazione DHCP | ||
| - | |||
| - | < | ||
| - | # | ||
| - | # DHCP Server Configuration file. | ||
| - | # see / | ||
| - | # see dhcpd.conf(5) man page | ||
| - | # | ||
| - | |||
| - | |||
| - | option domain-name | ||
| - | option domain-name-servers | ||
| - | option subnet-mask | ||
| - | option ntp-servers | ||
| - | not authoritative; | ||
| - | default-lease-time | ||
| - | max-lease-time | ||
| - | ignore | ||
| - | ddns-update-style | ||
| - | |||
| - | shared-network INFN | ||
| - | { | ||
| - | option ntp-servers | ||
| - | not authoritative; | ||
| - | default-lease-time | ||
| - | max-lease-time | ||
| - | ignore | ||
| - | ddns-update-style | ||
| - | |||
| - | shared-network INFN | ||
| - | { | ||
| - | subnet 192.135.11.0 netmask 255.255.255.128 | ||
| - | { | ||
| - | authoritative; | ||
| - | range 192.135.11.195 192.135.11.239; | ||
| - | option routers | ||
| - | option subnet-mask | ||
| - | |||
| - | } | ||
| - | | ||
| - | subnet 160.78.34.0 netmask 255.255.255.0 | ||
| - | { | ||
| - | authoritative; | ||
| - | range | ||
| - | option routers | ||
| - | } | ||
| - | |||
| - | |||
| - | | ||
| - | { | ||
| - | authoritative; | ||
| - | option routers | ||
| - | } | ||
| - | } | ||
| - | </ | ||
| - | |||
asl/luglio2017.1517477029.txt.gz · Ultima modifica: 01/02/2018 10:23 da roberto.alfieri
