Revision 9136
Added by ben leinfelder almost 10 years ago
docs/user/metacat/source/submitting.rst | ||
---|---|---|
60 | 60 |
|
61 | 61 |
To install and run the Registry: |
62 | 62 |
|
63 |
1. Build the Metacat Perl client library: |
|
64 | 63 |
|
65 |
:: |
|
64 |
1. Install the required system libraries using Ubuntu/Debian (instructions |
|
65 |
Red Hat in sidebar) |
|
66 |
|
|
67 |
* Install the libraries |
|
66 | 68 |
|
67 |
cd $METACAT/src/perl/Metacat |
|
68 |
perl Makefile.PL |
|
69 |
sudo make |
|
70 |
sudo make install |
|
69 |
:: |
|
71 | 70 |
|
71 |
sudo apt-get install ant libappconfig-perl libxml-libxml-perl \ |
|
72 |
libxml-libxslt-perl libtemplate-perl libcgi-session-perl \ |
|
73 |
build-essential libnet-ldap-perl libterm-readkey-perl \ |
|
74 |
libxml-dom-perl libsoap-lite-perl -y |
|
75 |
|
|
76 |
* Install two more package using cpan |
|
77 |
|
|
78 |
:: |
|
79 |
|
|
80 |
sudo cpan -i Digest::SHA1 |
|
81 |
sudo cpan -i Config::Properties |
|
82 |
sudo cpan -i Scalar::Util |
|
83 |
sudo cpan -i Captcha:reCAPTCHA |
|
84 |
sudo cpan -i DateTime |
|
85 |
|
|
86 |
|
|
87 |
|
|
72 | 88 |
.. sidebar:: Instructions for Red Hat (Alternate Step 2) |
73 | 89 |
|
74 | 90 |
* Install the libraries |
... | ... | |
119 | 135 |
install DateTime |
120 | 136 |
|
121 | 137 |
|
122 |
2. Install the required system libraries using Ubuntu/Debian (instructions |
|
123 |
Red Hat in sidebar) |
|
124 |
|
|
125 |
* Install the libraries |
|
126 | 138 |
|
127 |
:: |
|
128 |
|
|
129 |
sudo apt-get install ant libappconfig-perl libxml-libxml-perl \ |
|
130 |
libxml-libxslt-perl libtemplate-perl libcgi-session-perl \ |
|
131 |
build-essential libnet-ldap-perl libterm-readkey-perl \ |
|
132 |
libxml-dom-perl libsoap-lite-perl -y |
|
133 |
|
|
134 |
* Install two more package using cpan |
|
135 |
|
|
136 |
:: |
|
137 |
|
|
138 |
sudo cpan -i Digest::SHA1 |
|
139 |
sudo cpan -i Config::Properties |
|
140 |
sudo cpan -i Scalar::Util |
|
141 |
sudo cpan -i Captcha:reCAPTCHA |
|
142 |
sudo cpan -i DateTime |
|
143 |
|
|
144 |
|
|
145 |
3. Double-check that Metacat's temporary folder, application.tempDir, is |
|
139 |
2. Double-check that Metacat's temporary folder, application.tempDir, is |
|
146 | 140 |
writable by the apache user, usually www-data or apache. |
147 | 141 |
|
148 |
4. Make sure that the following scripts (found in ``<tomcat-home>/webapps/metacat/cgi-bin``)
|
|
142 |
3. Make sure that the following scripts (found in ``<tomcat-home>/webapps/metacat/cgi-bin``)
|
|
149 | 143 |
are executable: register-dataset.cgi and ldapweb.cgi. |
150 | 144 |
|
151 | 145 |
:: |
152 | 146 |
|
153 | 147 |
sudo chmod +x <tomcat-home>/webapps/metacat/cgi-bin/*.cgi |
154 | 148 |
|
155 |
5. Restart Apache.
|
|
149 |
4. Restart Apache.
|
|
156 | 150 |
|
157 | 151 |
:: |
158 | 152 |
|
159 | 153 |
sudo /etc/init.d/apache2 restart |
160 | 154 |
|
161 |
6. Visit the resulting URL:
|
|
155 |
5. Visit the resulting URL:
|
|
162 | 156 |
http://<your_context_url>/cgi-bin/register-dataset.cgi?cfg=default |
163 | 157 |
Where ``<your_context_url>`` is the URL of the server hosting the Metacat |
164 | 158 |
followed by the name of the WAR file (i.e., the application context) that |
Also available in: Unified diff
remove unnecessary Make step in registry installation instructions.
https://projects.ecoinformatics.org/ecoinfo/issues/6678