Install Structr in the Windows Subsystem for Linux (WSL)
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:
- Install and activate the WSL (https://docs.microsoft.com/en-us/windows/wsl/install-win10)
- In Windows Powershell (as admin), run the Ubuntu bash
- Give yourself
root
privileges:sudo su -
- Install OpenJDK 8 from a third-party repository:
apt-add-repository ppa:webupd8team/java apt update apt install openjdk-8-jdk
- 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
- Install Structr using the Debian package manager:
dpkg -i structr-<version>.deb
- Start Structr with the following command:
service structr start
- Wait for Structr to start (typically 1-2 minutes, depending on the performance of your system)
- 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
- Access Structr in your browser at http://localhost:8082/structr
- When done, you can stop the Structr process:
service structr stop