Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
wiki:services:pxe [2017/03/26 00:45] manwefm |
wiki:services:pxe [2017/03/26 17:41] manwefm |
||
---|---|---|---|
Ligne 55: | Ligne 55: | ||
Le dhcp fournit également quelques | Le dhcp fournit également quelques | ||
- | [[http:// | + | [[http:// |
[[https:// | [[https:// | ||
Ligne 90: | Ligne 90: | ||
</ | </ | ||
- | TFTP (tftpd-hpa) | + | * TFTP (tftpd-hpa) |
+ | Le bootloader est téléchargé en tftp, tout le reste se fait en http. | ||
< | < | ||
/ | / | ||
- | TFTP_USERNAME=" | ||
- | RUN_DAEMON=" | ||
- | TFTP_DIRECTORY="/ | ||
- | TFTP_ADDRESS=" | ||
- | TFTP_OPTIONS=" | ||
- | |||
</ | </ | ||
- | HTTP (lighttpd) | + | * HTTP (lighttpd) |
- | < | + | On utilise |
- | / | + | |
- | server.modules = ( | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | # " | + | |
- | ) | + | |
- | server.document-root = "/ | + | * NFS (nfs-kernel-server) |
- | server.upload-dirs | + | On utilise un système de fichier NFS pour les live et debian-minet via le fichier [[https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-nfs-server-config-exports.html|/etc/exportfs]] qui contrôle les systèmes de fichiers pouvant être exporté et avec quels droit. Exemple : |
- | server.errorlog | + | |
- | server.pid-file = "/var/run/ | + | |
- | server.username | + | |
- | server.groupname | + | |
- | server.port | + | |
- | + | ||
- | + | ||
- | index-file.names | + | |
- | url.access-deny = ( " | + | |
- | static-file.exclude-extensions = ( " | + | |
- | + | ||
- | compress.cache-dir | + | |
- | compress.filetype | + | |
- | + | ||
- | # default listening port for IPv6 falls back to the IPv4 port | + | |
- | include_shell "/usr/ | + | |
- | include_shell "/ | + | |
- | include_shell "/usr/share/ | + | |
- | </ | + | |
- | + | ||
- | NFS (nfs-kernel-server) | + | |
< | < | ||
- | / | ||
- | |||
/ | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | |||
/ | / | ||
</ | </ | ||
+ | Les live ubuntu sont monté en read-only (ro), l' | ||
- | SAMBA (samba) | + | Debian minet est monté en read-write. |
- | < | + | |
- | / | + | |
- | [global] | + | * SAMBA (samba) |
- | workgroup = PXESERVER | + | La conf se fait dans /etc/samba/smb.conf et a été trouvée [[http:// |
- | server string = Samba Server Version %v | + | |
- | log file = /var/log/samba/log.%m | + | |
- | max log size = 50 | + | |
- | idmap config * : backend = tdb | + | |
- | cups options = raw | + | |
- | netbios name = pxe | + | |
- | map to guest = bad user | + | |
- | dns proxy = no | + | |
- | public = yes | + | |
- | ## For multiple installations the same time - not lock kernel | + | |
- | kernel oplocks = no | + | |
- | nt acl support = no | + | |
- | security = user | + | |
- | guest account = nobody | + | |
- | [windows_install] | + | |
- | comment = Windows Image | + | |
- | path = / | + | |
- | read only = no | + | |
- | browseable = yes | + | |
- | public = yes | + | |
- | printable = no | + | |
- | guest ok = yes | + | |
- | oplocks = no | + | |
- | level2 oplocks = no | + | |
- | locking = no | + | |
- | |||
- | </ | ||
=== Comment ca marche ? === | === Comment ca marche ? === |