Skip to content

Instantly share code, notes, and snippets.

View sunnyuff's full-sized avatar
🎯
Focusing AWS CDK

Sunny Jhunjhunwala sunnyuff

🎯
Focusing AWS CDK
  • Dreamtek / The Virtual Forge
  • Dubai
View GitHub Profile
@sunnyuff
sunnyuff / install_ant-media-server.sh
Created May 10, 2020 04:48
Amazon ec2 linux2 - install script for Ant Media Server
#!/bin/bash
#
# Download latest ant media server and run this script by giving the zip file
# ./install_ant-media-server.sh ant-media-server-*.zip
# If you want to save setting from previous installation add argument true
# ./install_ant-media-server.sh ant-media-server-*.zip true
AMS_BASE=/usr/local/antmedia
BACKUP_DIR="/usr/local/antmedia-backup-"$(date +"%Y-%m-%d_%H-%M-%S")