Automating setup of a Jamf Pro server on Ubuntu LTS
I recently had a need to set up an on-premise Jamf Pro server for some quick testing. In this case, I needed to set up a Jamf Pro server with the following characteristics:
- MySQL 8.x installed on the same server as the Jamf Pro Tomcat software
- Jamf Pro set up as a single instance and not clustered.
To help simplify the process, I went back to some previous work. I had previously written a script for AWS’s Lightsail service which does the following on Ubuntu LTS:
- Downloads a Jamf Pro installer from a defined download URL
- Installs OpenJDK 11, MySQL 8.x Community Server and other tools
- Creates a new MySQL database for Jamf Pro’s use
- Installs Jamf Pro
- Configures Jamf Pro to use the new MySQL database
I’ve now updated it to do the following on Ubuntu 22.04 LTS:
- Downloads the Jamf Pro 11.x installer from a defined download URL
- Installs OpenJDK 11, MySQL 8.x Community Server and other tools
- Creates a new MySQL database for Jamf Pro’s use
- Installs Jamf Pro 11.x
- Configures Jamf Pro 11.x to use the new MySQL database
Even though it was written for use with Lightsail, the script should work on any Ubuntu 22.04 LTS install. It’s available via the link below:
https://github.com/rtrouton/aws_lightsail/tree/master/lightsail_jamf_pro_setup/lightsail_jamf_pro_setup_with_mysql_8
文章来源: https://derflounder.wordpress.com/2023/11/28/automating-setup-of-a-jamf-pro-server-on-ubuntu-lts/
如有侵权请联系:admin#unsafe.sh