Talk:Install Server

From Free Geek Seattle

I'm going to post a really basic shell script here to replicate the setup I have on headwaiter (the install on which this article is based). I will also place the file in the Special:Files section so it will be wget-able. Later there will be a more refined, general-purpose script on our github.

install-server-setup.sh

!#/bin/bash

  1. run this as root, but READ IT FIRST.
  2. BEFORE you run this, edit the ./interface-changes.txt file.
  3. if you don't see that file, don't run this script, it won't work without that file present. But it WILL break things.

apt-get install isc-dhcp-server tftpd-hpa nfs-kernel-server

cp /etc/network/interfaces /etc/network/interfaces.old

cat ./interface-changes > /etc/network/interfaces