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 [2009/03/26 12:25] morten add bit about java alternatives |
installing_from_source_on_debian [2010/02/10 11:49] lkarsten |
||
---|---|---|---|
Line 26: | Line 26: | ||
<code> | <code> | ||
- | sudo aptitude install perl python sun-java6-jdk, apache2-mpm-prefork \ | + | sudo aptitude install perl python sun-java6-jdk apache2-mpm-prefork \ |
cricket postgresql-8.3 libapache2-mod-python \ | cricket postgresql-8.3 libapache2-mod-python \ | ||
libpg-java libpg-perl libsnmp1.4-java \ | libpg-java libpg-perl libsnmp1.4-java \ | ||
Line 92: | Line 92: | ||
:!: Then, take the password you chose for the database user and put this as the value to the ''userpw_nav'' option in ''/usr/local/nav/etc/db.conf''. | :!: Then, take the password you chose for the database user and put this as the value to the ''userpw_nav'' option in ''/usr/local/nav/etc/db.conf''. | ||
- | ===== Fixing Python ===== | + | ===== Fixing Python library path ===== |
We do this because we don't install the libraries to the systemwide Python library directories. We do however want them available for use systemwide: | We do this because we don't install the libraries to the systemwide Python library directories. We do however want them available for use systemwide: | ||
<code> | <code> | ||
- | sudo bash -c 'cat << EOF > /usr/local/lib/python2.5/site-packages/sitecustomize.py | + | sudo bash -c 'cat << EOF >> /etc/python2.5/sitecustomize.py |
import sys | import sys | ||
__navpath = "/usr/local/nav/lib/python" | __navpath = "/usr/local/nav/lib/python" |