New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Portainer: Easy Installation + Ready-to-Use Application Templates
Hello community!
I'd like to share our humble script - perhaps it will be useful to someone.
We've prepared a Portainer installation script:
Prerequisite: Run the script as the root user.
- Connect to the server via SSH.
- Execute the command:
curl -sS https://screen.unihost.com/portainer/portainer.sh | bash
Along with the simplicity of easy installation, it includes the following application templates:
- Cloud Commander
- Duplicati
- Gatus
- Ghost CMS
- Mailu
- MariaDB with phpMyAdmin
- Minio S3
- MongoDB with Mongo Express
- n8n
- NetData
- Nginx Proxy Manager
- Ollama AI
- OpenVPN with Web UI
- Outline Wiki
- PostgreSQL with Adminer
- Redis with Redis Commander
- Rocket.Chat
- Traefik Reverse Proxy
- WireGuard VPN (wg-easy)
- WordPress
- Zabbix
We plan to expand this list in the future.
A full installation guide is available here.
P.S.: This is my first guide here, so if I’ve made any mistakes or haven’t fully followed the forum rules, I kindly ask for your understanding and corrections to me.
Thank you!
Thanked by 1mandala


Comments
Cool, if, y.
What is your script doing (didn't bother to read the shell file)? The installations seems pretty straight forward to me according to their guide: https://docs.portainer.io/start/install-ce/server/podman/linux
Portainer installation is just two lines of codes in terminal. What your script doing extra?
And https://github.com/Lissy93/portainer-templates already a huge list of portainer templates are available there.
Yes, installing Portainer is extremely simple as it is.
But beyond the fact that it takes just a single command to install, you also get instant access to ready-made application templates (as mentioned in the post).
@Unihost, do you have a bug bounty program?
The script generates a random password but displays it in plain text and stores it in a world-readable file (
/etc/profile.d/portainer-info.sh).EVERY USER ON THE SERVER CAN OPEN THAT FILE AND READ THE PASSWORD!
And because the file is placed in
/etc/profile.d/, it gets executed automatically every time any user logs into the system, displaying the credentials to everyone.openssl rand --hex 16might fail on some systems, because the syntax is wrong. should be-hex 16. See: https://docs.openssl.org/master/man1/openssl-rand/This script isn’t intended for use on shared servers.
It’s assumed that the server is managed by a single experienced administrator, who can either replace the password with a stronger one or remove the file entirely after installation.
Either way, thank you for your comment - it’s genuinely helpful.
Coolify thx