Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IW 17 As Apache module on Linux ?
#1
After about 6 years of not having used IW, I must say IW 17 is looking very promising Smile and would probably fit an upcoming (early 2020) project perfectly. However... my client does not use Windows  servers, but Debian with Apache. I know that Delphi Rio has support for Linux Web Broker development but I could not find any info on the plans for IW17. So my question is simple: will that be supported ?  (Preferably stand-alone though reverse proxy, but Apache module would also do) TIA !
#2
Hi Bart,

Currently IntraWeb can be deployed on Linux using WINE. According to roadmap native Linux is supported in IW 18. Early 2020 would be optimistic!

https://www.atozed.com/2018/05/hello-15-1/

IW 15.1 will introduce native Apache support on Windows.
#3
The Delphi Linux compiler has some obstacles to make it to Linux. We still have it on our roadmap however.

Wine works fine however and has lessened the requests from customers for native Linux support. We are also looking at Lazarus again and Linux support could come possibly sooner on that.

We still want to do Native Apache on Windows as well, but we've had to detour for CSP.
#4
Linux VPS usually comes without GUI, whereas intraweb is a gui app. Searching for a couple of hours I found this info about installing GUI on linux and installing WINE
https://itstillworks.com/install-desktop...80086.html
https://tecadmin.net/install-wine-on-ubuntu/
#5
Delphi on Linux has been a moving target.. ARC which breaks things then they say they will remove ARC... So our plans for native Linux have been put off again as the Delphi Linux compiler is a moving target.

As other uses posted you can use WINE to deploy it. 17 can do Linux in some limited cases, but for the full IW that you are used to it will remain Windows or WINE on Linux for a bit.
#6
IW on WINE:
https://www.youtube.com/watch?v=9DABf7VCkpo
#7
(11-29-2019, 04:05 PM)kudzu Wrote: IW on WINE:
https://www.youtube.com/watch?v=9DABf7VCkpo
Once I saw that, I decided to put my standalone intraweb server on linux as it is cheaper to rent a linux VPS. But it is just the final view that is in the video. It is really not that easy. It took me a couple of hours to find how to cope with that. You get linux vps without gui! You need to instal gui on linux first as intraweb is not a console app and will not work on linux without gui. See links how to do that in my previous post. You need to do that with Putty app to connect to your server via a console access (I had a trouble with installing putty too. It gave a message "wrong directory". So I had to search how to install putty!). The same way you later install wine. Eventually, to transfer files use filezilla (like windows commander). And the last thing is to connect to your server via remote desktop. Right click on your app and at the bottom set "this file is executable". Again right click on your app and at the top choose "open with wine". It will work at once, not like a windows vps where you need to open the app port in "group policies".
#8
17 will have some Linux options and in fact our own main webserver is *nix and we are already running 17 on it. But the backend is simple REST etc, not the full session and other management we currently offer in Delphi. The "whole enchilada" of IW will be Windows for a bit more. If the Delphi Linux compiler becomes less of a moving target we will consider it again. Till then.. its REST etc.
#9
There is one minor problem with intraweb app on linux with WINE. When your VPS provider does some maintenance, switches off and reboots your VPS, your app won't autostart even if it is a console (service) http.sys one. It is caused by the fact that on reboot, VPS server stops before login whereas wine starts after login.
#10
You can set service dependency order to ensure that WINE starts first.


Forum Jump:


Users browsing this thread: 2 Guest(s)