2018年9月29日 星期六

Window10 install Jbrowse on subsystem for linux (WSL)

1. install Ubuntu

1.a
Select the Start button and Open Microsoft Store
Search "linux" on Microsoft Store
Select and install Ubuntu


1.b
Type win+x and open Windows Powershell(Admin):
Enter command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

1.c
open Ubuntu and wait for install.
# Now Ubuntu is installed.

2. Install HTTP Server (Apache)

Enter command on Ubuntu :
sudo apt-get install -y apache2

sudo service apache2 start
# Now Apache is installed.
# You can type and check 127.0.0.1 on your web-browser.

3. Install Jbrowse

Enter command on Ubuntu :
sudo apt-get install build-essential zlib1g libpng-dev libexpat1-dev php-gd

wget https://github.com/GMOD/jbrowse/archive/1.15.3-release.zip

unzip 1.15.3-release.zip

sudo mv ~/jbrowse-1.15.3-release /var/www/html/jbrowse

cd /var/www/html

sudo chown `whoami` jbrowse

cd jbrowse

./setup.sh
# Now Jbrowse is installed.
# You can type "127.0.0.1/jbrowse/index.html?data=sample_data/json/volvox" on your web-browser.

沒有留言:

張貼留言

DEseq2 usage