Recently Claris Inc. released a version of FileMaker server for CentOS. They're now following that up with a version for Ubuntu, which is great news for those of us who already use Ubuntu extensively.
At Matatiro Solutions we also use Ansible for our server configuration, management and deployments, so we're very pleased to be able to extend that capability to deploying FileMaker servers as well. If you're not familiar with Ansible, then I'd suggest taking a read of how Ansible works for some background details.
At present the Ubuntu version of FileMaker server is only available to members of the ETS programme, however if you want to be involved with that get in touch with Robert Holsey and I'm sure he'd be happy to add you.
You will need to have Ansible installed on your local machine, if not check out the documentation.
- Download the current version of FileMaker for Ubuntu, unzip the file and place it into
roles > fms > files - Open
group_vars > allin a text editor and update the variables found therefqdnthe domain name which your new FileMaker server will be hosted atadmin_userusername for the admin consoleadmin_passwordthe correspodning password you wish to setadmin_pinthe pin number to be set in case you need to reset the admin passwordinstaller_filenameshould be set to the full name of the installer you downloaded in step 1, e.g.filemaker-server_19.2.2.213_amd64.debssl_keypaste the SSL key you wish to use with your FileMaker server between-----BEGIN PRIVATE KEY-----and-----END PRIVATE KEY-----. In future versions of this playbook we will integrate with Lets Encrypt to avoid this step being necessary.ssl_certpaste your certificate bewteen-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----intermediary_certadd as many intermediary certificates as necesary, each between a set of-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----
- Open
ssh_configin a text editor and update the details there, replacing the domain name, IP address, username and path to the associated ssh key with values applicable to your server. - Open
hostsin a text editor and add your domain name below[fms] - From a command prompt run
ansible-playbook fms.yml -i hosts.
We hope to convert this to a proper Ansible role and add it to Ansible Galaxy once Claris release this version.
It should also be possible to download the installer directly from Claris to the remote server, rather than needing to download the file to the role first.
If you run into any issues, please feel free to get in touch.
Steve Winter
Matatiro Solutions
steve@msdev.co.uk