Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:local_appbrowser_server [2011/10/08 22:12] – format littlebatwiki:local_appbrowser_server [2011/10/08 22:36] (current) – format littlebat
Line 37: Line 37:
  
 Here's a script by Robert Shingledecker that creates info.lst from the current directory: Here's a script by Robert Shingledecker that creates info.lst from the current directory:
- +<code bash> 
-^~pp~#!/bin/sh+~pp~#!/bin/sh
 rm info.lst rm info.lst
-|for i in `ls -1 *.info|sort -f`; do|+for i in `ls -1 *.info|sort -f`; do
    basename "$i" .info >> info.lst    basename "$i" .info >> info.lst
 done done
  
 gzip -c9 info.lst > info.lst.gz gzip -c9 info.lst > info.lst.gz
-~/pp~^ +~/pp~ 
 +</code>
 ====== Client-side configuration ====== ====== Client-side configuration ======
  
 Clients may change the mirror from the Control panel, but to make permanent changes, you might wish to remaster the base image to use this mirror by default. The file in control of this is /opt/.tcrc. (/opt/tcemirror in later 2.x and 3.x) Clients may change the mirror from the Control panel, but to make permanent changes, you might wish to remaster the base image to use this mirror by default. The file in control of this is /opt/.tcrc. (/opt/tcemirror in later 2.x and 3.x)
 Here are the contents of those files for TC 1.x, 2.x, and 3.x, using our example server: Here are the contents of those files for TC 1.x, 2.x, and 3.x, using our example server:
 +<code>
 TC 1.x: TC 1.x:
-^~pp~Mirror: myserver.local/~username/tc+~pp~Mirror: myserver.local/~username/tc
 Protocol: http Protocol: http
-Repository: tce~/pp~^+Repository: tce~/pp~
  
 TC 2.x: TC 2.x:
-^~pp~Mirror: myserver.local/~username/tc/2.x+~pp~Mirror: myserver.local/~username/tc/2.x
 Protocol: http Protocol: http
-Repository: tcz~/pp~^+Repository: tcz~/pp~
  
 TC 3.x or later 2.x: TC 3.x or later 2.x:
-^http://myserver.local/~username/tc/^ +http://myserver.local/~username/tc/ 
 +</code>
 Note that in the last case it's expected the subdirectories 2.x or 3.x exist and are named as such. Note that in the last case it's expected the subdirectories 2.x or 3.x exist and are named as such.
  
Print/export
QR Code
QR Code wiki:local_appbrowser_server (generated for current page)