Skip to content

Server Configuration Script. This script provides a menu-driven interface to perform various server configuration tasks. It allows users to install essential apps, set up NGINX and PHP, configure NVM, enable passwordless sudo, set up SSH key-based authentication and more.

Notifications You must be signed in to change notification settings

Decaded/install-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handy Ubuntu System Setup Script

Code Size Open Issues Open PRs Last Commit

Welcome to this nifty Ubuntu System Setup Script! This script is your go-to tool for setting up and supercharging your Ubuntu system in a jiffy. It's all about making your system cooler, more secure, and tuned to your liking.


Cool Stuff You Can Do

Get Must-Have Tools

  1. htop - Check out what's going on with your system processes in a flash.
  2. screen - Split your terminal like a pro.
  3. nload - Keep an eye on your network traffic.
  4. nano - A simple and friendly text editor.
  5. firewalld - Manage your firewall settings with ease:
    • Automatically opens your SSH port (with options for customization).
  6. fail2ban - Ward off intruders with this handy tool:
    • Configure it with default settings or go custom.
  7. git - The go-to tool for version control:
    • We'll help you set it up if it's your first time.
  8. unattended-upgrades - Stay safe with automatic security updates.

Customize Your Setup

  • SSH Authentication:

    • Switch to key-based authentication for enhanced security (as requested in issue #1).
    • You can later revert to password authentication using option 6 in the menu: Restore SSH Configuration.
    • The script automatically creates a backup of your SSH configuration (sshd_config) before making changes, located at /etc/ssh/sshd_config_decoscript.backup.
  • Passwordless Sudo Access:

    • Elevate your powers without the hassle of password prompts.
    • Don't worry; we won't mess with it if you're already in the passwordless sudo club.

Web Server Delight

  • Want to host a website? We've got you covered with Nginx & PHP 8.1 (php-fpm).
  • We'll even open up ports 80 and 443 TCP/UDP in the firewall (if you have firewalld installed).
  • And if you're still hanging out with Apache2, we'll give it a polite send-off.

Node.js Goodness

  • Ready to explore the world of Node.js? We've got you covered with Node Version Manager (NVM).
  • With NVM, you can:
    • Seamlessly switch between different Node.js versions.
    • Easily manage Node.js installations.
    • Keep your Node.js environment up-to-date with the latest releases.

How to Make Magic Happen

  1. Download this awesome script

    wget https://raw.githubusercontent.com/Decaded/install-script/main/install.sh
  2. Give it Permission to Run:

    sudo chmod +x install.sh
  3. Run the Script:

    ./install.sh

And then, just pick the goodies you want from our cool menu:

Script in Action

Join the Fun

We're all ears! If you spot something funky or have ideas for making this script even cooler, share it with us via issues.

License

This project is licensed under the MIT License.


Quick Word of Caution

This script comes as is, without any guarantees. It's your adventure, so be mindful. The author isn't a super-tech guru, so use it with a touch of caution.

About

Server Configuration Script. This script provides a menu-driven interface to perform various server configuration tasks. It allows users to install essential apps, set up NGINX and PHP, configure NVM, enable passwordless sudo, set up SSH key-based authentication and more.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Languages