Skip to content

Instantly share code, notes, and snippets.

@raprasad
Last active March 29, 2017 16:02
Show Gist options
  • Save raprasad/c310ceb09e1bc093a9bc94d76028ce3f to your computer and use it in GitHub Desktop.
Save raprasad/c310ceb09e1bc093a9bc94d76028ce3f to your computer and use it in GitHub Desktop.

glassfish

  • unpack glassfish 4.1 into new “dv_goodfish” directory
cd ~/Documents/dv_glassfish/
unzip glassfish-4.1.zip  
mv glassfish4 dv_goodfish2

Go to the scripts directory

  1. open Terminal (Terminal 1)
  2. cd ~/NetBeansProjects/dataverse/scripts/installer

Drop dvndb database (if it exists)

  1. Drop script:
  • ./../database/drop-all.sh
  1. Open PgAdmin
  • Right click on dvndb drop

Solr

  1. Open new Terminal
  2. Optional (get new schema)
  • cd ~/Documents/solr-4.6.0/example
  • cp ~/NetBeansProjects/dataverse/conf/solr/4.6.0/schema.xml solr/collection1/conf/schema.xml
  1. Run Solr
  • cd ~/Documents/solr-4.6.0/example/;java -jar start.jar
  1. Clear it from Terminal 1
  • ./../search/clear

Netbeans

  • Make/Build BUT don’t run project
  • Close netbeans

Run installer

  • From Terminal 1: ./install
  • FQDN: 127.0.0.1
  • Glassfish directory: ~/Documents/dv_glassfish/dv_goodfish2

Netbeans (again)

  • Services -> Servers -> Add server

Update jhove.conf

  • Follow step 4 here: https://github.com/IQSS/dataverse/releases
  • Open: ~/Documents/dv_glassfish/dv_goodfish2/glassfish/domains/domain1/config/jhove.conf
  • Set reference to ~jhoveConfig.xsd to the correct location, e.g. full path of:
    • ~/Documents/dv_glassfish/dv_goodfish2/glassfish/domains/domain1/config/jhoveConfig.xsd
@raprasad
Copy link
Author

If needed: re-select the "Glassfish Server"--even if it seems like its ok

project_properties_-dataverse_and_dataverse-netbeans_ide_8_0_2_and_web-inf shell_query_counter _-bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment