<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
	<id>http://seidl.cs.vsb.cz/wiki2/index.php?action=history&amp;feed=atom&amp;title=SUS%28en%29</id>
	<title>SUS(en) - Historie editací</title>
	<link rel="self" type="application/atom+xml" href="http://seidl.cs.vsb.cz/wiki2/index.php?action=history&amp;feed=atom&amp;title=SUS%28en%29"/>
	<link rel="alternate" type="text/html" href="http://seidl.cs.vsb.cz/wiki2/index.php?title=SUS(en)&amp;action=history"/>
	<updated>2026-05-28T12:44:34Z</updated>
	<subtitle>Historie editací této stránky</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://seidl.cs.vsb.cz/wiki2/index.php?title=SUS(en)&amp;diff=16&amp;oldid=prev</id>
		<title>Sei01: Založena nová stránka s textem „The main task of the student will be to configure a server based on the Linux / Debian operating system. The configuration will include ISC-DHCP server, tf…“</title>
		<link rel="alternate" type="text/html" href="http://seidl.cs.vsb.cz/wiki2/index.php?title=SUS(en)&amp;diff=16&amp;oldid=prev"/>
		<updated>2020-02-10T16:25:49Z</updated>

		<summary type="html">&lt;p&gt;Založena nová stránka s textem „The main task of the student will be to configure a server based on the Linux / Debian operating system. The configuration will include ISC-DHCP server, tf…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The main task of the student will be to configure a server based on the Linux / Debian operating system. The configuration will include ISC-DHCP server, tftp server, nfs server and netboot.&lt;br /&gt;
&lt;br /&gt;
=Instalation Debian to Virtualbox=&lt;br /&gt;
 * www.virtualbox.org&lt;br /&gt;
 * www.debian.org&lt;br /&gt;
&lt;br /&gt;
Please install Virtualbox on your PC or run Virtualbox on PC in class. Download instalation CD from Debian website (netinst version) and install minimalist version of Debian on new Virtual PC. (Do not install XWinsows and so on, plese during instalation process install only SSH server)&lt;br /&gt;
&lt;br /&gt;
Configure your virtual PC. Set two ethernet interfaces, first connect to NAT network, second connect to Host only network. In host only network &amp;#039;&amp;#039;&amp;#039;disable&amp;#039;&amp;#039;&amp;#039; internat DHCP server.&lt;br /&gt;
&lt;br /&gt;
=Instalation ISC DHCP server=&lt;br /&gt;
 * https://www.isc.org/dhcp-manual-pages/&lt;br /&gt;
&lt;br /&gt;
On interface connected to Host only network configure static IP address.&lt;br /&gt;
Install ISC DHCP server on your Debian and enable DHCP server on interface connected to Host only network.&lt;br /&gt;
Test your configuration on second virtual PC. (Connect second virtual PC only to Host only network, and test if this PC get IP address from your DHCP server)&lt;br /&gt;
&lt;br /&gt;
Example od dhcp config:&lt;br /&gt;
 subnet 192.168.57.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.57.100 192.168.57.200;&lt;br /&gt;
  option broadcast-address 192.168.57.255;&lt;br /&gt;
  option routers 192.168.57.2;&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;next-server 192.168.57.2;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;filename &amp;quot;pxelinux.0&amp;quot;;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
=Instalation NFS server=&lt;br /&gt;
 * http://nfs.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
Install nfs-kernel-server to your virtual PC, and export /home directory. Test your configuration on second virtual PC.&lt;br /&gt;
&lt;br /&gt;
=Instalation TFTP-HPA server=&lt;br /&gt;
 * http://chschneider.eu/linux/server/tftpd-hpa.shtml&lt;br /&gt;
&lt;br /&gt;
Install tftp-hpa-server to your virtual PC. Test your configuration on second virtual PC.&lt;br /&gt;
&lt;br /&gt;
=Instalation netboot=&lt;br /&gt;
 * https://www.debian.org/releases/stable/amd64/index.html.en&lt;br /&gt;
&lt;br /&gt;
Configure your server to enable netboot instaling of Debian. Enable netboot in DHCP server and test your configuration on second virtual PC.&lt;br /&gt;
&lt;br /&gt;
Debian netboot instaler&lt;br /&gt;
 http://ftp.cz.debian.org/debian/dists/Debian9.4/main/installer-i386/current/images/netboot/netboot.tar.gz&lt;br /&gt;
 http://ftp.cz.debian.org/debian/dists/Debian9.4/main/installer-amd64/current/images/netboot/netboot.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 for unzip use: gzip -d  netboot.tar.gz; tar -xf netboot.tar&lt;br /&gt;
&lt;br /&gt;
=Configure netboot to booting Debain from network=&lt;br /&gt;
Edit configuration of pxelinux and create new boot menu.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
File structure in tftp root directory&lt;br /&gt;
 Debian&lt;br /&gt;
 ldlinux.c32&lt;br /&gt;
 libcom32.c32&lt;br /&gt;
 libutil.c32&lt;br /&gt;
 pxelinux.cfg&lt;br /&gt;
 pxelinux.0&lt;br /&gt;
 vesamenu.c32&lt;br /&gt;
&lt;br /&gt;
Example of boot menu configuration&lt;br /&gt;
 DEFAULT vesamenu.c32&lt;br /&gt;
 PROMPT 0&lt;br /&gt;
  &lt;br /&gt;
 MENU TITLE  Boot Menu&lt;br /&gt;
 &lt;br /&gt;
 LABEL Debian - NetBoot&lt;br /&gt;
 KERNEL /Debian/vmlinuz-3.16.0-4-686-pae&lt;br /&gt;
 APPEND initrd=/Debian/initrd.img-3.16.0-4-686-pae root=/dev/nfs nfsroot=192.168.57.2:/tftpboot/Debian/root ip=dhcp rw&lt;br /&gt;
&lt;br /&gt;
Create root file system for netboot PC and export using NFS.&amp;lt;br&amp;gt;&lt;br /&gt;
Description: &lt;br /&gt;
* -&amp;gt; cp [copy directory from server root]&lt;br /&gt;
* -&amp;gt; without cp [only create directory] &lt;br /&gt;
 bin -&amp;gt; cp&lt;br /&gt;
 boot -&amp;gt; cp&lt;br /&gt;
 dev&lt;br /&gt;
 etc -&amp;gt; cp&lt;br /&gt;
 home&lt;br /&gt;
 lib -&amp;gt; cp&lt;br /&gt;
 lib64 -&amp;gt; cp&lt;br /&gt;
 media&lt;br /&gt;
 mnt&lt;br /&gt;
 opt -&amp;gt; cp&lt;br /&gt;
 proc&lt;br /&gt;
 root -&amp;gt; cp&lt;br /&gt;
 run&lt;br /&gt;
 sbin -&amp;gt; cp&lt;br /&gt;
 srv -&amp;gt; cp&lt;br /&gt;
 sys&lt;br /&gt;
 tmp&lt;br /&gt;
 usr -&amp;gt; cp&lt;br /&gt;
 var -&amp;gt; cp&lt;/div&gt;</summary>
		<author><name>Sei01</name></author>
		
	</entry>
</feed>