1
|
<%@ page language="java" %>
|
2
|
<%
|
3
|
/**
|
4
|
* '$RCSfile$'
|
5
|
* Copyright: 2006 Regents of the University of California and the
|
6
|
* National Center for Ecological Analysis and Synthesis
|
7
|
* For Details: http://www.nceas.ucsb.edu/
|
8
|
*
|
9
|
* '$Author: walker $'
|
10
|
* '$Date: 2013-09-17 16:17:55 -0700 (Tue, 17 Sep 2013) $'
|
11
|
* '$Revision: 8222 $'
|
12
|
*
|
13
|
* This program is free software; you can redistribute it and/or modify
|
14
|
* it under the terms of the GNU General Public License as published by
|
15
|
* the Free Software Foundation; either version 2 of the License, or
|
16
|
* (at your option) any later version.
|
17
|
*
|
18
|
* This program is distributed in the hope that it will be useful,
|
19
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
|
* GNU General Public License for more details.
|
22
|
*
|
23
|
* You should have received a copy of the GNU General Public License
|
24
|
* along with this program; if not, write to the Free Software
|
25
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26
|
*/
|
27
|
%>
|
28
|
<html>
|
29
|
<head>
|
30
|
<title>Metacat Configuration Succeeded</title>
|
31
|
<style language="Javascript">
|
32
|
body {
|
33
|
font-family: Arial, sans-serif;
|
34
|
font-size: 12pt;
|
35
|
margin-left: 30px;
|
36
|
margin-right: 30px;
|
37
|
width: 700px;
|
38
|
}
|
39
|
.section {
|
40
|
font-size: 16pt;
|
41
|
font-weight: bold;
|
42
|
border-bottom: solid #dddddd 1px;
|
43
|
}
|
44
|
</style>
|
45
|
</head>
|
46
|
<body>
|
47
|
<p><img src="metacat-logo-white.png" width="100px" align="right"/>
|
48
|
<div class="document">
|
49
|
<h2>Metacat Configuration Succeeded</h2>
|
50
|
</p>
|
51
|
|
52
|
<p>Congratulations!</p>
|
53
|
<p>You have now successfully configured this installation of Metacat. All that
|
54
|
remains is to configure geoserver and restart the metacat servlet for the changes to take effect.
|
55
|
</p>
|
56
|
|
57
|
<br clear="right"/>
|
58
|
<p class="section">Configuring Geoserver</p>
|
59
|
<p>Metacat ships with <a href="http://docs.codehaus.org/display/GEOS/Home">Geoserver</a> to handle the spatial functionality.
|
60
|
Regardless of whether you plan on using the spatial functionality you should,
|
61
|
for security purposes, configure geoserver initially so that it doesn't use
|
62
|
the default password.
|
63
|
To configure geoserver with a new admin password:
|
64
|
<ol>
|
65
|
<li> Point your browser to
|
66
|
<a href="<%= request.getScheme() + "://" +
|
67
|
request.getServerName() + ":" + request.getServerPort() +
|
68
|
request.getContextPath() %>/geoserver.jsp"><%= request.getScheme() + "://" +
|
69
|
request.getServerName() + ":" + request.getServerPort() +
|
70
|
request.getContextPath() %>/geoserver.jsp</a>. </li>
|
71
|
<li> Login using the default username and password ( <em>admin</em> / <em>geoserver</em> ) </li>
|
72
|
<li> Point your browser to
|
73
|
<a href="<%= request.getScheme() + "://" +
|
74
|
request.getServerName() + ":" + request.getServerPort() +
|
75
|
request.getContextPath() %>/config/loginEdit.do"><%= request.getScheme() + "://" +
|
76
|
request.getServerName() + ":" + request.getServerPort() +
|
77
|
request.getContextPath() %>/config/loginEdit.do</a>, enter a new user and password then submit. </li>
|
78
|
<li> In the upper-left, click <em>Apply</em> then <em>Save</em> to save your new password.
|
79
|
|
80
|
|
81
|
</ol>
|
82
|
</p>
|
83
|
|
84
|
<br clear="right"/>
|
85
|
<p class="section">Restarting Metacat</p>
|
86
|
<p>The simplest way to restart metacat is to restart the entire servlet engine.
|
87
|
For Tomcat, this would mean calling "sudo /etc/init.d/tomcat6 restart" or
|
88
|
an equivalent command appropriate to your operating system. After restarting,
|
89
|
you can access your new Metacat server at the URL:
|
90
|
<a href="<%= request.getScheme() + "://" +
|
91
|
request.getServerName() + ":" + request.getServerPort() +
|
92
|
request.getContextPath() %>"><%= request.getScheme() + "://" +
|
93
|
request.getServerName() + ":" + request.getServerPort() +
|
94
|
request.getContextPath() %></a>
|
95
|
</p>
|
96
|
</div>
|
97
|
</body>
|
98
|
</html>
|