You can install and run the Debian package (.deb file) of Structr in the new Windows Subsystem for Linux (WSL). Please note that you need administrator privileges to perform this operation.

Steps:

  1. Install and activate the WSL (https://docs.microsoft.com/en-us/windows/wsl/install-win10)
  2. In Windows Powershell (as admin), run the Ubuntu bash
  3. Give yourself root privileges:
    sudo su -
    
  4. Install OpenJDK 8 from a third-party repository:
    apt-add-repository ppa:webupd8team/java
    apt update
    apt install openjdk-8-jdk
    
  5. Download Structr (replace <version> by the version string, e.g. 3.2.1). (Please note that in order to get a free evaluation license key for the full range of modules and features, you need to download via https://structr.com/resources/download.)
    wget https://structr.com/repositories/releases/org/structr/structr/<version>/structr-<version>.deb
    
  6. Install Structr using the Debian package manager:
    dpkg -i structr-<version>.deb
    
  7. Start Structr with the following command:
    service structr start
    
  8. Wait for Structr to start (typically 1-2 minutes, depending on the performance of your system)
  9. Monitor the logfile and wait for the string “Initializiation complete” to appear (press Ctrl-c to exit the logfile)
    tail -100f /var/log/structr.log
    
  10. Access Structr in your browser at http://localhost:8082/structr
  11. When done, you can stop the Structr process:
    service structr stop
    

Graph-Browser

About this article
Last change 2019-05-14
Topics