Created
August 1, 2023 07:43
-
-
Save vlad-ds/3cdd9396a725d44f3448684db3059c1a to your computer and use it in GitHub Desktop.
Initial setup for EC2 Amazon Linux Image (for hosting telegram bots & other use cases)
This file contains hidden or 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 | |
# install requirements | |
sudo yum update -y | |
sudo yum install -y python3-devel | |
sudo yum install -y python3-pip | |
sudo yum install -y git | |
# install github cli | |
type -p yum-config-manager >/dev/null || sudo yum install yum-utils | |
sudo yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo | |
sudo yum install gh# environment variables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment