https://github.com/openspace42/inception
The definitive First Boot Setup script for Debian / Ubuntu / etc...
https://github.com/openspace42/inception
automation bash boot-setup debian ubuntu
Last synced: 10 months ago
JSON representation
The definitive First Boot Setup script for Debian / Ubuntu / etc...
- Host: GitHub
- URL: https://github.com/openspace42/inception
- Owner: openspace42
- License: other
- Created: 2017-07-29T22:40:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T13:16:30.000Z (over 4 years ago)
- Last Synced: 2025-02-28T12:06:57.409Z (10 months ago)
- Topics: automation, bash, boot-setup, debian, ubuntu
- Language: Shell
- Homepage:
- Size: 40 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inception
## What it is and what it does:
Here at openspace, this is our reference first boot script for any Debian / Ubuntu machine. It will perform the following actions:
01. Prompt you to update the machine hostname
02. Set your default locale to something that actually works
03. Harden your SSH config by:
03.01. Prompting you to add your SSH public key and disable password authentication for secure key-based remote login
03.02. Prompting you to change the SSH listening port to 42022
03.04. Adding whichever port you choose to the UFW allowed ports, install and enable UFW
04. Prompt you to set the correct timezone for the machine
05. Unset the default root password just in case
06. Create a non-root user and allowing it to sudo
07. Install essential system utilities that you'll love
08. Performing a full APT update / upgrade / dist-upgrade / autoremove
## How to execute:
```
[log in as root on your target machine]
```
```
apt update
apt install git
```
```
git clone https://github.com/openspace42/inception
bash inception/setup
```