http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&feed=atom&action=history
Installation on Slackware 14 - Revision history
2024-03-29T10:20:24Z
Revision history for this page on the wiki
MediaWiki 1.20.2
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38729&oldid=prev
Roberto.puzzanghera: /* Contact */
2019-07-21T12:59:49Z
<p><span dir="auto"><span class="autocomment">Contact</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:59, 21 July 2019</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 482:</td>
<td colspan="2" class="diff-lineno">Line 482:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Contact ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Contact ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Comments and criticism can be addressed to roberto dot puzzanghera at sagredo dot eu (<del class="diffchange diffchange-inline">http</del>://notes.sagredo.eu/<del class="diffchange diffchange-inline">node</del>/7)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Comments and criticism can be addressed to roberto dot puzzanghera at sagredo dot eu (<ins class="diffchange diffchange-inline">https</ins>://notes.sagredo.eu/<ins class="diffchange diffchange-inline">other-contents-186</ins>/<ins class="diffchange diffchange-inline">slackware-guest-on-linux-vserver-</ins>7<ins class="diffchange diffchange-inline">.html</ins>)</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38728&oldid=prev
Roberto.puzzanghera: /* Make the guest */
2019-07-21T12:59:09Z
<p><span dir="auto"><span class="autocomment">Make the guest</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:59, 21 July 2019</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 108:</td>
<td colspan="2" class="diff-lineno">Line 108:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Comments are welcome :-)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Comments are welcome :-)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># More info here: <del class="diffchange diffchange-inline">http</del>://notes.sagredo.eu/<del class="diffchange diffchange-inline">node</del>/7</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># More info here: <ins class="diffchange diffchange-inline">https</ins>://notes.sagredo.eu/<ins class="diffchange diffchange-inline">other-contents-186</ins>/<ins class="diffchange diffchange-inline">slackware-guest-on-linux-vserver-</ins>7<ins class="diffchange diffchange-inline">.html</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># adjust this to where your things live</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># adjust this to where your things live</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38727&oldid=prev
Roberto.puzzanghera: /* Download */
2019-07-21T12:58:14Z
<p><span dir="auto"><span class="autocomment">Download</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:58, 21 July 2019</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>wget <del class="diffchange diffchange-inline">http</del>://notes.sagredo.eu/sites/notes.sagredo.eu/files/linux-vserver/slack_vserver.tar.gz</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>wget <ins class="diffchange diffchange-inline">https</ins>://notes.sagredo.eu/sites/notes.sagredo.eu/files/linux-vserver/slack_vserver.tar.gz</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>tar xzf slack_vserver.tar.gz</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>tar xzf slack_vserver.tar.gz</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cd slack_vserver</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cd slack_vserver</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38675&oldid=prev
Roberto.puzzanghera: /* Patch applayed */
2016-07-09T12:26:25Z
<p><span dir="auto"><span class="autocomment">Patch applayed</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:26, 9 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 281:</td>
<td colspan="2" class="diff-lineno">Line 281:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Patch applayed ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Patch applayed ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Patch for Slackware 14.2 guest on a Linux-Vserver host</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">========================================================</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">by Roberto Puzzanghera - http://notes.sagredo.eu</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">version: 2016.06.08</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">========================================================</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>diff -ruN rc.d-original/rc.6 rc.d/rc.6</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>diff -ruN rc.d-original/rc.6 rc.d/rc.6</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--- rc.d-original/rc.6 2016-03-26 17:48:37.000000000 +0100</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--- rc.d-original/rc.6 2016-03-26 17:48:37.000000000 +0100</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>+++ rc.d/rc.6 2016-<del class="diffchange diffchange-inline">06</del>-<del class="diffchange diffchange-inline">08 21</del>:<del class="diffchange diffchange-inline">57</del>:<del class="diffchange diffchange-inline">26</del>.<del class="diffchange diffchange-inline">990957045 </del>+0200</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>+++ rc.d/rc.6 2016-<ins class="diffchange diffchange-inline">07</ins>-<ins class="diffchange diffchange-inline">09 14</ins>:<ins class="diffchange diffchange-inline">08</ins>:<ins class="diffchange diffchange-inline">48</ins>.<ins class="diffchange diffchange-inline">470713168 </ins>+0200</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>@@ -37,36 +37,6 @@</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>@@ -37,36 +37,6 @@</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  ;;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  ;;</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 376:</td>
<td colspan="2" class="diff-lineno">Line 370:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>diff -ruN rc.d-original/rc.M rc.d/rc.M</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>diff -ruN rc.d-original/rc.M rc.d/rc.M</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--- rc.d-original/rc.M 2016-05-05 06:27:00.000000000 +0200</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--- rc.d-original/rc.M 2016-05-05 06:27:00.000000000 +0200</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>+++ rc.d/rc.M 2016-<del class="diffchange diffchange-inline">06</del>-<del class="diffchange diffchange-inline">08 21</del>:<del class="diffchange diffchange-inline">36</del>:<del class="diffchange diffchange-inline">45</del>.<del class="diffchange diffchange-inline">097439107 </del>+0200</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>+++ rc.d/rc.M 2016-<ins class="diffchange diffchange-inline">07</ins>-<ins class="diffchange diffchange-inline">09 14</ins>:<ins class="diffchange diffchange-inline">14</ins>:<ins class="diffchange diffchange-inline">20</ins>.<ins class="diffchange diffchange-inline">090096570 </ins>+0200</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>@@ -20,10 +20,6 @@</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>@@ -20,10 +20,6 @@</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   /sbin/ldconfig &</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   /sbin/ldconfig &</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 388:</td>
<td colspan="2" class="diff-lineno">Line 382:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  if [ -r /etc/HOSTNAME ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  if [ -r /etc/HOSTNAME ]; then</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   /bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   /bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@@ -109,<del class="diffchange diffchange-inline">18 </del>+105,6 @@</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@@ -109,<ins class="diffchange diffchange-inline">13 </ins>+105,6 @@</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   sh /etc/rc.d/rc.bluetooth start</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   sh /etc/rc.d/rc.bluetooth start</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  fi</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 399:</td>
<td colspan="2" class="diff-lineno">Line 393:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">-</del># Start networking daemons:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins># Start networking daemons:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">-</del>if [ -x /etc/rc.d/rc.inet2 ]; then</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins>if [ -x /etc/rc.d/rc.inet2 ]; then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">-  </del>. /etc/rc.d/rc.inet2</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  </ins>. /etc/rc.d/rc.inet2</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>-<del class="diffchange diffchange-inline">fi</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">@@ </ins>-<ins class="diffchange diffchange-inline">126,14 +115,6 @@</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">-</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> # Look for additional USB/SCSI/IEEE1394/etc devices on multiple LUNs:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> if [ -x /etc/rc.d/rc.scanluns ]; then</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   . /etc/rc.d/rc.scanluns</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   . /etc/rc.d/rc.scanluns</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">@@ -129,11 +113,6 @@</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  <ins class="diffchange diffchange-inline">fi</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  <del class="diffchange diffchange-inline"># Mount any additional filesystem types that haven't already been mounted:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> mount -a -v 2> /dev/null | grep -v -e "already mounted" -e "ignored" | cut -f 1 -d : | tr -d ' ' | while read dev ; do mount | grep "${dev} " ; done</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# Mount any additional filesystem types that haven't already been mounted:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-mount -a -v 2> /dev/null | grep -v -e "already mounted" -e "ignored" | cut -f 1 -d : | tr -d ' ' | while read dev ; do mount | grep "${dev} " ; done</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-# Start the Control Script for automounter:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-# Start the Control Script for automounter:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-if [ -x /etc/rc.d/rc.autofs ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>-if [ -x /etc/rc.d/rc.autofs ]; then</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 419:</td>
<td colspan="2" class="diff-lineno">Line 411:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  if [ -x /etc/rc.d/rc.ntpd ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  if [ -x /etc/rc.d/rc.ntpd ]; then</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   sh /etc/rc.d/rc.ntpd start</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   sh /etc/rc.d/rc.ntpd start</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>@@ -153,16 +<del class="diffchange diffchange-inline">132</del>,6 @@</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>@@ -153,16 +<ins class="diffchange diffchange-inline">134</ins>,6 @@</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  chmod 755 / 2> /dev/null</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  chmod 755 / 2> /dev/null</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  chmod 1777 /tmp /var/tmp</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  chmod 1777 /tmp /var/tmp</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 436:</td>
<td colspan="2" class="diff-lineno">Line 428:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  if find /usr/share/icons -maxdepth 2 2> /dev/null | grep -q icon-theme.cache ; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  if find /usr/share/icons -maxdepth 2 2> /dev/null | grep -q icon-theme.cache ; then</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   for theme_dir in /usr/share/icons/* ; do</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   for theme_dir in /usr/share/icons/* ; do</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">diff -ruN rc.d-original/rc.inet2 rc.d/rc.inet2</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">--- rc.d-original/rc.inet2 2012-08-15 00:53:35.000000000 +0200</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">+++ rc.d/rc.inet2 2016-07-09 14:10:49.388841574 +0200</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">@@ -16,51 +16,6 @@</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> # At this point, we are ready to talk to The World...</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# Mount remote (NFS) filesystems:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-if cat /etc/fstab | grep -v '^#' | grep -w nfs 1> /dev/null 2> /dev/null ; then</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # Start rpc.portmap, /sbin/rpc.lockd, and /sbin/rpc.statd if we find NFS</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # volumes defined in /etc/fstab since these will need to be running in order</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # to mount them.  If they are not running, attempting to mount an NFS</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # partition will cause mount to hang, or at least result in unreliable</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # operation.  Keep this in mind if you plan to mount unlisted NFS</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # partitions... </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # If you have uncommented NFS partitions in your /etc/fstab, rc.rpc is run</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # whether it is set as executable or not.  If you don't want to run it,</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # comment the NFS partitions out in /etc/fstab or erase/rename rc.rpc.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  if [ -r /etc/rc.d/rc.rpc ]; then</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-    sh /etc/rc.d/rc.rpc start</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  fi</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  echo "Mounting remote (NFS) file systems:  /sbin/mount -a -t nfs"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  /sbin/mount -a -t nfs          # This may be our /usr runtime!</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # Show the mounted volumes:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  /sbin/mount -v -t nfs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-fi</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# If /etc/rc.d/rc.rpc is executable, run it to load rpc.portmap, rpc.lockd,</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# and rpc.statd.  This might be needed to mount NFS partitions that are not</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# listed in /etc/fstab.  Starting this twice won't hurt as the script will</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# check if things are already running before trying to start them.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-if [ -x /etc/rc.d/rc.rpc ]; then</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  sh /etc/rc.d/rc.rpc start</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-fi</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# Mount remote CIFS filesystems.  Note that where possible, using CIFS is</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# preferred over SMBFS.  SMBFS is no longer actively maintained.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-if cat /etc/fstab | grep -v '^#' | grep -w cifs 1> /dev/null 2> /dev/null ; then</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  echo "Mounting remote CIFS file systems:  /sbin/mount -a -t cifs"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  /sbin/mount -a -t cifs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # Show the mounted volumes:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  /sbin/mount -v -t cifs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-fi</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-# Mount remote SMB filesystems:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-if cat /etc/fstab | grep -v '^#' | grep -w smbfs 1> /dev/null 2> /dev/null ; then</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  echo "Mounting remote SMBFS file systems:  /sbin/mount -a -t smbfs"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  /sbin/mount -a -t smbfs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  # Show the mounted volumes:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-  /sbin/mount -v -t smbfs</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">-fi</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Contact ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Contact ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Comments and criticism can be addressed to roberto dot puzzanghera at sagredo dot eu (http://notes.sagredo.eu/node/7)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Comments and criticism can be addressed to roberto dot puzzanghera at sagredo dot eu (http://notes.sagredo.eu/node/7)</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38674&oldid=prev
Roberto.puzzanghera at 12:29, 5 July 2016
2016-07-05T12:29:50Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:29, 5 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>The purpose of this note is to setup a guest based on Slackware. What follows was tested on Slackware <del class="diffchange diffchange-inline"><b></del>14.<del class="diffchange diffchange-inline">1</b>, 14.0, 13.37 and </del>13.1 (both 32b and 64b). I will assume that you have a Linux-Vserver box working.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>The purpose of this note is to setup a guest based on Slackware. What follows was tested on Slackware 14.<ins class="diffchange diffchange-inline">2 to </ins>13.1 (both 32b and 64b). I will assume that you have a Linux-Vserver box working.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download ==</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38673&oldid=prev
Roberto.puzzanghera: /* Patch applayed */
2016-07-05T12:28:33Z
<p><span dir="auto"><span class="autocomment">Patch applayed</span></span></p>
<a href="http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38673&oldid=38672">Show changes</a>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38672&oldid=prev
Roberto.puzzanghera: /* Apply the patch */
2016-07-05T12:26:41Z
<p><span dir="auto"><span class="autocomment">Apply the patch</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:26, 5 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 261:</td>
<td colspan="2" class="diff-lineno">Line 261:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cd /vservers/vserver_name/etc/rc.d</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cd /vservers/vserver_name/etc/rc.d</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>patch -p1 < /path/to/slack_vserver/slackware-14.<del class="diffchange diffchange-inline">1</del>.patch</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>patch -p1 < /path/to/slack_vserver/slackware-14.<ins class="diffchange diffchange-inline">2</ins>.patch</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Inside the tarball you can find the old patch for Slackware 14.0, 13.37 and 13.1, if you like.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Inside the tarball you can find the old patch for Slackware <ins class="diffchange diffchange-inline">14.1, </ins>14.0, 13.37 and 13.1, if you like.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Post installation tasks ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Post installation tasks ==</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38671&oldid=prev
Roberto.puzzanghera: /* Make the guest */
2016-07-05T12:25:42Z
<p><span dir="auto"><span class="autocomment">Make the guest</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:25, 5 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 101:</td>
<td colspan="2" class="diff-lineno">Line 101:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#!/bin/bash</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#!/bin/bash</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># v. <del class="diffchange diffchange-inline">2013</del>.<del class="diffchange diffchange-inline">12</del>.<del class="diffchange diffchange-inline">29</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># v. <ins class="diffchange diffchange-inline">2016</ins>.<ins class="diffchange diffchange-inline">07</ins>.<ins class="diffchange diffchange-inline">05</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Author: Roberto Puzzanghera</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Author: Roberto Puzzanghera</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Thanks to Mark Colclough for corrections</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Thanks to Mark Colclough for corrections</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 116:</td>
<td colspan="2" class="diff-lineno">Line 116:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>INTERFACE=eth0:$IP/24</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>INTERFACE=eth0:$IP/24</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>CONTEXT=5182</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>CONTEXT=5182</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>VERSION=14.<del class="diffchange diffchange-inline">1 </del># Slackware version</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>VERSION=14.<ins class="diffchange diffchange-inline">2 </ins># Slackware version</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>ARCH="64" # you can put 64 for 64b cpu just to separate 64/32 download folders</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>ARCH="64" # you can put 64 for 64b cpu just to separate 64/32 download folders</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 140:</td>
<td colspan="2" class="diff-lineno">Line 140:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Can't find VDIR dir: $VDIR"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Can't find VDIR dir: $VDIR"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Exiting"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Exiting"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>echo</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>echo</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>         exit 1  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>         exit 1</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ ! -d "$SETUP" ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ ! -d "$SETUP" ]; then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>         echo <del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>         echo  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Can't find SETUP dir: $SETUP"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Can't find SETUP dir: $SETUP"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Exiting"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "Exiting"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>echo</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>echo</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         exit 1</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         exit 1</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 197:</td>
<td colspan="2" class="diff-lineno">Line 197:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>echo "removing x flag to rc.<del class="diffchange diffchange-inline">inet1 rc.loop </del>and rc.<del class="diffchange diffchange-inline">sshd</del>"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>echo "removing x flag to rc.<ins class="diffchange diffchange-inline">sshd </ins>and rc.<ins class="diffchange diffchange-inline">inetd, removing not needed rc scripts</ins>"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>chmod -x $VDIR/$NAME/etc/rc.d/rc.<del class="diffchange diffchange-inline">inet1 </del>$VDIR/$NAME/etc/rc.d/rc.<del class="diffchange diffchange-inline">loop </del>$VDIR/$NAME/etc/rc.d/rc.<del class="diffchange diffchange-inline">sshd</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>chmod -x $VDIR/$NAME/etc/rc.d/rc.<ins class="diffchange diffchange-inline">sshd </ins>$VDIR/$NAME/etc/rc.d/rc.<ins class="diffchange diffchange-inline">inetd</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">rm </ins>$VDIR/$NAME/etc/rc.d/rc.<ins class="diffchange diffchange-inline">cpufreq $VDIR/$NAME/etc/rc.d/rc.modules* $VDIR/$NAME/etc/rc.d/rc.inet1* $VDIR/$NAME/etc/rc.d/rc.loop</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo "...done"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo "...done"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>echo "trying to adjust HOSTNAME, hosts, resolv.conf, profile. Check later..."</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>echo "trying to adjust HOSTNAME, hosts, resolv.conf, profile. Check <ins class="diffchange diffchange-inline">them </ins>later..."</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cp /etc/resolv.conf $VDIR/$NAME/etc/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cp /etc/resolv.conf $VDIR/$NAME/etc/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cp /etc/localtime $VDIR/$NAME/etc/</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>cp /etc/localtime $VDIR/$NAME/etc/</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 225:</td>
<td colspan="2" class="diff-lineno">Line 226:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ "$VAR_PATCH" = 'y' ] || [ "$VAR_PATCH" = '' ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ "$VAR_PATCH" = 'y' ] || [ "$VAR_PATCH" = '' ]; then</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>if [ ! -f "${SETUP}/linux-vserver_slackware-${VERSION}.patch" ]; then</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>if [ ! -f "${SETUP}/linux-vserver_slackware-${VERSION}.patch" ]; then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">              </del>echo</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>echo</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del>echo "Can't find any PATCH here: ${SETUP}/linux-vserver_slackware-${VERSION}.patch"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>echo "Can't find any PATCH here: ${SETUP}/linux-vserver_slackware-${VERSION}.patch"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del>echo "Exiting"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>echo "Exiting"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del>echo</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>echo</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del>exit 1</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>exit 1</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>fi</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         cd ${VDIR}/${NAME}/etc/rc.d</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         cd ${VDIR}/${NAME}/etc/rc.d</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 241:</td>
<td colspan="2" class="diff-lineno">Line 242:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "vserver $NAME start"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "vserver $NAME start"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "vserver $NAME enter"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         echo "vserver $NAME enter"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         else</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         else</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>                 echo</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>                 echo</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 251:</td>
<td colspan="2" class="diff-lineno">Line 252:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>echo "More info <del class="diffchange diffchange-inline">at </del>http://notes.sagredo.eu/node/7"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>echo "More info <ins class="diffchange diffchange-inline">on </ins>http://notes.sagredo.eu/node/7"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>echo</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38670&oldid=prev
Roberto.puzzanghera: /* Download the packages */
2016-07-05T12:24:43Z
<p><span dir="auto"><span class="autocomment">Download the packages</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:24, 5 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download the packages ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download the packages ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>First of all select a minimal set of packages to be installed on the virtual server. This list of <del class="diffchange diffchange-inline">110 </del>packages is based on the Minimal System reported at http://slackwiki.org/Minimal_System without all hardware, kernel and multimedia related packages. The install leads to a guest of about <del class="diffchange diffchange-inline">448M </del>of size. This set fits with the installation of a complete virtual web server including apache, apache-tomcat, php, mysql, postgresql, qmail and related, ftp, named.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>First of all select a minimal set of packages to be installed on the virtual server. This list of <ins class="diffchange diffchange-inline">123 </ins>packages is based on the Minimal System reported at http://slackwiki.org/Minimal_System without all hardware, kernel and multimedia related packages. The install leads to a guest of about <ins class="diffchange diffchange-inline">460M </ins>of size. This set fits with the installation of a complete virtual web server including apache, apache-tomcat, php, mysql, postgresql, qmail and related, ftp, named.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>I assume that the packages to be installed are stored in the ''slackware{$ARCH}-{$VERSION}_pkg'' folder. If not, adjust its location editing the ''make_slack_vserver.sh script''.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>I assume that the packages to be installed are stored in the ''slackware{$ARCH}-{$VERSION}_pkg'' folder. If not, adjust its location editing the ''make_slack_vserver.sh script''.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>You can download my minimal set of packages running the shell script ''download_slack_pkg.sh''. It can create a folder like ''slackware{$ARCH}-{$VERSION}_pkg'' for you, where ''$ARCH'' has to be "64" if you want to download 64b packages or empty otherwise, while ''$VERSION'' is the Slackware version, so it's something like "14.<del class="diffchange diffchange-inline">1</del>".</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>You can download my minimal set of packages running the shell script ''download_slack_pkg.sh''. It can create a folder like ''slackware{$ARCH}-{$VERSION}_pkg'' for you, where ''$ARCH'' has to be "64" if you want to download 64b packages or empty otherwise, while ''$VERSION'' is the Slackware version, so it's something like "14.<ins class="diffchange diffchange-inline">2</ins>".</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#!/bin/bash</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#!/bin/bash</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># v. <del class="diffchange diffchange-inline">2013</del>.<del class="diffchange diffchange-inline">12</del>.<del class="diffchange diffchange-inline">29</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># v. <ins class="diffchange diffchange-inline">2016</ins>.<ins class="diffchange diffchange-inline">06</ins>.<ins class="diffchange diffchange-inline">08</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Now the script parses comments in the package list (thanks to Mark Colclough)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Now the script parses comments in the package list (thanks to Mark Colclough)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>VERSION="14.<del class="diffchange diffchange-inline">1</del>" # Slackware version</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>VERSION="14.<ins class="diffchange diffchange-inline">2</ins>" # Slackware version</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>ARCH="64" # you can put 64 for 64b cpu just to separate 64/32 download folders</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>ARCH="64" # you can put 64 for 64b cpu just to separate 64/32 download folders</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 49:</td>
<td colspan="2" class="diff-lineno">Line 49:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># create the folder where the pkg will be downloaded</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># create the folder where the pkg will be downloaded</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ ! -d "$PACKAGES" ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ ! -d "$PACKAGES" ]; then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>mkdir -p $PACKAGES</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>mkdir -p $PACKAGES</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 68:</td>
<td colspan="2" class="diff-lineno">Line 68:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         done < $LIST</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         done < $LIST</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>else</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>else</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>echo "Can't find $LIST file."</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>echo "Can't find $LIST file."</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>exit 1</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>exit 1</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 77:</td>
<td colspan="2" class="diff-lineno">Line 77:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ -f ${LIST} ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>if [ -f ${LIST} ]; then</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         while read LINE</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         while read LINE</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>do</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>do</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del>IFS='/' read -ra PKG <<< "$LINE"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>IFS='/' read -ra PKG <<< "$LINE"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>                 [ "${PKG#\#}" = "${PKG}" ] || continue</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>                 [ "${PKG#\#}" = "${PKG}" ] || continue</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">        </del>PKG_LEN=${#PKG[@]}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>PKG_LEN=${#PKG[@]}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>                 if [ $PKG_LEN == 2 ]; then</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>                 if [ $PKG_LEN == 2 ]; then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">                    </del>wget "${SRC}patches/packages/${PKG[1]}*.t?z"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                        </ins>wget "${SRC}patches/packages/${PKG[1]}*.t?z"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">            </del>fi</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">                </ins>fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         done < $LIST</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         done < $LIST</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>else</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>else</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    </del>echo "Can't find $LIST file."</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        </ins>echo "Can't find $LIST file."</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         exit 1</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         exit 1</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>fi</div></td></tr>
</table>
Roberto.puzzanghera
http://www.linux-vserver.org/index.php?title=Installation_on_Slackware_14&diff=38669&oldid=prev
Roberto.puzzanghera: /* Download */
2016-07-05T12:23:23Z
<p><span dir="auto"><span class="autocomment">Download</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:23, 5 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 15:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* <em>make_slack_vserver.sh</em> is the shell script that you have to adjust. It installs the guest.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* <em>make_slack_vserver.sh</em> is the shell script that you have to adjust. It installs the guest.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* <em>rc</em> is the startup script for the virtual server. It will be automatically copied in /etc/rc.d* /init.d/rc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* <em>rc</em> is the startup script for the virtual server. It will be automatically copied in /etc/rc.d* /init.d/rc</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <em>linux-vserver_slackware-14.<del class="diffchange diffchange-inline">1</del>.patch</em> is the patch which modify rc.0, rc.6 rc.M, rc.S, rc.inet2 and rc.syslog. It must be applyed after the creation of the vserver process. In the patch I switched off all the mounts and executable that are related to the hardware.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <em>linux-vserver_slackware-14.<ins class="diffchange diffchange-inline">2</ins>.patch</em> is the patch which modify rc.0, rc.6 rc.M, rc.S, rc.inet2 and rc.syslog. It must be applyed after the creation of the vserver process. In the patch I switched off all the mounts and executable that are related to the hardware.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download the packages ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Download the packages ==</div></td></tr>
</table>
Roberto.puzzanghera