Last active
June 25, 2024 22:17
-
-
Save JuniYadi/f9f5326857267bd139cec27d05422933 to your computer and use it in GitHub Desktop.
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 Timezone | |
timedatectl set-timezone "Asia/Jakarta" | |
# Update | |
apt-get update | |
apt-get upgrade -y | |
# Install missing deps | |
apt-get install \ | |
curl nano wget vnstat net-tools | |
# Install Speedtest | |
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash | |
apt-get install speedtest | |
# Install GithubCLI | |
mkdir -p -m 755 /etc/apt/keyrings \ | |
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \ | |
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \ | |
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ | |
&& apt-get update \ | |
&& apt-get install gh -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install
OR