Update your Mac to latest version of macOS.
xcode-select --install
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: 'Static Website High Availability with Autoscaling' | |
| Parameters: | |
| KeyName: | |
| Type: AWS::EC2::KeyPair::KeyName | |
| Description: The name of an existing EC2 KeyPair to enable SSH access to the instances | |
| Resources: | |
| VPC: | |
| Type: AWS::EC2::VPC |
| from flask import Flask | |
| import socket | |
| import requests | |
| app = Flask(__name__) | |
| IMDS_URL = "http://169.254.169.254/latest" | |
| TOKEN_URL = f"{IMDS_URL}/api/token" | |
| def get_metadata(path): |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: 'Create a VPC with public subnet and launch an EC2 instance' | |
| Parameters: | |
| InstanceType: | |
| Description: EC2 instance type | |
| Type: String | |
| Default: t2.micro | |
| AllowedValues: | |
| - t2.micro |
1.1 Download Janssen archieve: wget https://github.com/JanssenProject/jans/archive/refs/heads/jans-linux-setup-gluu2flex-migration.zip
1.2 Extract archieve: unzip jans-linux-setup-gluu2flex-migration.zip
1.3 Execute script: python3 jans-jans-linux-setup-gluu2flex-migration/jans-linux-setup/tools/gluu2flex-migration/gluu2flex.py
Before procceding, make sure that you have the backup. In case any failure, you can revert back and restart these steps. Let's start:
Install postgresql server on your system (version should be at least 14.0) or any host that can be reachable from gluu host.
Let's install postgresql with the following command:
| #!/bin/sh | |
| # Uncomment this is you want some more verbose output to see what is happening | |
| #set -x | |
| ## Variables | |
| # Change this directory name if you want to place these somewhere else | |
| _projectdir=~/projects | |
| _gitrepo=https://github.com/mkubecek/vmware-host-modules.git | |
| if [ $(grep -q "workstation.product.version" /etc/vmware/config;echo $?) -eq 0 ];then |