<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bwt.com.de/index.php?action=history&amp;feed=atom&amp;title=Installing_A_Server</id>
	<title>Installing A Server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bwt.com.de/index.php?action=history&amp;feed=atom&amp;title=Installing_A_Server"/>
	<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Installing_A_Server&amp;action=history"/>
	<updated>2026-04-04T01:46:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.bwt.com.de/index.php?title=Installing_A_Server&amp;diff=49&amp;oldid=prev</id>
		<title>BrainwreckedTech: /* Networking */   Removed Network Interfaces Switching Names -- Network names are now en[x]p[y] in GNU/Linux.  Changed reference from netcfg to netctl for Arch.</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Installing_A_Server&amp;diff=49&amp;oldid=prev"/>
		<updated>2014-01-07T08:51:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Networking: &lt;/span&gt;   Removed Network Interfaces Switching Names -- Network names are now en[x]p[y] in GNU/Linux.  Changed reference from netcfg to netctl for Arch.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:51, 7 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Networking===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Networking===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;====Network Interfaces Switching Names====&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You can use a file in &amp;lt;tt&amp;gt;/etc/udev/rules.d&amp;lt;/tt&amp;gt; to keep the interface names the same between boots. Debian-based distros create this  file (&amp;lt;tt&amp;gt;70-persistent-net.rules&amp;lt;/tt&amp;gt;) during install.  Other distros (like Arch Linux) do not.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; SUBSYSTEM==&quot;net&quot;, ATTR{address}==&quot;01:23:45:67:89:ab&quot;, NAME=&quot;lan0&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; SUBSYSTEM==&quot;net&quot;, ATTR{address}==&quot;fe:dc:ba:98:76:54&quot;, NAME=&quot;lan1&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Starting Multiple Network Interfaces At Boot====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Starting Multiple Network Interfaces At Boot====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot;&gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    post-up [command]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    post-up [command]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Arch &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;does not &lt;/del&gt;use &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;an equivalent of Debian&#039;s system.  By default, Arch will start dhcpcd which will try to assign all NICs with an IP address via DHCP.  If this is all you need, no further configuration is required.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For &lt;/ins&gt;Arch&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;use &amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;netctl&lt;/ins&gt;&amp;lt;/tt&amp;gt; to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;configure mutliple devices and &lt;/ins&gt;bring &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;them &lt;/ins&gt;up &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;during &lt;/ins&gt;boot.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you wish to bring up a single NIC with custom settings, the &amp;lt;tt&amp;gt;interface&amp;lt;/tt&amp;gt; directive in the &amp;lt;tt&amp;gt;NETWORKING&lt;/del&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/del&gt;tt&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;section of &amp;lt;tt&amp;gt;/etc/rc.conf&lt;/del&gt;&amp;lt;/tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; # -----------------------------------------------------------------------&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; # NETWORKING&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; # -----------------------------------------------------------------------&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ...&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; HOSTNAME=&quot;[hostname]&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ...&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; interface=eth0&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; address=192.168.1.2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; netmask=255.255.255.0&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; gateway=192.168.1.1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; broadcast=192.168.1.255&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ...&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; #NETWORKS=(main)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you wish &lt;/del&gt;to bring up &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;multiple interfaces which will be connected at &lt;/del&gt;boot &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;time, use &amp;lt;tt&amp;gt;netcfg&amp;lt;/tt&amp;gt; instead&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====MTU====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====MTU====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key MW_BWT:diff:1.41:old-9:rev-49:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>BrainwreckedTech</name></author>
	</entry>
	<entry>
		<id>https://wiki.bwt.com.de/index.php?title=Installing_A_Server&amp;diff=9&amp;oldid=prev</id>
		<title>BrainwreckedTech: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Installing_A_Server&amp;diff=9&amp;oldid=prev"/>
		<updated>2014-01-06T01:52:15Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The purpose of this article is to give an overview of not only the steps required to get a Linux server up an running, but some of the caveats you should consider before embarking on such an endeavor.  This article tries to remain as distribution-agnostic as possible, though at this time it&amp;#039;s really only written from the perspectives of Ubuntu and Arch Linux.&lt;br /&gt;
&lt;br /&gt;
Before proceeding, it&amp;#039;s recommended you read [[Installing A Server/Considerations|Considerations]].  This can save you some time and help you make informed choices before you make the plunge into operating a Linux server.&lt;br /&gt;
&lt;br /&gt;
=Common Tasks=&lt;br /&gt;
&lt;br /&gt;
==Install A Minimum Server==&lt;br /&gt;
&lt;br /&gt;
Linux distros have different ways of accomplishing this, but what&amp;#039;s needed for a Linux server is a bare-bones installation.&lt;br /&gt;
&lt;br /&gt;
===Arch Linux===&lt;br /&gt;
&lt;br /&gt;
By default, Arch Linux already installs a minimal system.&lt;br /&gt;
&lt;br /&gt;
===Ubuntu===&lt;br /&gt;
&lt;br /&gt;
When at the Ubuntu installer screen,&lt;br /&gt;
&lt;br /&gt;
# highlight &amp;lt;tt&amp;gt;Install Ubuntu in text mode&amp;lt;/tt&amp;gt;&lt;br /&gt;
# press &amp;lt;tt&amp;gt;[F6]&amp;lt;/tt&amp;gt; for &amp;lt;tt&amp;gt;Other Options&amp;lt;/tt&amp;gt;&lt;br /&gt;
# press &amp;lt;tt&amp;gt;[ESC]&amp;lt;/tt&amp;gt; to back out.&lt;br /&gt;
# Change &amp;lt;tt&amp;gt;ubuntu.seed&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;ubuntu-server-minimal.seed&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;Boot Options&amp;lt;/tt&amp;gt; line.&lt;br /&gt;
&lt;br /&gt;
==Partition The Hard Drive==&lt;br /&gt;
&lt;br /&gt;
See [[Drive Partitioning]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Post-Installation Configuration==&lt;br /&gt;
&lt;br /&gt;
===Update Mirrors===&lt;br /&gt;
&lt;br /&gt;
====Arch====&lt;br /&gt;
&lt;br /&gt;
By installing the &amp;lt;tt&amp;gt;reflector&amp;lt;/tt&amp;gt; package, you can always get the best mirrors at the current point in time.&lt;br /&gt;
&lt;br /&gt;
 reflector -l 5 -c [country] --sort rate --save /etc/pacman.d/mirrorlist&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;tt&amp;gt;[country]&amp;lt;/tt&amp;gt; is the full proper-case name, not a two- or three-letter abbreviation.  To specify a country with spaces, use the back slash like this: &amp;lt;tt&amp;gt;United\ States&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
&lt;br /&gt;
The only automatic selection of mirrors comes from the GUI &amp;lt;tt&amp;gt;synaptic&amp;lt;/tt&amp;gt; program.  Otherwise you will have to select a mirror by hand from [https://launchpad.net/ubuntu/+archivemirrors Launchpad] and modify &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; by hand.&lt;br /&gt;
&lt;br /&gt;
===Networking===&lt;br /&gt;
&lt;br /&gt;
====Network Interfaces Switching Names====&lt;br /&gt;
&lt;br /&gt;
You can use a file in &amp;lt;tt&amp;gt;/etc/udev/rules.d&amp;lt;/tt&amp;gt; to keep the interface names the same between boots. Debian-based distros create this  file (&amp;lt;tt&amp;gt;70-persistent-net.rules&amp;lt;/tt&amp;gt;) during install.  Other distros (like Arch Linux) do not.&lt;br /&gt;
&lt;br /&gt;
 SUBSYSTEM==&amp;quot;net&amp;quot;, ATTR{address}==&amp;quot;01:23:45:67:89:ab&amp;quot;, NAME=&amp;quot;lan0&amp;quot;&lt;br /&gt;
 SUBSYSTEM==&amp;quot;net&amp;quot;, ATTR{address}==&amp;quot;fe:dc:ba:98:76:54&amp;quot;, NAME=&amp;quot;lan1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Starting Multiple Network Interfaces At Boot====&lt;br /&gt;
&lt;br /&gt;
Debian uses a file called &amp;lt;tt&amp;gt;/etc/network/interfaces&amp;lt;/tt&amp;gt;.  By default, only the interface used during install is configured.  It is trivial to add more interfaces to this file.&lt;br /&gt;
&lt;br /&gt;
 # DHCP Example&lt;br /&gt;
 &lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
 pre-up [command]&lt;br /&gt;
 post-up [command]&lt;br /&gt;
 &lt;br /&gt;
 # Static Example&lt;br /&gt;
 &lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
   address 192.168.1.n&lt;br /&gt;
   network 192.168.1.0&lt;br /&gt;
   netmask 255.255.255.0&lt;br /&gt;
   gateway 192.168.1.n&lt;br /&gt;
   broadcast 192.168.1.255&lt;br /&gt;
   mtu [nnnn]&lt;br /&gt;
   pre-up [command]&lt;br /&gt;
   post-up [command]&lt;br /&gt;
&lt;br /&gt;
Arch does not use an equivalent of Debian&amp;#039;s system.  By default, Arch will start dhcpcd which will try to assign all NICs with an IP address via DHCP.  If this is all you need, no further configuration is required.&lt;br /&gt;
&lt;br /&gt;
If you wish to bring up a single NIC with custom settings, the &amp;lt;tt&amp;gt;interface&amp;lt;/tt&amp;gt; directive in the &amp;lt;tt&amp;gt;NETWORKING&amp;lt;/tt&amp;gt; section of &amp;lt;tt&amp;gt;/etc/rc.conf&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 # -----------------------------------------------------------------------&lt;br /&gt;
 # NETWORKING&lt;br /&gt;
 # -----------------------------------------------------------------------&lt;br /&gt;
 ...&lt;br /&gt;
 HOSTNAME=&amp;quot;[hostname]&amp;quot;&lt;br /&gt;
 ...&lt;br /&gt;
 interface=eth0&lt;br /&gt;
 address=192.168.1.2&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gateway=192.168.1.1&lt;br /&gt;
 broadcast=192.168.1.255&lt;br /&gt;
 ...&lt;br /&gt;
 #NETWORKS=(main)&lt;br /&gt;
&lt;br /&gt;
If you wish to bring up multiple interfaces which will be connected at boot time, use &amp;lt;tt&amp;gt;netcfg&amp;lt;/tt&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
====MTU====&lt;br /&gt;
&lt;br /&gt;
{{MTU}}&lt;br /&gt;
&lt;br /&gt;
===Set Up Users===&lt;br /&gt;
&lt;br /&gt;
 sudo useradd -m -g users --uid [nnnn] [username]&lt;br /&gt;
 sudo passwd [user]&lt;br /&gt;
&lt;br /&gt;
==Install Common Programs==&lt;br /&gt;
&lt;br /&gt;
===acpid / acpi-support===&lt;br /&gt;
&lt;br /&gt;
To be able to turn the server off using the power button, install &amp;lt;tt&amp;gt;acpid&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Be sure the &amp;lt;tt&amp;gt;buttons&amp;lt;/tt&amp;gt; module is loaded using &amp;lt;tt&amp;gt;lsmod | grep ^button&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For Arch Linux, be sure to add &amp;lt;tt&amp;gt;acpid&amp;lt;/tt&amp;gt; to the &amp;lt;tt&amp;gt;DAEMONS&amp;lt;/tt&amp;gt; array in &amp;lt;tt&amp;gt;/etc/rc.conf&amp;lt;/tt&amp;gt; if you are not using &amp;lt;tt&amp;gt;hal&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===cpufreqd===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Not all Intel Atom Processors support SpeedStep.  See [http://ark.intel.com/MySearch.aspx?s=t&amp;amp;SpeedstepTechnology=true&amp;amp;FamilyText=Intel%C2%AE%20Atom%E2%84%A2%20Processor Intel&amp;#039;s List].&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The latest Linux distros have the scaling CPU modules (&amp;lt;tt&amp;gt;speedstep_centrino&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;powernow_k6&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;powernow_k7&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;acpi_cpufreq&amp;lt;/tt&amp;gt;) and the scaling governor modules (&amp;lt;tt&amp;gt;conservative&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;ondemand&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;userspace&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;perfomance&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;powersave&amp;lt;/tt&amp;gt;) built into the kernel.  You no longer have to fiddle around with &amp;lt;tt&amp;gt;modprobe&amp;lt;/tt&amp;gt; and modules.&lt;br /&gt;
&lt;br /&gt;
Configuration is handled through &amp;lt;tt&amp;gt;/etc/cpufreqd.conf&amp;lt;/tt&amp;gt;.  You may have to enable some of the &amp;lt;tt&amp;gt;[Profile]&amp;lt;/tt&amp;gt; sections because &amp;lt;tt&amp;gt;cpufreqd.conf&amp;lt;/tt&amp;gt; plays it too safe.  You may also have to get rid of some &amp;lt;tt&amp;gt;[Rule]&amp;lt;/tt&amp;gt; sections, like the one for playing movies which &amp;lt;tt&amp;gt;cpufreqd&amp;lt;/tt&amp;gt; kept choosing it even though I had none of the listed programs installed let alone running.&lt;br /&gt;
&lt;br /&gt;
===cpufrequtils===&lt;br /&gt;
&lt;br /&gt;
This will provide &amp;lt;tt&amp;gt;cpufreq-info&amp;lt;/tt&amp;gt;, which will give you information on how &amp;lt;tt&amp;gt;cpufreqd&amp;lt;/tt&amp;gt; is governing your CPU.&lt;br /&gt;
&lt;br /&gt;
===lm-ensors===&lt;br /&gt;
&lt;br /&gt;
After installing this package, run &amp;lt;tt&amp;gt;sudo sensors-detect&amp;lt;/tt&amp;gt; and answer yes to all questions.  When finished, the program will offer to insert the appropriate modules into &amp;lt;tt&amp;gt;/etc/modules&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
On Arch, you will have to manually add &amp;lt;tt&amp;gt;sensors&amp;lt;/tt&amp;gt; the the &amp;lt;tt&amp;gt;DAEMONS&amp;lt;/tt&amp;gt; array in &amp;lt;tt&amp;gt;/etc/rc.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ntp===&lt;br /&gt;
&lt;br /&gt;
NTP uses UDP port 123 to synchronize.  If your ISP does not block ports (&amp;amp;#8804;1024) you can use external NTP servers as-is.  If your ISP does block ports, you can have the NTP server grab it&amp;#039;s time from a time server with SNTP and then synchronize with itself.&lt;br /&gt;
&lt;br /&gt;
Get your original synchronization before starting NTP:&amp;lt;br&amp;gt;&lt;br /&gt;
(run this command a few times until the offset settles down)&lt;br /&gt;
&lt;br /&gt;
 ntpd -qg &amp;amp;&lt;br /&gt;
&lt;br /&gt;
Edit /etc/ntp.conf, remove the existing server line(s) and add the following lines to have the NTP server reference itself:&lt;br /&gt;
&lt;br /&gt;
 server 127.127.1.1&lt;br /&gt;
 fudge 127.127.1.1 stratum 14 refid NIST&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll also need to knock out the default restrict lines&lt;br /&gt;
&lt;br /&gt;
 restrict -4 default kod ...&lt;br /&gt;
 restrict -6 default kod ...&lt;br /&gt;
&lt;br /&gt;
Insert this line in those two previous lines&amp;#039; place&lt;br /&gt;
&lt;br /&gt;
 restrict default notrust nomodify&lt;br /&gt;
&lt;br /&gt;
Make a crontab so we can keep our NTP server in line with time:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/cron.d/synctime&lt;br /&gt;
&lt;br /&gt;
Put the following line in the file and save:&amp;lt;br&amp;gt;&lt;br /&gt;
(This calls a script that shuts ntp down, calls ntpdate, and then starts ntp again. It’s meant to be used when bringing network interfaces up, but there’s nothing wrong with calling on it here.)&lt;br /&gt;
&lt;br /&gt;
 * 4,8,12,16,20 * * * ntpd -qg&lt;br /&gt;
&lt;br /&gt;
Restart the NTP server:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/ntp start&lt;br /&gt;
&lt;br /&gt;
Watch the NTP server:&lt;br /&gt;
&lt;br /&gt;
 watch &amp;#039;sh -c &amp;quot;ntpq -p &amp;amp;&amp;amp; echo &amp;amp;&amp;amp; ntpq -c as &amp;amp;&amp;amp; echo &amp;amp;&amp;amp; ntptrace&amp;quot;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
When you see the following parts, your NTP server is ready:&lt;br /&gt;
&lt;br /&gt;
# at least one remote has an asterisk in front of its name&lt;br /&gt;
# poll is greater than 16&lt;br /&gt;
# condition changes to sys.peer&lt;br /&gt;
# stratum changes to less than 16&lt;br /&gt;
&lt;br /&gt;
      remote           refid      st t when poll reach   delay   offset  jitter&lt;br /&gt;
 ==============================================================================&lt;br /&gt;
 *LOCAL(1)        .NIST.          14 l   30   64   17    0.000    0.000   0.001&lt;br /&gt;
 &lt;br /&gt;
 ind assID status  conf reach auth condition  last_event cnt&lt;br /&gt;
 ===========================================================&lt;br /&gt;
   1 47409  9614   yes   yes  none  sys.peer   reachable  1&lt;br /&gt;
 &lt;br /&gt;
 localhost: stratum 15, offset 0.000000, synch distance 0.948602&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===openssh-server===&lt;br /&gt;
&lt;br /&gt;
This will allow you to remotely administer your server without having to be there physically.&lt;br /&gt;
&lt;br /&gt;
For Arch, be sure to add &amp;lt;tt&amp;gt;sshd&amp;lt;/tt&amp;gt; to the &amp;lt;tt&amp;gt;DAEMONS&amp;lt;/tt&amp;gt; array in &amp;lt;tt&amp;gt;/etc/rc.conf&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===rsync===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;tt&amp;gt;rsync&amp;lt;/tt&amp;gt; program to ease both the chore and space requirements of making backups.  The following two commands will get you up and going with rolling updates using hard links.  The net effect is that you will get a snapshot of whatever you are backing up of at whatever interval you decide to use and that only changed files take up additional space.&lt;br /&gt;
&lt;br /&gt;
Make your initial backup with this command:&lt;br /&gt;
&lt;br /&gt;
 cp -av [source] `date +%F`&lt;br /&gt;
&lt;br /&gt;
You can then make subsequent backups using the following command:&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/rsync -a --delete --link-dest=`ls -1r [destination]|head -1` [source] `date +\%F`&lt;br /&gt;
&lt;br /&gt;
=BitTorrent Server=&lt;br /&gt;
&lt;br /&gt;
==transmission-cli==&lt;br /&gt;
&lt;br /&gt;
After installation, &amp;lt;tt&amp;gt;tranmission-daemon&amp;lt;/tt&amp;gt; might be up and running.  To stop it:&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/transmission-daemon stop&lt;br /&gt;
 - or -&lt;br /&gt;
 /etc/rc.d/transmission-daemon stop&lt;br /&gt;
&lt;br /&gt;
Here are some key settings you might wish to change:&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;bind-address-ipv4&amp;quot;: &amp;quot;[daemon-ip]&amp;quot;, &lt;br /&gt;
    &amp;quot;download-dir&amp;quot;: &amp;quot;[download-dir]&amp;quot;, &lt;br /&gt;
    &amp;quot;incomplete-dir&amp;quot;: &amp;quot;[incomplete-dir]&amp;quot;, &lt;br /&gt;
    &amp;quot;incomplete-dir-enabled&amp;quot;: true, &lt;br /&gt;
    &amp;quot;peer-port&amp;quot;: [port], &lt;br /&gt;
    &amp;quot;peer-port-random-on-start&amp;quot;: false, &lt;br /&gt;
    &amp;quot;rpc-authentication-required&amp;quot;: true, &lt;br /&gt;
    &amp;quot;rpc-bind-address&amp;quot;: &amp;quot;[webgui-ip]&amp;quot;, &lt;br /&gt;
    &amp;quot;rpc-enabled&amp;quot;: true, &lt;br /&gt;
    &amp;quot;rpc-password&amp;quot;: &amp;quot;[webgui-password]&amp;quot;, &lt;br /&gt;
    &amp;quot;rpc-port&amp;quot;: [webgui-port], &lt;br /&gt;
    &amp;quot;rpc-username&amp;quot;: &amp;quot;[webgui-username]&amp;quot;, &lt;br /&gt;
    &amp;quot;rpc-whitelist&amp;quot;: &amp;quot;[csv-ip-addresses-ranges]&amp;quot;, &lt;br /&gt;
    &amp;quot;rpc-whitelist-enabled&amp;quot;: true, &lt;br /&gt;
    &amp;quot;watch-dir&amp;quot;: &amp;quot;[watch-dir]&amp;quot;, &lt;br /&gt;
    &amp;quot;watch-dir-enabled&amp;quot;: true&lt;br /&gt;
&lt;br /&gt;
Note that the current &amp;lt;tt&amp;gt;rpc-password&amp;lt;/tt&amp;gt; is a hash.  You can overwrite this with a plain-text password.  When the daemon is started back up, it will replace the plain-text password with a hased version.&lt;br /&gt;
&lt;br /&gt;
Settings not listed here can be changed in the web GUI.&lt;br /&gt;
&lt;br /&gt;
=File Server Setup=&lt;br /&gt;
&lt;br /&gt;
===nfs-kernel-server / nfs-utils===&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;tt&amp;gt;/etc/exports&amp;lt;/tt&amp;gt; and add the appropriate line:&lt;br /&gt;
&lt;br /&gt;
 /home 192.168.1.0/255.255.255.0(rw,sync,no_subtree_check)&lt;br /&gt;
&lt;br /&gt;
Then run this command to export the shares:&lt;br /&gt;
&lt;br /&gt;
 sudo exportfs -ra&lt;br /&gt;
&lt;br /&gt;
===samba===&lt;br /&gt;
&lt;br /&gt;
Be sure to add the first 3 lines in the &amp;lt;tt&amp;gt;[global]&amp;lt;/tt&amp;gt; section in &amp;lt;tt&amp;gt;/etc/samba/smb.conf&amp;lt;/tt&amp;gt; so that &amp;lt;tt&amp;gt;samba&amp;lt;/tt&amp;gt; will follow symlinks around properly for Windows clients.  The following assumes a setup that only shares files and does not provide WINS or domain services nor share printers or other devices.  Only lines you should be interested in changing are listed here.  There are more (that aren&amp;#039;t related to said skipped services and shares) that you should in all likelyhood leave alone.&lt;br /&gt;
&lt;br /&gt;
 [global]&lt;br /&gt;
 &lt;br /&gt;
 follow symlinks = yes&lt;br /&gt;
 wide links = yes&lt;br /&gt;
 unix extensions = no&lt;br /&gt;
 use sendfile = yes&lt;br /&gt;
 &lt;br /&gt;
 ## Browsing/Identification ###&lt;br /&gt;
 &lt;br /&gt;
    workgroup = [workgroup]&lt;br /&gt;
    server string = [server-string]&lt;br /&gt;
    wins support = no&lt;br /&gt;
    dns proxy = no&lt;br /&gt;
 &lt;br /&gt;
 #### Networking ####&lt;br /&gt;
 &lt;br /&gt;
    interfaces = [interface]&lt;br /&gt;
    bind interfaces only = yes&lt;br /&gt;
 &lt;br /&gt;
 ####### Authentication #######&lt;br /&gt;
 &lt;br /&gt;
    security = user&lt;br /&gt;
    encrypt passwords = true&lt;br /&gt;
    map to guest = bad user&lt;br /&gt;
 &lt;br /&gt;
 ########## Domains ###########&lt;br /&gt;
 &lt;br /&gt;
     domain logons = no&lt;br /&gt;
 &lt;br /&gt;
 ########## Printing ##########&lt;br /&gt;
 &lt;br /&gt;
     load printers = no&lt;br /&gt;
 &lt;br /&gt;
 ############ Misc ############&lt;br /&gt;
 &lt;br /&gt;
     socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144&lt;br /&gt;
     usershare max shares = 0&lt;br /&gt;
     usershare allow guests = no&lt;br /&gt;
 &lt;br /&gt;
 #======================= Share Definitions =======================&lt;br /&gt;
 &lt;br /&gt;
 [homes]&lt;br /&gt;
    comment = Home Directories&lt;br /&gt;
    browseable = yes&lt;br /&gt;
    read only = no&lt;br /&gt;
    create mask = 0750&lt;br /&gt;
    directory mask = 0750&lt;br /&gt;
    valid users = %S&lt;br /&gt;
&lt;br /&gt;
=LAMP Server Setup=&lt;br /&gt;
&lt;br /&gt;
==apache2==&lt;br /&gt;
&lt;br /&gt;
Ubuntu sets modules up in /etc/apache2/mods-available and sets up links in /etc/apache2/mods-enabled.&lt;br /&gt;
&lt;br /&gt;
 ln -s /etc/apache2/mods-available/vhost_alias.load /etc/apache2/mods-enabled/vhost_alias.load&lt;br /&gt;
&lt;br /&gt;
Likewise, Ubuntu has a similar setup for sites with /etc/apache2/sites-available and /etc/apache2/sites-enabled&lt;br /&gt;
&lt;br /&gt;
==libapache2-mod-php5==&lt;br /&gt;
&lt;br /&gt;
If you plan on using PHP with Apache, install this package.&lt;br /&gt;
&lt;br /&gt;
==mysql-server==&lt;br /&gt;
&lt;br /&gt;
Before making any changes, be sure to stop the MySQL daemon.&lt;br /&gt;
&lt;br /&gt;
 sudo stop mysql&lt;br /&gt;
&lt;br /&gt;
If you wish to change the default data directory from /var/lib/mysql to /srv or /srv/mysql you will have to edit /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
 datadir=/srv/mysql&lt;br /&gt;
&lt;br /&gt;
You may also wish to change the bind address if you want to access the server remotely&lt;br /&gt;
&lt;br /&gt;
 bind-address = 192.168.1.3&lt;br /&gt;
&lt;br /&gt;
As noted in the my.cnf file, you have to adjust /etc/apparmor.d/usr.sbin.mysql to allow apparmor to allow mysql into the alternate directory.&lt;br /&gt;
&lt;br /&gt;
 /srv/mysql r,&lt;br /&gt;
 /srv/mysql/** rwk,&lt;br /&gt;
&lt;br /&gt;
==php5-mysql==&lt;br /&gt;
&lt;br /&gt;
If you plan on accessing a MySQL database with PHP, install this package.&lt;br /&gt;
&lt;br /&gt;
=Login Server=&lt;br /&gt;
&lt;br /&gt;
==nis==&lt;br /&gt;
&lt;br /&gt;
After installation, NIS will not start up properly.&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;tt&amp;gt;/etc/default/nis&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 NISSERVER=master&lt;br /&gt;
 NISCLIENT=false&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;tt&amp;gt;/etc/yp.conf&amp;lt;/tt&amp;gt; so that the NIS server can find itself faster.  Left blank, YP will auto-search for servers.&lt;br /&gt;
&lt;br /&gt;
 ypserver 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;tt&amp;gt;/etc/ypserv.securenets&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 255.255.255.0 192.168.1.0&amp;lt;&lt;br /&gt;
&lt;br /&gt;
Now run the following commands&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/lib/yp/ypinit -m&lt;br /&gt;
 sudo /etc/init.d/nis restart&lt;br /&gt;
&lt;br /&gt;
=Media Server=&lt;br /&gt;
&lt;br /&gt;
==minidlna==&lt;/div&gt;</summary>
		<author><name>BrainwreckedTech</name></author>
	</entry>
</feed>