Linux Installation
- Install dotnet 8 on your version of linux using the link here
- Open a terminal window on your linux device
- navigate to
~
cd ~
- Create a new folder for World of Workflows
mkdir WoW cd WoW
- In your browser, navigate to the latest release folder
- Right Click WorldOfWorkflowsxPE_xxx_linux_x64.zip
- Download to your linux pc using a command like the one below:
wget https://github.com/World-of-Workflows/WorkflowsUniversity/releases/download/1.7.539/WorldOfWorkflowsPE_1.7.539_linux-x64.zip
- Extract World of Workflows using the following command
unzip WorldOfWorkflowsPE_1.7.539_linux-x64.zip rm WorldOfWorkflowsPE_1.7.539_linux-x64.zip
- copy the files to their production location
sudo cp -r . /var/www/WorldOfWorkflows
- Create a new Service file
sudo nano /etc/systemd/system/kestrel-wow.service
- Enter the following information
[Unit] Description=World of Workflows 1.7 [Service] WorkingDirectory=/var/www/WorldofWorkflows ExecStart=/var/www/WorldofWorkflows/HubOneWorkflowsApp.Server Restart=always # Restart service after 10 seconds if the dotnet service crashes: RestartSec=10 KillSignal=SIGINT SyslogIdentifier=world-of-workflows User=root Environment=ASPNETCORE_ENVIRONMENT=Production Environment=DOTNET_NOLOGO=true [Install] WantedBy=multi-user.target
- Start the service with the following command
sudo systemctl start kestrel-wow
- Check the service is running with
sudo systemctl status kestrel-wow
- You should see the following
● kestrel-wow.service - World of Workflows 1.7 Loaded: loaded (/etc/systemd/system/kestrel-wow.service; enabled; preset: disabled) Active: active (running) since Thu 2024-02-29 12:44:42 AEDT; 26min ago Main PID: 177798 (HubOneWorkflows) Tasks: 24 (limit: 48864) Memory: 342.5M CPU: 10.471s CGroup: /system.slice/kestrel-wow.service └─177798 /var/www/WorldofWorkflows/HubOneWorkflowsApp.Server
- If the service is not running, try the following steps:
- Change the permissions on the executable
sudo chmod 777 /var/www/WorldofWorkflows/HubOneWorkflowsApp.Server sudo systemctl start kestrel-wow
- Change the SELinux policy. Note, Changing SEinux policies can be complex and depends on your specific setup. The step belwo sets the file to a permissive tyope to test if SELinux is the issue
sudo chcon -t bin_t /var/www/WorldofWorkflows/HubOneWorkflowsApp.Server
- Change the permissions on the executable
- Finally, to connect to World of Workflows using https, you need to trust the dotnet certificate. You do this using the following command:
dotnet dev-certs https --trust
- You may need to trust the certificate. To do this, follow the instructions below:
- Export the certificate to a file
dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx -p <password>
- Convert to PEM Format
openssl pkcs12 -in ${HOME}/.aspnet/https/aspnetapp.pfx -out ${HOME}/.aspnet/https/aspnetapp.pem -nodes -password pass:<password>
- Add to trusted stores
- Ubuntu/Debian
sudo cp ${HOME}/.aspnet/https/aspnetapp.pem /usr/local/share/ca-certificates/aspnetapp.crt sudo update-ca-certificates
- Fedora/RedHat
sudo cp ${HOME}/.aspnet/https/aspnetapp.pem /etc/pki/ca-trust/source/anchors/ sudo update-ca-trust
- Ubuntu/Debian
- Export the certificate to a file
To run World of Workflows, go to https://localhost:7063/admin