This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
virtualisation:file-server [2018/03/01 08:28] buettner |
virtualisation:file-server [2018/03/15 15:27] buettner |
||
---|---|---|---|
Line 9: | Line 9: | ||
==== 1) Preparations ==== | ==== 1) Preparations ==== | ||
- | The first step you should take is to give your router a static IP adress. For this, use | ||
- | <code> | ||
- | nano /etc/network/interfaces | ||
- | </code> | ||
- | and set up a static IP configuration for your primary interface. In this example, the configuration for the eth0 interface looks like this: | ||
- | <konsole> | ||
- | auto eth0 | ||
- | iface eth0 inet static | ||
- | address 192.168.1.50 | ||
- | netmask 255.255.255.0 | ||
- | network 192.168.1.0 | ||
- | broadcast 192.168.1.255 | ||
- | gateway 192.168.1.105 | ||
- | dns-nameservers 192.168.1.105 | ||
- | </konsole> | ||
- | After that, use | + | The first step you should take is to use |
<code> | <code> | ||
apt-get update | apt-get update |