Service/mirrors: Difference between revisions
m fix command |
m fix order |
||
| Line 127: | Line 127: | ||
</code> | </code> | ||
=====Install mod_dsd===== | |||
Install | |||
<code> | |||
sudo apt-get install libaprutil1-dbd-pgsql | |||
</code> | |||
configure mod_dsd | |||
<code> | |||
sudo cat > /etc/apache2/mods-available/dbd.conf << EOF | |||
<IfModule mod_dbd.c> | |||
DBDriver pgsql | |||
# note that the connection string (which is passed straight through to | |||
# PGconnectdb in this case) looks slightly different - pass vs. password | |||
DBDParams "host=localhost user=mb password=12345 dbname=mb_sugar connect_timeout=15" | |||
</IfModule> | |||
EOF | |||
</code> | |||
====Install and configure mod_mirrorbrain==== | ====Install and configure mod_mirrorbrain==== | ||
| Line 167: | Line 185: | ||
<code> | <code> | ||
sudo apt-get install postgresql-8.4 | sudo apt-get install postgresql-8.4 | ||
</code> | </code> | ||