vdjviz icon indicating copy to clipboard operation
vdjviz copied to clipboard

How to start vdjviz: worked solution

Open github-wow opened this issue 2 years ago • 0 comments

I spent ~3wks googling almost 24/7...

Thanks to the following people/ideas/posts/suggestions/comments/solutions/questions/answers: https://github.com/antigenomics/vdjviz/issues/44#issue-988980903 https://github.com/antigenomics/vdjviz/issues/43#issue-959875923 https://github.com/antigenomics/vdjviz/issues/43#issuecomment-913330278 https://github.com/antigenomics/vdjviz/issues/41#issue-286419158 https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 https://askubuntu.com/questions/175514/how-to-set-java-home-for-java https://askubuntu.com/a/175519/754619 https://www.cyberciti.biz/faq/how-to-open-firewall-port-on-ubuntu-linux-12-04-14-04-lts/ https://stackoverflow.com/questions/25027891/play-framework-application-not-available-outside-host https://stackoverflow.com/a/25028804/1009306 https://www.cyberciti.biz/faq/howto-configure-setup-firewall-with-ufw-on-ubuntu-linux/ https://ubuntu.com/server/docs/security-firewall @Kaj-cyber, @nukaemon, @snajder-r, @xww52526, @mikessh, @bvdmitri

Host: Edition: Windows 10 Home Version: 21H2 OS build: 19044.1645

To do: Install VirtualBox + VirtualBox Extension Pack (for external USB) Pack: https://www.thewindowsclub.com/virtualbox-failed-to-attach-the-usb-device-to-the-virtual-machine Install on VirtualBox: ubuntu-16.04.7-desktop-amd64.iso https://releases.ubuntu.com/16.04.7/ubuntu-16.04.7-desktop-amd64.iso Restart the Host

Start VirtualBox with Ubuntu-16.04. In Terminal:

sudo apt-get update
sudo apt-get install default-jdk
java -version # should see "1.8.0_292"

Done but didn't check whether it is necessary: Open nano editor:

sudo nano /etc/environment

Copy/paste the following lines at the end:

JAVA_HOME=/usr/lib/jvm/java-8-oracle
export JAVA_HOME

Exit nano by pressing Ctrl+X, then: Y, Enter. In Terminal:

. /etc/environment
echo $JAVA_HOME # should see: "/usr/lib/jvm/java-8-oracle"

Maybe it is not necessary: Open ./application.conf file. Change: "createDefaultUsers=false" (default) to "createDefaultUsers=true"

In Terminal:

./vdjviz-1.0.4/
bash ./bin/vdjviz -Dconfig.file=./conf/application.conf

Ignore: "OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0" When one can see: "[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000" it means the server is started

In browser:

localhost:9000
email: [email protected]
pw: vdjviz1

Enjoy!

github-wow avatar May 03 '22 18:05 github-wow