Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Linux server
Message
De
25/01/2007 22:22:38
 
 
À
25/01/2007 21:20:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01189442
Message ID:
01189448
Vues:
11
>can VFP app run in Linux server?

A VFP app usually consists of 2 parts:
- one or more executable files
- data tables

The executables pretty much have to run on Windows boxes. There are some efforts to make them run under a Windows emulator on Linux (e.g. "Wine") but AFAIK those efforts are nowhere near "production-ready" yet.

On the other hand, if the Linux server is running Samba, the Samba server/daemon appears like an SMB (Windows-style) network share to Windows workstations, and can be accessed just like a genuine Windows Server share. So, you can easily store your Fox data tables on it. I have one client doing just that, and I get the impression it's not uncommon these days.

If you go this route, make sure the Linux admin is aware that you'll be hosting VFP tables on it. VFP is probably one of the most stressful apps that can run against an SMB file system; if anything's misconfigured it'll show up fast as table opening failures, file corruptions etc. I think some recent Samba releases have VFP- or FoxPro-specific settings/tweaks in their READMEs - be sure to read/follow them. It would also probably be a good idea to configure Samba to favour reliability over performance.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform