Skip to content

darchap/dsfb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Debian server first boot

This repository is a collection of scripts to automate my personal setup on any debian server instance at first boot. All of this is based on my needs so feel free to fit to yours.

Usage

You just need to execute 0-runasroot.sh

cd /home
git clone https://github.com/darchap/dsfb.git
cd dsfb
bash 0-runasroot.sh

This script will check if it's executed as root and if it's running on a debian based distro, otherwise it will exit. Then it will ask you to create a non-root user or pick an existing one to run the second script.

It will also check SSH port and if root login is enabled, asking you in that case if you want to change it.

The second script will run with created/picked user id in order to install Docker, Portainer and Watchtower. If any of those are already installed, it will reinstall them without losing any data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages