This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# libssl1.1, the only missing mongodb dependency. | |
# I prefer enable oldstable in case this get backport security patches | |
echo "deb http://deb.debian.org/debian bullseye main" | sudo tee /etc/apt/sources.list.d/oldstable-bullseye.list | |
# MongoDB 4.4, [end of life Feb 2024](https://www.mongodb.com/support-policy/lifecycles) | |
curl -fsSL https://pgp.mongodb.com/server-4.4.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg --dearmor | |
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list | |
sudo apt-get update && sudo apt-get install mongodb-org-server -y | |
# Unifi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
USAGE() { | |
cat << EOF | |
Usage: ${0##*/} <-i ident.p12> [-p password] <-m profile.mobileprovision> [-a com.example.app] [-n NewName] [-I Info.plist] | |
-i ident.p12 The signing identity file. | |
-p password The password of signing identity file. | |
-m profile.mobileprovision Signing provision profile | |
-a com.example.app Override CFBundleIdentifier |