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

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey there!

This script is your trusty toolkit for server tinkering on Ubuntu systems. It's like that reliable old toolbox in your garage, packed with essentials. You can install essential apps, set up NGINX, tinker with PHP, mess around with NVM, and more.

Just remember, it's been hanging out with Ubuntu during development and testing. While it might be friendly with other Linux systems, it's primarily designed for Ubuntu. If you're using a different system and wish to see support added, please open an issue and explain your use case. We're open to suggestions and appreciate your feedback!


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.

SSH Authentication

  • Switch to key-based authentication for enhanced security (as requested in issue #1).
  • You can later revert to password authentication using the option in the menu: Restore SSH Configuration.
  • The script automatically creates a backup of your SSH configuration (sshd_config) before making changes. It's stored at /etc/ssh/sshd_config_decoscript.backup.
    • Warning: Running the script again will overwrite the existing backup file. To preserve it, consider renaming or copying it to another location.

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.

Configure Static IP Address (New!)

  • Set a static IP address for your system with ease.
  • Specify the IP address, subnet mask, gateway, and DNS servers.
  • Enjoy a stable network configuration.
  • As requested in issue #4.

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