IP address instructions
authorAdam Chlipala <adamc@hcoop.net>
Sat, 27 Sep 2008 14:32:43 +0000 (14:32 +0000)
committerAdam Chlipala <adamc@hcoop.net>
Sat, 27 Sep 2008 14:32:43 +0000 (14:32 +0000)
ip.mlt

diff --git a/ip.mlt b/ip.mlt
index 3bb41ff..c928981 100644 (file)
--- a/ip.mlt
+++ b/ip.mlt
@@ -38,7 +38,21 @@ elseif $"cmd" = "open" then
        <br>
        <a href="ip?mod=<% #id req %>">[Modify]</a>
        <a href="ip?del=<% #id req %>">[Delete]</a><br>
-       To install, run: <i>tell adamc what text to put here</i>.
+       To install: <ol>
+          <li> Choose a new IP address <tt>69.90.123.<i>NNN</i></tt> from those available.</li>
+          <li> Add new entry to <tt>/etc/network/interfaces</tt> on mire, where <tt><i>N</i></tt> is some incremented number.
+<blockquote><pre>auto eth0:N
+iface eth0:N inet static
+        address 69.90.123.NNN
+        netmask 255.255.255.224
+        network 69.90.123.64
+</pre></blockquote></li>
+          <li> Edit <tt>/etc/apache2/ports.conf</tt> and add the following lines:
+<blockquote><pre>Listen 69.90.123.NNN:80
+Listen 69.90.123.NNN:443</pre></blockquote></li>
+           <li> Run <tt>ifup eth0:<i>N</i></tt>.
+          <li> Restart Apache with <tt>/etc/init.d/apache2 restart</tt>.</li>
+       </ol>
 <% end %>
 
 <%     end