Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaid/setup-server

Some Bash scripts that run when I install a new Ubuntu Server image on one of my servers.
https://github.com/jaid/setup-server

bash bash-scripts boilerplate cloud-config cloud-config-repo cloudconfig personal scripts setup setup-scripts setup-server

Last synced: 30 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# setup-server

## Instruction

### Create config

```bash
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)

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

### Run

```bash
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"
```