Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jaid/setup-server
- Owner: Jaid
- License: mit
- Created: 2019-05-20T00:08:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T22:51:33.000Z (11 months ago)
- Last Synced: 2024-05-01T14:49:31.279Z (9 months ago)
- Topics: bash, bash-scripts, boilerplate, cloud-config, cloud-config-repo, cloudconfig, personal, scripts, setup, setup-scripts, setup-server
- Language: Shell
- Size: 519 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
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"
```