Current Page:
NeXtMidas Training
Start Here
Hosting
|
|
- Hosting:
- If you will be hosting a session of the NeXtMidas Training Class and wish to
provide additional systems (in addition to the instructor-provided ones) the following
setup is required.
- This setup will ensure that your systems are configured similar to the ones
provided by the instructor.
- This setup is more complicated than the basic NeXtMidas installation since it
attempts to duplicate the installation used by many NeXtMidas systems operating
in the field.
User Accounts
- Create two user accounts:
xmmgr (Group:midas - No xmmgr group)
student (Group:student,midas)
- Both accounts should have tcsh as the default shell.
- The student account should have the password "student" and
the xmmgr account should have the password "xmmgr".
Midas Disk Partitions & Data Directories
/midas --> <disk: ~16MB>
/midas/data1 --> <disk: ~xxGB>
After that is done, we need to setup the user data directories:
chown -R xmmgr:midas /midas
chmod -R 755 /midas
mkdir /midas/data1/xmmgr
chown xmmgr:midas /midas/data1/xmmgr
chmod 775 /midas/data1/xmmgr
mkdir /midas/data1/student
chown student:midas /midas/data1/student
chmod 775 /midas/data1/student
Basic Tools (the version that come with RedHat should be fine)
- nedit
- emacs
- vi
- gcc
- Mozilla
- VNC
- Apache Web Server (Used in the Apache/WebStart section)
Java / NetBeans
Install them in this order:
(1) Java 6 (http://java.sun.com/)
On the Java web page, click "Java SE" on the right and then choose
"JDK 6.0 Update 24 or later".
- Do NOT get the "Java EE" version.
- Do NOT get the RPM version, always use the binary (.bin).
When you install Java 6 it will install into a directory named
"jdk1.6.0_24"; move that whole directory to "/opt/jdk1.6.0_24".
(1B) Create a symbolic link from /opt/java6 to the JDK installation directory.
(2) Java 6 docs (http://java.sun.com/)
On the Java web page, click "Java SE" on the right and then choose
"J2SE 6.0 Documentation" The Java Docs will be a zip file. Copy the
zip file into "/opt/java6docs/" and then unzip it.
(3) NetBeans 6.5 (http://www.netbeans.org/)
Install NetBeans under /opt/netbeans-6.5/, this should be the default.
(4) NetBeans Profiler (this is included in NetBeans 6.5), for prior versions it is a separate download.
(5) NetBeans C/C++ Pack 6.5 (http://www.netbeans.org/)
Java Plugin
- Need to make a link for the Java plugin to work, there are
instructions at the bottom of the Netscape/Mozilla page in
the "Third-Party Interoperability" section of the NeXtMidas
User's Guide.
You can test this out by going to http://nextmidas.techma.com/
nextmidas/, you should be able to run the "NeXtMidas"
Applet and WebStart demos just by clicking the links.
NeXtMidas
- NeXtMidas 2.8.2 (or later)
- Available at: http://nextmidas.techma.com/
- Install in /opt/midas/nxm282
- Create symbolic link to it from student's home directory as "nxmxxx", e.g.
ln -s /opt/midas/nxm282 /home/student/nxmxxx
Fortran Compiler (Used in the X-Midas Interoperability section)
- Intel Fortran Compiler for Linux
(Install under /opt/intel/.../, this should be the default)
X-Midas (Used in the X-Midas Interoperability section)
- X-Midas
- Follow X-Midas installation instructions
Mozilla Configuration (Student Account Only)
- Mozilla does not properly handle some of the necessary
MIME types correctly. It is necessary to manually set
it to use nedit for all files with a .java, .mm, and
.tbl extension.
- Delete the Mozilla "quick links" and make our own:
(1) NeXtMidas Training
(file:///home/student/nxmxxx/htdocs/training/index.html)
(2) NeXtMidas Master Help Index
(file:///home/student/nxmxxx/htdocs/index.html)
(3) Java API
(file:///opt/java6docs/docs/api/index.html)
(4) NeXtMidas Homepage (website)
(http://nextmidas.techma.com/)
The NeXtMidas Training page should also be set as the
homepage for the browser.
.cshrc File (Student Account Only)
- Update the Student's .cshrc file with the following:
setenv JAVAHOME /opt/java6/
setenv PATH "${JAVAHOME}:${PATH}"
setenv NMROOT /home/student/nxmxxx/
alias nmstart 'source ${NMROOT}/os/unix/nmstart'
alias nms nmstart
# This is for use with the Intel Fortran Compiler
setenv NM_FORTRAN "ifort"
source /opt/intel/fc/<ver>/bin/ifortvars.csh
# This is for use with X-Midas
source /etc/midas.cshrc
|
|
|