This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
installing_from_source_on_debian [2008/05/02 06:23] morten fix cricket doc |
installing_from_source_on_debian [2008/05/06 09:14] morten cricket data dir fix |
||
---|---|---|---|
Line 198: | Line 198: | ||
Optionally make the nav process control command more available: ''sudo ln -s /usr/local/nav/bin/nav /usr/sbin/nav'' | Optionally make the nav process control command more available: ''sudo ln -s /usr/local/nav/bin/nav /usr/sbin/nav'' | ||
+ | |||
Line 237: | Line 238: | ||
</code> | </code> | ||
- | Decide where you want Cricket to store it's datafiles, and create that directory as navcron. | + | Create a directory to store Cricket's data files, and give ''navcron'' ownership of that directory. |
- | <code>sudo -u navcron mkdir /usr/local/nav/var/cricket-data/</code> | + | <code> |
+ | sudo mkdir /usr/local/nav/var/cricket-data | ||
+ | sudo chown navcron /usr/local/nav/var/cricket-data | ||
+ | </code> | ||
Go to the cricket-config directory and edit the "Defaults" file. Replace the Datadir with the correct path to cricket-data. Don't forget the %auto-target-path% | Go to the cricket-config directory and edit the "Defaults" file. Replace the Datadir with the correct path to cricket-data. Don't forget the %auto-target-path% | ||
Line 269: | Line 273: | ||
sudo ./nav start cricket | sudo ./nav start cricket | ||
</code> | </code> | ||
+ | |||
+ | |||
Line 292: | Line 298: | ||
</code> | </code> | ||
- | Create .htaccess-file to remove python handling this directory. | + | Create .htaccess-file to make sure mod_python doesn't handle this directory. |
<code> | <code> | ||
- | vim .htaccess | + | sudo bash -c 'echo "SetHandler none" > .htaccess' |
- | + | ||
- | SetHandler none | + | |
- | + | ||
- | :wq | + | |
</code> | </code> |