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.
- htop - Check out what's going on with your system processes in a flash.
- screen - Split your terminal like a pro.
- nload - Keep an eye on your network traffic.
- nano - A simple and friendly text editor.
- firewalld - Manage your firewall settings with ease:
- Automatically opens your SSH port (with options for customization).
- fail2ban - Ward off intruders with this handy tool:
- Configure it with default settings or go custom.
- git - The go-to tool for version control:
- We'll help you set it up if it's your first time.
- 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 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.
- 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.
- 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.
-
Download this awesome script
wget https://raw.githubusercontent.com/Decaded/install-script/main/install.sh
-
Give it Permission to Run:
sudo chmod +x install.sh
-
Run the Script:
./install.sh
And then, just pick the goodies you want from our cool menu:
We're all ears! If you spot something funky or have ideas for making this script even cooler, share it with us via issues.
This project is licensed under the MIT License.
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.