https://github.com/keystroke3/unbox
A script to automatically configure ubuntu server for day to day usage
https://github.com/keystroke3/unbox
Last synced: 4 months ago
JSON representation
A script to automatically configure ubuntu server for day to day usage
- Host: GitHub
- URL: https://github.com/keystroke3/unbox
- Owner: keystroke3
- License: gpl-3.0
- Created: 2022-07-10T11:32:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-20T12:28:51.000Z (about 1 year ago)
- Last Synced: 2025-04-20T13:36:30.888Z (about 1 year ago)
- Language: Shell
- Size: 70.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unbox server setup script
---
Unbox is a simple set up script used to quickly set up a new ubuntu server with my configs. It automatically installs my most used software and services,
nice to haves and renames the server to something more meaningful. I have only tested it on Ubuntu 20.04 LTS and higher, but it should work with any other distro that uses the apt package manager.
## What does it do?
The script will:
- Install and setup zsh
- Add my custom zshrc, aliases and minimal nvim configs
- Add [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting/) and [zsh-autosuggestions](https://github.com/zsh-users/zsh-syntax-highlighting/archive/refs/heads/master.zip)
- Install [eza](https://eza.rocks) (an 'ls' replacement)
- Change hostname to the given value. (A server restart is required for the changes to take effect)
- Install the following packages by default:
- ripgrep (required)
- fd-find (required)
- fzf (required)
- eza (required)
- zsh
- nginx
- net-tools
- python3-pip
- libpangocairo-1.0-0
- htop
- man
## Usage
The script requires a user with sudo priviledges and the `wget` utility, so make sure those are setup first.
### One liner
If you want to use the script as is by default, run:
```bash
sudo bash -c $(curl -fsSL https://raw.githubusercontent.com/keystroke3/Unbox/main/setup.sh)
```
### With modified packages
You can add or remove the packages by modifying the `packages` array in `setup.sh` before running it.
To do so, download the script like so:
```bash
curl -fsSL https://raw.githubusercontent.com/keystroke3/Unbox/main/setup.sh > setup.sh
```
Make modifications that you want but make sure you keep the packages marked with 'required' as listed above. if you don't want to keep these packages, then you should delete the `.aliases` file.
```bash
sudo bash setup.sh
```
If you find this script useful, then star it! If you find a bug, you can create an issue and if you want fix or address a bug, you can do so by making a pull request.