Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:local_appbrowser_server [2011/04/18 07:25] – external edit 127.0.0.1wiki:local_appbrowser_server [2011/10/08 22:36] (current) – format littlebat
Line 17: Line 17:
 In the example, TC 1.x TCZ repo would now be at http://myserver.local/~username/tc/tcz. For TC 2.x the base address is http://myserver.local/~username/tc/2.x, and the 2.x TCZ repo would reside at http://myserver.local/~username/tc/2.x/tcz. In the example, TC 1.x TCZ repo would now be at http://myserver.local/~username/tc/tcz. For TC 2.x the base address is http://myserver.local/~username/tc/2.x, and the 2.x TCZ repo would reside at http://myserver.local/~username/tc/2.x/tcz.
  
-^~pp~.: +~pp~.:\\ 
-total 12 +total 12\\ 
-drwxrwxr-x 4 1000 1000 4096 May 12 16:28 2.x +drwxrwxr-x 4 1000 1000 4096 May 12 16:28 2.x\\ 
-drwxrwxr-x 2 1000 1000 4096 May 12 16:28 tce +drwxrwxr-x 2 1000 1000 4096 May 12 16:28 tce\\ 
-drwxrwxr-x 2 1000 1000 4096 May 12 16:28 tcz+drwxrwxr-x 2 1000 1000 4096 May 12 16:28 tcz\\
  
-./2.x: +./2.x:\\ 
-total 4 +total 4\\ 
-drwxrwxr-x 2 1000 1000 4096 May 12 16:28 tcz~/pp~^+drwxrwxr-x 2 1000 1000 4096 May 12 16:28 tcz~/pp~
  
  
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)