Skip to content

Instantly share code, notes, and snippets.

@JuniYadi
Last active June 25, 2024 22:17
Show Gist options
  • Save JuniYadi/f9f5326857267bd139cec27d05422933 to your computer and use it in GitHub Desktop.
Save JuniYadi/f9f5326857267bd139cec27d05422933 to your computer and use it in GitHub Desktop.
#!/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
@JuniYadi
Copy link
Author

JuniYadi commented Apr 27, 2024

Install

curl -sL https://t.ly/mL6Q4 | bash

OR

curl -sL https://gist.githubusercontent.com/JuniYadi/f9f5326857267bd139cec27d05422933/raw | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment