Skip to content

Eth030/ubuntu-post-install-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Ubuntu 22.04 VPS Setup Script

This streamlined automation script is designed for the initial setup of Ubuntu 22.04 servers. It configures security settings and installs essential management tools.

Features

  • Non-root user creation with sudo privileges
  • UFW firewall configuration for enhanced security
  • SSH hardening by disabling root login and enforcing key-based authentication
  • Fail2ban installation for additional SSH protection
  • Optional installation of Cockpit, Docker, and Portainer for easy server management and containerization

Quick Start

Execute the following command on your server as root:

bash <(curl -s https://raw.githubusercontent.com/Eth030/ubuntu-post-install-script/main/setup.sh)

Instructions

Follow the on-screen prompts to:

  • Specify the new user's name
  • Paste the public SSH key for secure login
  • Select optional software to install

License

Distributed under the MIT License.

About

Ubuntu 22.04 VPS Setup Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages