Can a Mac be a full blown web server?

Sten-Erik Björling s-e.bjorling at enviro.se
Fri Jun 26 01:12:24 EDT 2020


Dear all,

Interesting topic… Here are some thoughts…

- It might be a good idea to find a used MacMini with 8GB of ram to be used as a web and app server. Recommend SSD as storage medium. This to simplify the approach described below… 

- I use for my server a product named MAMP Pro that contains an efficient GUI for managing a number of services - Apache, PHP, MySQL etc. and that simplifies the management of SSL implementations. https://www.mamp.info

- The Apache used by MAMP is a standard one - the main issue in regard to performance are the settings used - in close to all installations the settings are set to a very low value not capable of delivering sufficient performance for more than absolute minimum load situations,

- I use Postgres APP as the manager of the Postgres databases - simple to install and use - set to autostart.

- Installation and setting SSL is one thing - you have to evaluate if your ISP fully supports SSL deployment on your own internal server exposing it through the router to the world. In my case my ISP simply closed that route creating a lot of problems for me.

- If the Mac Mini is sufficiently strong then you can also install Omnis App Server on the machine - in the case of MAMP you are limited to use CGI-BIN approach, less performant than the module-based approach but I think sufficient for your needs.

I regard this approach to be the most simple and effective approach for you to use - well known OS and approaches, simple installations and upgrades and a very compact server install that can be placed and maintained with relative ease. If loads increases then you can separate functions into separate stacked Mac Mini computers for minimal space - one for Apache, one for App Server and one for Postgres. And if needs increases even more then of course Linux is the best choice - but then the options has to be re-evaluated...

Take care, all the best…

Stene

______


> 26 juni 2020 kl. 02:36 skrev Gordon Wilson via omnisdev-en <omnisdev-en at lists.omnis-dev.com>:
> 
> Hi Das
> I use an old MacMini www. uuilson. nz (take out the spaces. It's a static website, nothing fancy but you can get them cheap and they take up no room. 
> You could get one that is able to run your App Server.
> : )
> Kind regards, Gordon.



More information about the omnisdev-en mailing list