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!
- 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.
- 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.
- 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.
- 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.
-
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.