380 likes | 521 Views
NSDI/NBII Clearinghouse Server Training Yellowstone to Yukon Initiative 7. December. 2000 University of Montana Bozeman, MT. Instructor: Phil Hurvitz <mailto:phurvitz@u.washington.edu> GIS Specialist Box 352100 University of Washington College of Forest Resources Seattle, WA, USA 98195-2100.
E N D
NSDI/NBII Clearinghouse Server TrainingYellowstone to Yukon Initiative7. December. 2000University of MontanaBozeman, MT Instructor: Phil Hurvitz<mailto:phurvitz@u.washington.edu>GIS SpecialistBox 352100University of WashingtonCollege of Forest ResourcesSeattle, WA, USA 98195-2100
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Selecting a server machine • Benefits/drawbacks of different platforms • Selecting a server machine • Find a working web server machine • Obtain root access • Build a server yourself_
Selecting a server machine • Benefits/drawbacks of different platforms • Linux • Other UNIX • Windows NT_
Selecting a server machine • Benefits/drawbacks of Linux • + Development platform for Isite • + “Supported” by Net users • + Free • + Runs on cheap hardware • - “Not Supported” … officially • - Open source: easy to crack_
Selecting a server machine • Benefits/drawbacks of other UNIX • + “Supported” • + Generally considered stable • - May need custom Isite compile • - Generally costlier OS • - Generally costlier hardware_
Selecting a server machine • Benefits/drawbacks of Windows NT • + “Supported” • + Fairly cheap OS • + Cheap hardware • - Not very stable OS for server_
Selecting a server machine • Find a working web server machine • Must support TCP/IP ports: • http (usually port 80) • Z39.50 (usually port 210) • Create & specify a web location for the node files_
Selecting a server machine • Obtain root (superuser, administrator) access • Not absolutely necessary • Makes things easier • Have the sysadmin help you set up the node_
Selecting a server machine • Build a server yourself • Download, install, & configure Apache web server • http://www.apache.org_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Install or configure web server • Web server must be working • Metadata records are served as html • Create a root location for Isite database (live exercise)_
Install or configure web server find the most current apache software
lynx download verify download Install or configure web server download apache software
tar (with gzip) Install or configure web server unpack apache software source
read files Install or configure web server view installation instructions
configurewith options Install or configure web server configure for installation
Install or configure web server make (compile) the software
install in finallocation Install or configure web server make (compile) the software
install in finallocation Install or configure web server test installation of apache
Install or configure web server test installation of apache
create links Install or configure web server alter the index.html page
Install or configure web server alter the index.html page
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Install Isite & related tools • Download latest version for your architecture • Precompiled versions are easiest • Precompiled versions are stable • Source code can be scrutinized • Follow installation instructions (live exercise)_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Test Isite • Use test database from Isite installation • May need to alter .ini files • Use command-line zclient (live exercise)_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index your metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Create Isite database • Index your metadata records • Iindex …. • Update server .ini files (live exercise)_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Test your database • Test your database • Command-line zclient (live exercise)_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Register your site with FGDC • Register your site with FGDC • www.fgdc.gov/?? (live exercise)_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
Automate database indexing • Automate database indexing • Create/alter a script • checking status of records • updating Isite database • Use crontab entry to run script at regular intervals (live exercise)_
Overview • Select a server machine • Install or configure web server • Install Isite & related tools • Test Isite • Index metadata records • Test the database • Register with FGDC • Automate database indexing • On-line Metadata Entry System
On-line Metadata Entry System (MES) • Alter source perl scripts • Test MES • Add users • Add records • Delete records • Test index (live exercise)_