Project

General

Profile

« Previous | Next » 

Revision 6928

include instructions for installing Sun's Java6 JDK since it is no longer in apt-get repos

View differences:

docs/user/metacat/source/install.rst
187 187
environment variable is properly set and that both ``java`` and ``javac`` 
188 188
are on your PATH. 
189 189

  
190
To install Java if you are running Ubuntu_/Debian, type::
190
To install Java if you are running Ubuntu_/Debian, you can download the appropriate self-extracting installer:: 
191 191

  
192
  sudo apt-get install sun-java6-jdk
192
  wget http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-linux-x64.bin
193
  
194
and follow these commands to install::
195
  
196
  sudo mkdir -p /opt/java/64
197
  sudo mv jdk-6u30-linux-x64.bin /opt/java/64
198
  cd /opt/java/64
199
  sudo chmod +x jdk-6u30-linux-x64.bin
200
  sudo ./jdk-6u30-linux-x64.bin
201
  sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jdk1.6.0_30/bin/java" 1
193 202

  
194
Click "ok" then "yes" for license agreement.
203
You must accept the license agreement during the install process.
195 204

  
196
If you are not using Ubuntu_/Debian, you can get Java from the Oracle_ website.
205
If you are not using Ubuntu_/Debian, you can get Java from the Oracle_ website and install using the RPM or other installer (Windows).
197 206

  
198 207
.. _Ubuntu: http://www.ubuntu.com/
199 208

  
......
212 221

  
213 222
Otherwise, get Tomcat from the `Apache Tomcat`_ page.
214 223

  
224
After installing Tomcat, you can switch back to the Sun JDK by typing::
225

  
226
  sudo update-alternatives --config java
227
  
228
and selecting the correct Java installation.  
229

  
215 230
Apache HTTPD Server (Highly Recommended)
216 231
........................................
217 232
Although you have the option of running Metacat with only the Tomcat server, we

Also available in: Unified diff