Project

General

Profile

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: leinfelder $'
10
 *     '$Date: 2011-10-27 16:01:53 -0700 (Thu, 27 Oct 2011) $'
11
 * '$Revision: 6558 $'
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.png" width="100px" align="right"/> 
48
<h2>Metacat Configuration Succeeded</h2>
49
</p>
50

    
51
<p>Congratulations!</p>
52
<p>You have now successfully configured this installation of Metacat. All that
53
   remains is to configure geoserver and restart the metacat servlet for the changes to take effect.
54
</p>
55

    
56
<br clear="right"/>
57
<p class="section">Configuring Geoserver</p>
58
<p>Metacat ships with <a href="http://docs.codehaus.org/display/GEOS/Home">Geoserver</a> to handle the spatial functionality.
59
   Regardless of whether you plan on using the spatial functionality you should,
60
   for security purposes, configure geoserver initially so that it doesn't use
61
   the default password.
62
   To configure geoserver with a new admin password:
63
   <ol>
64
    <li> Point your browser to 
65
     <a href="<%= request.getScheme() + "://" +
66
       request.getServerName() + ":" + request.getServerPort() +
67
              request.getContextPath() %>/geoserver.jsp"><%= request.getScheme() + "://" +
68
	                      request.getServerName() + ":" + request.getServerPort() +
69
			                      request.getContextPath() %>/geoserver.jsp</a>. </li>
70
     <li> Login using the default username and password ( <em>admin</em> / <em>geoserver</em> ) </li>
71
    <li> Point your browser to 
72
     <a href="<%= request.getScheme() + "://" +
73
       request.getServerName() + ":" + request.getServerPort() +
74
              request.getContextPath() %>/config/loginEdit.do"><%= request.getScheme() + "://" +
75
	                      request.getServerName() + ":" + request.getServerPort() +
76
			                      request.getContextPath() %>/config/loginEdit.do</a>, enter a new user and password then submit. </li>
77
     <li> In the upper-left, click <em>Apply</em> then <em>Save</em> to save your new password.
78

    
79

    
80
    </ol>
81
</p>
82

    
83
<br clear="right"/>
84
<p class="section">Restarting Metacat</p>
85
<p>The simplest way to restart metacat is to restart the entire servlet engine.
86
   For Tomcat, this would mean calling "sudo /etc/init.d/tomcat6 restart" or
87
   an equivalent command appropriate to your operating system. After restarting,
88
   you can access your new Metacat server at the URL:
89
   <a href="<%= request.getScheme() + "://" + 
90
       request.getServerName() + ":" + request.getServerPort() +
91
       request.getContextPath() %>"><%= request.getScheme() + "://" + 
92
                request.getServerName() + ":" + request.getServerPort() +
93
                request.getContextPath() %></a>
94
</p>
95

    
96
</body>
97
</html>
(6-6/16)