This Bash script automates the installation of VestaCP on CentOS 7 servers. It is ideal for hosting providers, system administrators, and developers who want a fast, secure, and consistent server setup with minimal manual work.
With one command, you get a fully configured web hosting stack including web server, database, email, and security services.
Run this on a fresh CentOS 7 server:
wget -O vestacp-install.sh https://back2cloud.com/scripts/vestacp-auto-install.sh \
&& chmod +x vestacp-install.sh \
&& ./vestacp-install.sh
⚠️ Important
Designed for fresh CentOS 7 installations only. The script automatically disables IPv6, blocks i686 architecture, and configures required repositories.
Installs VestaCP (latest version)
Configures Nginx + Apache (reverse proxy)
Sets up MySQL/MariaDB
Enables Exim, Dovecot, SpamAssassin
Secures the server with iptables & Fail2Ban
Applies system optimizations automatically
Self-cleans after successful installation
Web Hosting Providers – rapid server provisioning
System Administrators – consistent, error-free deployments
Developers & Agencies – quick staging or client servers
OS: CentOS 7.x (fresh install recommended)
Control Panel: VestaCP
wget -O vestacp-install.sh https://back2cloud.com/scripts/vestacp-auto-install.sh
chmod +x vestacp-install.sh
./vestacp-install.sh
The script will automatically delete itself after a successful installation.
Saves hours of manual setup
Secure, production-ready defaults
One-command installation
Reliable and repeatable
Deploy VestaCP on CentOS 7 in minutes — fast, secure, and automated.