mirror of
https://github.com/JG-ServerSP/autoinstall-plesk.git
synced 2026-04-26 17:55:51 +03:00
No description
| .autoinstall-plesk.sh | ||
| LICENSE | ||
| README.md | ||
🛠️ AutoInstall Plesk for AlmaLinux 8 & 9
This open-source script automates the full installation of Plesk on AlmaLinux 8 or 9 upon the first SSH login as root.
Developed by ServerSP, an infrastructure provider serving global clients — including a dedicated portal for Brazil.
🚀 What It Does
- ✅ Detects AlmaLinux 8 or 9
- ✅ Displays a clear countdown before starting (with Ctrl+C cancel option)
- ✅ Updates the system and installs all necessary dependencies
- ✅ Installs Plesk inside a
screensession with interactive output - ✅ Waits for user confirmation before rebooting the system
- ✅ Removes all temporary files and installer references after completion
📂 Files Included
| File | Description |
|---|---|
.autoinstall-plesk.sh |
Main installer logic |
README.md |
This documentation |
📦 How to Use
- Upload the script to your server:
cp .autoinstall-plesk.sh /root/
chmod +x /root/.autoinstall-plesk.sh
- Edit your
.bash_profileand append:
[ -f /root/.autoinstall-plesk.sh ] && bash /root/.autoinstall-plesk.sh
Do not overwrite
.bash_profileif it contains other startup logic — just add the line at the end.
- On first SSH login:
- You'll see a countdown and option to cancel
- Installation runs inside a screen session
- You'll be asked to confirm before reboot
- All scripts remove themselves after completion
🌐 Ideal Use Cases
This project is suitable for:
- VPS or dedicated server provisioning
- Template-based deployments
- Automatic panel installation on first login
⚠️ Requirements
- AlmaLinux 8.4+ or 9.x (minimal or standard)
- Root SSH access
- Internet access to
autoinstall.plesk.com
✅ Tested On
- AlmaLinux 8.10 (minimal)
- AlmaLinux 9.4 (minimal)
- Plesk Obsidian (latest stable release, June 2025)
🛠️ Customization Ideas
You can adjust:
- Countdown duration
- Reboot behavior
- Hostname injection
- Plesk edition or extensions preloaded
📄 License
MIT © ServerSP