Wanted to follow up on how the install went. First of all I would like to give a warm thank you to pgr and cherub-chum for your sage guidance and wanted to share a few findings.
Here is the detailed install document that I used https://www.linuxbabe.com/ubuntu/install-suitecrm-ubuntu-20-04-apache-nginx. after following the fine start by pgr here installing on ubuntu 16.04.1.
I installed SuiteCRM 11.20 on Ubuntu Server 20.04 but just changed the download location and folder creation from 11.18 to 11.20 .
As a intermediate step to pgr’s fantastic idea of standing up 2 Hyper V servers with replication using seperate VM’s for webserver and the database I created Hyper 4 VM’s, on my laptop, 2 for development and 2 for production to get it working before I move it to a standalone server.
It is critical to update your Windows host file to match the domain name in /etc/apache2/sites-available/suitecrm.conf and to update /etc/hosts to match it as well or you will receive a 404 file not found error. That made me scratch my head for quite a bit. Actually scream, its been more than a decade since I had to touch a windows host file.
Out of thanks I would like to provide my script to create the VM’s quickly here.
$VMName = 'servername'
$VHDName = '{0}.vhdx' -f $VMName
$VMStoragePath = 'folderonyourPC'
$VHDStoragePath = Join-Path -Path 'folderonyourPC\folderforHDstorage' -ChildPath $VHDName
#$UbuntuISOPath = 'locationofUbuntuServerISO'
New-VM -Name $VMName -MemoryStartupBytes 1024Mb -SwitchName piotek -BootDevice CD -Path $VMStoragePath -Generation 1 -NoVHD
Set-VMMemory -VMName $VMName -DynamicMemoryEnabled $true -MinimumBytes 1024MB -MaximumBytes 2GB
Set-VMProcessor -VMName $VMName -Count 2
New-VHD -Path $VHDStoragePath -SizeBytes 20GB -Dynamic -BlockSizeBytes 1MB
Add-VMHardDiskDrive -VMName $VMName -ControllerType IDE -ControllerNumber 0 -ControllerLocation 0 -Path $VHDStoragePath
Set-VMDvdDrive -VMName $VMName -ControllerNumber 1 -ControllerLocation 0 -Path $UbuntuISOPath
Now if the worst happens I can recreate the SuiteCRM server in 30 minutes. It was a steep learning curve but the rewards are great in linux.
Thank you again pgr and cherub-chum for helping me get this thing up and running as this is my first foray into Linux. After I learn how to add a certificate and manage ssh keys then I can open it up on the internet for use. I also plan to run mautic and freepbx on the same Hyper V. Compared with the salesforce, mailchimp, hosting fees, and Ring Central bundled together open source is saving me $5000 + a year! With AT&T fiber just installed in my area now is the time.
Thank you again.
cvedrene