5. Install Simulations¶
Start the virtual machine and log in:
ssh -p 8015 hjc@dynamicshjc.case.edu
Check for and install system updates on the virtual machine:
sudo apt-get update sudo apt-get dist-upgrade sudo apt-get autoremove
Download JSNeuroSim, the JavaScript code for the neural simulations:
git clone https://github.com/CWRUChielLab/JSNeuroSim.git /var/www/html/JSNeuroSim
Download executables for the Nernst Potential Simulator:
mkdir -p /var/www/html/nernst sudo wget -O /var/www/html/nernst/nernst-v1-0-1-mac-intel.zip https://github.com/CWRUChielLab/nernst/releases/download/v1.0.1/nernst-v1-0-1-mac-intel.zip sudo wget -O /var/www/html/nernst/nernst-v1-0-1b-win.zip https://github.com/CWRUChielLab/nernst/releases/download/v1.0.1b/nernst-v1-0-1b-win.zip sudo wget -O /var/www/html/nernst/nernst-v1-0-1-linux.tar.gz https://github.com/CWRUChielLab/nernst/releases/download/v1.0.1/nernst-v1-0-1-linux.tar.gz
Give the web server ownership of and access to the new files:
sudo chown -R www-data:www-data /var/www/ sudo chmod -R ug+rw /var/www/
The JavaScript simulations should now be accessible. Verify this by visiting
The Nernst Potential Simulator should also be accessible. Verify that these links work:
Shut down the virtual machine:
sudo shutdown -h now
Using VirtualBox, take a snapshot of the current state of the virtual machine. Name it “Simulations installed”.