Difference between revisions of "Diskless netboot"
(Created page with "Diskless server / workstation using netboot Requirements: * DHCP server * NetBoot server You must have a working NetBoot before starting this part. This will add...") |
(→Installation) |
||
Line 24: | Line 24: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apt-get install debootstrap | apt-get install debootstrap | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | |||
+ | =NFS configuration= | ||
+ | |||
+ | NFS is a technology that allow you to share some files / folders over the network. So: | ||
+ | * All the clients will share the installation, configuration files and so on. | ||
+ | * Each client will run a dedicated instance of the operating system | ||
+ | * Logs will be centralized on the common NFS server - so we don't loose data on each reboot. | ||
+ | |||
+ | |||
+ | The NFS configuration is done in the '''/etc/exports''' file | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | vim /etc/exports | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 13:49, 22 May 2014
Diskless server / workstation using netboot
Requirements:
You must have a working NetBoot before starting this part.
This will add NFS support and sharing.
Installation
NFS support
apt-get install nfs-kernel-server nfs-common
Debootstrap (manage netboot image)
apt-get install debootstrap
NFS configuration
NFS is a technology that allow you to share some files / folders over the network. So:
- All the clients will share the installation, configuration files and so on.
- Each client will run a dedicated instance of the operating system
- Logs will be centralized on the common NFS server - so we don't loose data on each reboot.
The NFS configuration is done in the /etc/exports file
vim /etc/exports