CHASM install

From Chasm Software Wiki

Revision as of 19:25, 24 November 2010 by Mryan (Talk | contribs)
Jump to: navigation, search

Contents

Installing for the first time

  • Please ensure that your machine satisfies all necessary System Prerequisites.
  • If you are installing the full CHASM system, please follow the instructions in the following sections:
    • Installing CHASM
    • Setting up SNV-Box Database
  • If you are installing just the SNV-Box component, please follow the instructions in the following sections:
    • Installing SNV-Box Only
    • Setting up SNV-Box Database

Installing CHASM

  1. Please download the CHASM install pack and extract the files to a location of your choice:
    > tar xvzf CHASMDL.tar.gz
    
  2. Set up system parameters (If you are using bash, please add the following commands to .bashrc):
    > export CHASMDIR= (installation directory)/CHASM
    > export LD_LIBRARY_PATH=$CHASMDIR:$LD_LIBRARY_PATH
    

    If not, please add the equivalent commands to the appropriate profile script for the shell that you are using.

Installing SNV-Box Only

  1. Please download a copy of SNV-Box and extract the files to a location of your choice.
  2. Set up system parameters (If you are using bash, please add the following commands to .bashrc):
    > export CHASMDIR= (installation directory)/CHASM
    > export LD_LIBRARY_PATH=$CHASMDIR:$LD_LIBRARY_PATH
    

    If not, please add the equivalent commands to the appropriate profile script for the shell that you are using.

Setting up SNV-Box Database

  1. Please download a copy of the latest SNV-Box MySQL database. Warning: this is a large file and will require ~ 45 Gigabytes of space for the file and the loaded mysql database will also require ~40 Gb. After the database is loaded, you can delete the load file to reclaim the space.
  2. As root on MySQL, please create a database named "CHASM" and a user to access this database:
  3. > create database CHASM
    > grant ALL Privileges on CHASM.* to chasm_user@localhost identified by 'dfltPass!';
    
  4. On the commandline, please load the download dump file of SNVBox schema/data
  5. > gunzip < [Dump-filename].sql.gz | mysql -u chasm_user -p CHASM
    Password: dfltPass!
    
  6. Please enter the correct MySQL information in the configuration file snv_box.conf (located in (Installation directory)/CHASM if you did the full CHASM installation or (Installation directory)/SNVBOX if you only installed SNV-Box): (Note: If default options are used and you are running SNV-Box on localhost, this file does not need to be edited):
  7. ; SNV-Box configuration file
    ; Contains the Database specifications
    
    ; Database specifications
    chasmDB=[SNV-Box MySQL Database name]
    db.user=[MySQL username]
    db.password=[MySQL password]
    db.host=[MySQL Server location]
    db.port=[MySQL Server port number]
    
Personal tools