Skip to content

Some Bash scripts that run when I install a new Ubuntu Server image on one of my servers.

License

Notifications You must be signed in to change notification settings

Jaid/setup-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d1ce26c · Feb 25, 2024
Jul 29, 2022
Oct 26, 2023
Sep 11, 2022
Feb 25, 2024
Oct 15, 2023
Feb 24, 2024
Feb 10, 2020
May 20, 2019
Oct 26, 2023
Oct 26, 2023
May 20, 2019
Oct 15, 2023
Jul 28, 2022
Jul 28, 2022

Repository files navigation

setup-server

Instruction

Create config

DEBIAN_FRONTEND=noninteractive sudo apt-get --option Acquire::Retries=60 --option Acquire::http::Timeout=180 --yes update && DEBIAN_FRONTEND=noninteractive sudo apt-get --option Acquire::Retries=60 --option Acquire::http::Timeout=180 --yes upgrade && DEBIAN_FRONTEND=noninteractive sudo apt-get --option Acquire::Retries=60 --option Acquire::http::Timeout=180 --yes install curl && mkdir --parents "$HOME/temp" && curl --location --retry 3 --fail --silent --show-error --header 'Cache-Control: no-cache' https://raw.githubusercontent.com/Jaid/setup-server/main/main/config.bash --output "$HOME/temp/config.bash"

Edit config (optional)

nano "$HOME/temp/config.bash" && cat "$HOME/temp/config.bash"

Run

DEBIAN_FRONTEND=noninteractive sudo apt-get --option Acquire::Retries=60 --option Acquire::http::Timeout=180 --yes install git jq && curl --location --retry 3 --fail --silent --show-error --header 'Cache-Control: no-cache' https://raw.githubusercontent.com/Jaid/setup-server/main/main/setup.bash --output "$HOME/temp/setup.bash" && bash -o xtrace "$HOME/temp/setup.bash" |& tee --append "$HOME/temp/setup.log"

Releases

No releases published

Packages

No packages published

Languages