Initial Server Setup (iss.sh)
Initial Server Setup (iss.sh) by Amadex.com
How to run?
wget https://www.amadex.com/iss.sh && chmod +x iss.sh && ./iss.sh
This Bash script simplifies and automates initial server setup tasks on your Linux machine. The script allows you to change the root password, hostname, timezone, and SSH port. It can also create swap space, disable IPv6, and install common packages like nano, htop, curl, screen, and git. Additionally, it provides an option to run the Yet-Another-Bench-Script (YABS) for benchmarking.
After executing this script, remember to reboot the system to apply changes.
Github: https://github.com/amaramadex/initial-server-setup/blob/main/iss.sh
Amadex • Hosting Forums • Wie ist meine IP-Adresse? • AS215325
Forum for System Administrators: sysadminforum.com
Comments
This... is neat. I am sure the possibilities are endless.
Thanks for sharing
You really should do some input checking in your script. I could say that I want timezone icecream and ssh port blue and the script would accept it. It would not have the desired effect when you reboot.
Nice...
Android 14 | Windows 11 | Ubuntu 24.04
thats a good starting point, next checkout Ansible... some learning curve but once you grasp it life will be different to the better inshallah
no roadmap? if you have difficulties I can help
Fuck this 24/7 internet spew of trivia and celebrity bullshit.
Thanks to everyone who tested the script. This is the new schedule of things it does:
✌️
Github: https://github.com/amaramadex/initial-server-setup
Amadex • Hosting Forums • Wie ist meine IP-Adresse? • AS215325
Forum for System Administrators: sysadminforum.com
Why not making it one liner?
Android 14 | Windows 11 | Ubuntu 24.04
Here you go.
curl -O https://www.amadex.com/iss.sh && chmod +x iss.sh && ./iss.sh
Aye sir. I knew someone will wrote this
Android 14 | Windows 11 | Ubuntu 24.04
Great script. Thank you for this!
VPS providers to check out:
Disable SSH root login pls
And change to wget instead of curl as some default template not have curl pre-installed
Updated the first post.
Amadex • Hosting Forums • Wie ist meine IP-Adresse? • AS215325
Forum for System Administrators: sysadminforum.com
Why not have it prompt the question/options at the end?
Hm, on slower VMs the YABS gets slow, so if the connection drops (or you do CTRL C) you can do your own reboot.
Amadex • Hosting Forums • Wie ist meine IP-Adresse? • AS215325
Forum for System Administrators: sysadminforum.com
But YABS isn't mandatory, it's optional, so it might be worth adding the reboot question/option at the end.
Just a suggestion.