|
|
(4 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | In order to use iRODS iCommands on Windows, you'll need to follow these steps:
| + | #REDIRECT[[Swestore iRODS is decommissioned]] |
− | | |
− | 1. '''Windows Subsystem for Linux Installation Guide for Windows 10'''
| |
− | | |
− | https://docs.microsoft.com/en-us/windows/wsl/install-win10
| |
− | | |
− | 2. '''Once you have WSL installed you should install your Linux distribution of choice'''
| |
− |
| |
− | - we recommend Ubuntu 18.04 LTS due to binary distributions availability
| |
− | https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-6---install-your-linux-distribution-of-choice
| |
− | | |
− | 3. '''iRODS Packages in APT repositories'''
| |
− | | |
− | Install the public key and add the repository:
| |
− | | |
− | wget -qO - https://packages.irods.org/irods-signing-key.asc | sudo apt-key add -
| |
− | echo "deb [arch=amd64] https://packages.irods.org/apt/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/renci-irods.list
| |
− | sudo apt-get update
| |
− | | |
− | 4. '''iCommand installation and configuration'''
| |
− | | |
− | 5. '''Mounting Network Drives into Windows Subsystem Linux (optional)'''
| |
− | info : https://docs.microsoft.com/sv-se/archive/blogs/wsl/wsl-file-system-support
| |
− | | |
− | Microsoft uses a new type of file system called DrvFs behind the scenes to allow the Linux subsystem to talk to native Windows directories. So you end up mounting a network drive just like you would mount any other media normally.
| |
− | | |
− | Let's say you've got a server on your network usually accessible as \\MyNetworkDrive. To mount it into your WSL, you can do the following:
| |
− | | |
− | sudo mkdir /mnt/mynetworkdrive
| |
− | sudo mount -t drvfs '\\MyNetworkDrive' /mnt/mynetworkdrive
| |
− |
| |
− | Note: Use single quotes to avoid awkwardness around the backslashes in the network drive name.
| |
− | | |
− | If you have mapped the network drive to a drive letter S: on your Windows system already:
| |
− |
| |
− | sudo mkdir /mnt/mynetworkdrive
| |
− | sudo mount -t drvfs S: /mnt/mynetworkdrive
| |
− | | |
− | If you ever want to unmount it:
| |
− | | |
− | sudo umount /mnt/mynetworkdrive
| |