Project

General

Profile

« Previous | Next » 

Revision 3019

Added by perry about 18 years ago

Update to reflect newer versions of ant, java sdk and postgres

View differences:

docs/user/metacatinstall.html
6 6
  *     Authors: Chad Berkley
7 7
  *
8 8
  *    '$Author$'
9
  *      '$Date$'
10
  *  '$Revision$'
9
  *    '$Date$'
10
  *    '$Revision$'
11 11
  *
12 12
  *
13 13
  -->
......
60 60
  <p class="header">Minimum Requirements</p> 
61 61
  <p>
62 62
   Installing Metacat requires a server running an SQL92 compliant database
63
   (Oracle 8i recommended) with at least 128MB RAM, and a Pentium III class
63
   (Oracle 8i or Postgresql recommended) with at least 128MB RAM, and a Pentium III class
64 64
   processor or higher.  The amount of disk space required depends on the
65 65
   size of your RDBMS tablespace (which should be at least 10 MB, 
66 66
   however Metacat itself requires only about 1 MB of free space after 
......
94 94
<tr>
95 95
<td>
96 96
  <p class="header">Java</p>
97
  <p>You'll need a recent Java SDK; j2sdk1.4.2 or later is required.  We haven't 
98
  tested with any of the 1.5.x versions yet, so probably best to stay with 1.4.x.
97
  <p>You'll need a recent Java SDK; j2sdk1.4.2 or later is required.  The latest metacat release
98
  has been tested with the <a href="http://java.sun.com/javase/downloads/index.jsp">Sun J2SE Development Kit 5.0 </a>.  
99 99
  Make sure that JAVA_HOME environment variable is properly set and that both
100 100
  java and javac are on your PATH.
101 101
  </p>
......
117 117
  Postgres can be easily installed on most linux distributions and on
118 118
  Windows (using cygwin) and Mac OS X.  Using Fedora Core or RedHat Linux,
119 119
  you can install the rpms for postgres and then run 
120
  <code>/etc/init.d/postgresql start</code> in order to start the database.
120
  <code>/etc/init.d/postgresql start</code> in order to start the database. 
121
  On Ubuntu and other Debian-based Linux distributions, you can use the apt-get command
122
  to install postgres: <code>sudo apt-get install postgresql-8.0</code> and 
123
  then run <code>/etc/init.d/postgresql-8.0 start</code> to start.
124
  
121 125
  This initializes the data files.  You need to do a bit of configuration
122 126
  to create a database and set up a user account and allow internet access
123 127
  via jdbc.  See the postgres documentation for this, but here is a quick 
......
127 131
     <code>host   metacat  metacat      127.0.0.1         255.255.255.255   password</code><br>
128 132
     If your host uses IPv6 addresses, you made need this line instead:
129 133
     <code>host   metacat  metacat      ::1               ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff password</code></li>
130
     <li>Edit the "data/postgres.conf" file and uncomment and edit the line
134
     <li>If you are using Postgresql pre-8.0, you must edit the "data/postgres.conf" file and uncomment and edit the line
131 135
     starting with "tcpip_socket" so that it reads 
132 136
     <code>tcpip_socket = true</code></li>
133 137
     <li>Run <code>createdb metacat</code> to create a new database</li>
......
153 157
   directory named "build.xml".  The Metacat CVS module contains a default
154 158
   build.xml file that may require some modification upon installation.  Ant
155 159
   should be installed on the system and the "ant" executable shell script 
156
   should be available in the users path. We note that the current build is 
160
   should be available in the users path. The latest metacat release was tested with 
161
   Ant 1.6.5. <!-- We note that the current build is 
157 162
   not working with Ant 1.6.x, so you'll need to use an earler version.  We have 
158
   successfully used Ant 1.5.1, 1.5.2, and some earlier versions.
163
   successfully used Ant 1.5.1, 1.5.2, and some earlier versions. -->
159 164
  </p>
160 165
  <p class="header">Tomcat</p>
161 166
  <p>

Also available in: Unified diff