Project

General

Profile

« Previous | Next » 

Revision 3585

Added by barseghian over 16 years ago

converted txt instructions to html.

View differences:

install_metacat_mac.html
1
<h2>Installing Metacat on Mac OSX (10.4.10)</h2>
2
Author: Matthew Perry, Derik Barseghian<br />
3
Date: 11/05/2007<br />
1
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0//EN">
2
<html>
4 3

  
4
<head>
5
  <title>Metacat Install - Mac OS X</title>
6
  <link rel="stylesheet" type="text/css" href="@docrooturl@default.css">
7
</head>
8

  
9
<body>
10

  
11
<table class="tabledefault" width="100%">
12
<tr><td rowspan="2"><img src="@docrooturl@images/KNBLogo.gif"></td>
13
<td colspan="7">
14
<div class="title">Metacat Install - Mac OS X</div>
15
</td>
16
</tr>
17
<tr>
18
  <td><a href="@server@/" class="toollink"> KNB Home </a></td>
19
  <td><a href="@server@/data.html" class="toollink"> Data </a></td>
20
  <td><a href="@server@/people.html" class="toollink"> People </a></td>
21
  <td><a href="@server@/informatics" class="toollink"> Informatics </a></td>
22
  <td><a href="@server@/biodiversity" class="toollink"> Biocomplexity </a></td>
23
  <td><a href="@server@/education" class="toollink"> Education </a></td>
24
  <td><a href="@server@/software" class="toollink"> Software </a></td>
25
</tr>
26
</table>
27
<hr>
28

  
29
<table class="tabledefault" width="100%">
30
<td class="tablehead" colspan="2"><p class="emphasis">Installing Metacat on Mac OSX (10.4.10)</p></td>
31
<tr>
32
<td>
5 33
<p>
6
This is a terse cheatsheet for metacat with postgres on os X. Please see metacat_install_instructs.html for the full details.
34
Author: Matthew Perry<br />
35
Date: 11/9/2006<br />
36
Updated: 11/04/07 Derik Barseghian<br />
7 37
</p>
8 38

  
9
<h2>* pre-requirements</h2>
10
<h3>install ant, postgres, tomcat using macports</h3>
39
  <p class="emphasis">
40
	This is a terse cheatsheet for installing metacat with postgres on os X. Please see the <a href="../metacatinstall.html">general instructions</a> for the full details.
41
  </p>
42
</td>
43
</tr>
44
</table>
45

  
46
<table class="tabledefault" width="100%">
47
<td class="tablehead" colspan="2"><p class="emphasis">Pre-Requirements</p></td>
48
<tr>
49
<td>
50
</td>
51
</tr>
52
</table>
53

  
54
<h2>Install ant, postgres, tomcat using macports</h2>
11 55
<p>Alternatively, download and install ant, postgres and tomcat from source or using fink.</p>
12 56
<p>
13 57
install <a href="http://www.macports.org/">macports</a>. 
......
27 71
sudo port install tomcat5
28 72
</pre>
29 73

  
30
<h2>* metacat install</h2>
74
<table class="tabledefault" width="100%">
75
<td class="tablehead" colspan="2"><p class="emphasis">Metacat Install</p></td>
76
<tr>
77
<td>
78
</td>
79
</tr>
80
</table>
31 81

  
32
<h3>setup database</h3>
82
<h2>Setup Postgres Database</h2>
33 83
<pre>
34 84
cd /opt/local/lib/postgresql82/
35 85
sudo mkdir data
......
76 126
</pre>
77 127

  
78 128

  
79
<h3>checkout metacat</h3>
129
<h2>Checkout Metacat</h2>
80 130
<pre>
81 131
mkdir ~/cvs_src/
82 132
cd ~/cvs_src
......
85 135
cvs -d:ext:your_cvs_name@cvs.ecoinformatics.org:/cvs co utilities
86 136
</pre>
87 137

  
88
<h3>edit build.properties as needed</h3>
138
<h2>Edit build.properties as needed</h2>
89 139

  
90 140
<pre>
91 141
tomcat=/opt/local/share/java/tomcat5
......
108 158
metacat.dir=/Users/yourname/nceas/metacat
109 159
</pre>
110 160

  
111
<h3>install metacat</h3>
161
<h2>Install Metacat</h2>
112 162
<pre>
113 163
cd metacat
114 164
sudo ant install
......
135 185

  
136 186
<p>
137 187
After restarting, you'll need to fire off the following commands in order to start up postgres/tomcat again:
138

  
139
# Startup
140 188
</p>
189
<p>
190
Startup
191
</p>
141 192
<pre>
142 193
/Users/nceas/Apps/postgres/bin/pg_ctl -D /Users/nceas/Apps/postgres/data/ -l /Users/nceas/Apps/postgres/logfile -m fast start
143 194
/Users/nceas/Apps/apache-tomcat-5.5.20/bin/startup.sh
144 195
</pre>
145 196

  
146 197
<p>
147
# Shutdown
198
Shutdown
148 199
</p>
149 200
<pre>
150 201
/Users/nceas/Apps/apache-tomcat-5.5.20/bin/shutdown.sh
......
154 205
<p>
155 206
You can create two shell scripts with the preceeding commands; start_metacat.sh and stop_metacat.sh
156 207
</p>
208

  
209

  
210
</body>
211
</html>

Also available in: Unified diff