Revision 6929
Added by ben leinfelder almost 13 years ago
docs/user/metacat/source/install.rst | ||
---|---|---|
225 | 225 |
|
226 | 226 |
sudo update-alternatives --config java |
227 | 227 |
|
228 |
and selecting the correct Java installation.
|
|
228 |
and selecting the correct Java installation. |
|
229 | 229 |
|
230 |
If using Tomcat with Apache/mod_jk, enable the AJP connector on port 8009 by uncommenting that section in:: |
|
231 |
|
|
232 |
<tomcat_home>/conf/server.xml |
|
233 |
|
|
230 | 234 |
Apache HTTPD Server (Highly Recommended) |
231 | 235 |
........................................ |
232 | 236 |
Although you have the option of running Metacat with only the Tomcat server, we |
... | ... | |
344 | 348 |
|
345 | 349 |
sudo cp <metacat_helper_dir>/knb <apache_install_dir>/sites-available |
346 | 350 |
sudo a2ensite knb |
351 |
|
|
352 |
5. Disable the default Apache site configuration: |
|
347 | 353 |
|
348 |
5. Restart Apache to bring in changes by typing:
|
|
354 |
::
|
|
349 | 355 |
|
356 |
sudo a2ensite 000-default |
|
357 |
|
|
358 |
6. Restart Apache to bring in changes by typing: |
|
359 |
|
|
350 | 360 |
:: |
351 | 361 |
|
352 | 362 |
sudo /etc/init.d/apache2 restart |
... | ... | |
370 | 380 |
|
371 | 381 |
:: |
372 | 382 |
|
373 |
/etc/init.d/postgresql start
|
|
383 |
sudo /etc/init.d/postgresql-8.4 start
|
|
374 | 384 |
|
375 | 385 |
3. Change to postgres user: |
376 | 386 |
|
... | ... | |
383 | 393 |
|
384 | 394 |
:: |
385 | 395 |
|
386 |
gedit /etc/postgresql/8.3/main/pg_hba.conf
|
|
396 |
gedit /etc/postgresql/8.4/main/pg_hba.conf
|
|
387 | 397 |
|
388 | 398 |
|
389 | 399 |
Add the following line to the configuration file: |
... | ... | |
425 | 435 |
|
426 | 436 |
:: |
427 | 437 |
|
428 |
/etc/init.d/postgresql-8.3 restart
|
|
438 |
/etc/init.d/postgresql-8.4 restart
|
|
429 | 439 |
|
430 | 440 |
9. Log out of the postgres user account by typing: |
431 | 441 |
|
... | ... | |
450 | 460 |
more information about configuring the database, please see Database |
451 | 461 |
Configuration. |
452 | 462 |
|
453 |
Installing and Configuring Oracle 8i
|
|
463 |
Installing and Configuring Oracle |
|
454 | 464 |
.................................... |
455 |
To use Oracle 8i with Metacat, the Oracle RDBMS must be installed and running
|
|
465 |
To use Oracle with Metacat, the Oracle RDBMS must be installed and running |
|
456 | 466 |
as a daemon on the system. In addition the JDBC listener must be enabled. |
457 | 467 |
Enable it by logging in as an Oracle user and typing:: |
458 | 468 |
|
... | ... | |
526 | 536 |
|
527 | 537 |
:: |
528 | 538 |
|
529 |
/etc/init.d/tomcat6 restart |
|
539 |
sudo /etc/init.d/tomcat6 restart
|
|
530 | 540 |
|
531 | 541 |
Congratulations! You have now installed Metacat. If everything is installed |
532 | 542 |
correctly, you should see the Authentication Configuration screen (Figure 2.1) |
Also available in: Unified diff
-include instructions about enabling AJP connector in Tomcat config
-use postgres 8.4
-include hint to disable default Apache site (otherwise the knb config never gets used!)