Tips and Tricks

From tehowiki
Revision as of 23:17, 20 January 2018 by imported>Gfis (Delphi under Linux)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Running Delphi programs under Linux

  • Install wine and xvfb for headless terminals.
  • For Intraweb applications, determine a free port, for example 8080.
  • Create and fill a MySQL database on the lLinux server, and configure that database in the Delphi application.
  • Move the delphi.exe together with libmysql.dll (version 5.59 extracted from a MySQL-Windows-Distribution) to some directory under Linux.
  • xvfb-run wine delphi.exe, then Ctrl-Z and bg
  • Open the application in a browser with the URL http://www.punctum.com:8080/$/.