GithubHelp home page GithubHelp logo

decaded / install-script Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 199 KB

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.

Shell 100.00%
shell-script automation devops linux server-configuration ssh ubuntu bash bash-script shell

install-script's Introduction

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.

install-script's People

Contributors

decaded avatar

Stargazers

 avatar  avatar

Watchers

 avatar

install-script's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.