Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:local_appbrowser_server [2011/04/18 07:25] – external edit 127.0.0.1 | wiki: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:// | In the example, TC 1.x TCZ repo would now be at http:// | ||
- | ^~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~# | + | ~pp~# |
rm info.lst | rm info.lst | ||
- | |for i in `ls -1 *.info|sort -f`; do| | + | for i in `ls -1 *.info|sort -f`; do |
| | ||
done | done | ||
gzip -c9 info.lst > info.lst.gz | gzip -c9 info.lst > info.lst.gz | ||
- | ~/pp~^ | + | ~/pp~ |
+ | </ | ||
====== 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. (/ | 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. (/ | ||
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: | ||
+ | < | ||
TC 1.x: | TC 1.x: | ||
- | ^~pp~Mirror: myserver.local/ | + | ~pp~Mirror: myserver.local/ |
Protocol: http | Protocol: http | ||
- | Repository: tce~/pp~^ | + | Repository: tce~/pp~ |
TC 2.x: | TC 2.x: | ||
- | ^~pp~Mirror: myserver.local/ | + | ~pp~Mirror: myserver.local/ |
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:// | + | http:// |
+ | </ | ||
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. | ||