Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:local_appbrowser_server [2011/10/08 22:12] – format littlebat | wiki: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~# | + | ~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. | ||