{"id":5544,"date":"2020-04-21T18:12:19","date_gmt":"2020-04-21T12:42:19","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5544"},"modified":"2026-11-09T12:13:13","modified_gmt":"2026-11-09T06:43:13","slug":"how-to-install-vestacp-on-linux-server","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-vestacp-on-linux-server\/","title":{"rendered":"How to install VestaCP on Linux server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Post Date:<\/strong> April 21, 2020<br><strong>Last Updated: <\/strong>November 09, 2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This guide explains how to <strong>install VestaCP on Linux server<\/strong> using the official installation script. VestaCP (Vesta Control Panel) is an open-source hosting control panel. It lets you manage websites, email accounts, FTP accounts, MySQL databases, and DNS records from one web interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The original guide covered the basic installation. This version adds the prerequisites, the firewall port, a verification step, and troubleshooting, so the setup is less likely to fail partway through.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Warning:<\/strong> Only install VestaCP on Linux server on a fresh, clean operating system. The installer sets up its own web, mail, DNS, and database services and can conflict with software that is already installed. Also note that Vesta&#8217;s development has slowed, so check the project&#8217;s status before using it in production. <a href=\"https:\/\/hestiacp.com\/\" target=\"_blank\" rel=\"noopener\">HestiaCP<\/a> is a maintained fork with a similar interface.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you install VestaCP on Linux server, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root access to the server over SSH<\/li>\n\n\n\n<li>A fresh installation of a supported operating system (RHEL\/CentOS 5, 6, 7; Debian 7, 8, 9; Ubuntu 12.04 to 18.10)<\/li>\n\n\n\n<li>At least 512 MB of RAM, 20 GB of disk space, and a 1 GHz CPU<\/li>\n\n\n\n<li>A valid email address and, ideally, a fully qualified hostname<\/li>\n\n\n\n<li>Port 8083 reachable through your firewall or cloud security group<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Architecture<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>vst-install.sh<\/code> is the installer script. It detects your operating system and downloads the packages it needs<\/li>\n\n\n\n<li>The script installs the web stack (Nginx and Apache), PHP, MySQL, the mail stack (Exim and Dovecot), DNS (named), and FTP<\/li>\n\n\n\n<li>It also configures security tools such as iptables and Fail2ban<\/li>\n\n\n\n<li>The control panel itself runs on port 8083 over HTTPS<\/li>\n\n\n\n<li>You manage everything through the panel, which is protected by the <code>admin<\/code> user and a generated password<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The image below shows how the installation fits together. For the full list of installer options, see the <a href=\"https:\/\/vestacp.com\/docs\/\" target=\"_blank\" rel=\"noopener\">official Vesta documentation<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic-1024x576.png\" alt=\"\" class=\"wp-image-13056\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic-1024x576.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic-300x169.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic-768x432.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic-1536x864.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Architecture-Infographic.png 1672w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Install VestaCP on Linux Server<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Connect to Your Server as Root<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to your server over SSH:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ssh root@your-server-IP -p your-ssh-port\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. Download the Installation Script<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">curl -O https:\/\/vestacp.com\/pub\/vst-install.sh\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The original guide used <code>http:\/\/<\/code>. Use <code>https:\/\/<\/code> so the script is downloaded over an encrypted connection.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">3. Run the Installation Script<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the main command to install VestaCP on Linux server:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">bash vst-install.sh\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The script lists the software it is about to install. Type <code>y<\/code> and press Enter to continue. You will then be asked for a valid email address. Vesta uses it to send your login details. If you enter it incorrectly, don&#8217;t worry, because the credentials are also shown in the terminal when the installation finishes, and you can change the admin email later.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/1-1.png\"><img decoding=\"async\" width=\"431\" height=\"328\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/1-1.png\" alt=\"\" class=\"wp-image-13059\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/1-1.png 431w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/1-1-300x228.png 300w\" sizes=\"(max-width: 431px) 100vw, 431px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The installation takes several minutes. Do not close the terminal until it completes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Open Port 8083<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If a firewall or cloud security group is active, allow TCP port 8083 so you can reach the panel. Vesta configures iptables itself, but cloud providers such as AWS, Azure, and DigitalOcean have their own rules that you must update separately.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Log In to Vesta<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open your browser and go to:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">https:\/\/&lt;your-server-IP-or-hostname>:8083\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Log in as <code>admin<\/code> with the password shown at the end of the installation. Your browser may warn about the self-signed certificate. You can proceed, then install a trusted SSL certificate later.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/4-1-1.png\"><img decoding=\"async\" width=\"537\" height=\"370\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/4-1-1.png\" alt=\"\" class=\"wp-image-13058\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/4-1-1.png 537w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/4-1-1-300x207.png 300w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To confirm the panel is running, check the service from the terminal:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">systemctl status vesta\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On older SysVinit systems, use <code>service vesta status<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the installation fails or the panel does not open, check these:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The page at port 8083 won&#8217;t load:<\/strong> Port 8083 is blocked. Open it in your server firewall and in your cloud provider&#8217;s security group<\/li>\n\n\n\n<li><strong>The installer stops with an error:<\/strong> Make sure you are running as root on a clean, supported OS. A previous web server, MySQL, or mail server often causes conflicts<\/li>\n\n\n\n<li><strong>You can&#8217;t install VestaCP on Linux server on a newer OS:<\/strong> The installer supports only the versions listed above. Use a supported version, or consider HestiaCP for newer releases<\/li>\n\n\n\n<li><strong>You lost the admin password:<\/strong> Run <code>\/usr\/local\/vesta\/bin\/v-change-user-password admin NEWPASSWORD<\/code> as root to set a new one<\/li>\n\n\n\n<li><strong>The panel is running but the browser shows a warning:<\/strong> This is the self-signed certificate. Replace it with a trusted certificate when you are ready<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To install VestaCP on Linux server, connect as root, download <code>vst-install.sh<\/code>, run it, open port 8083, and log in as <code>admin<\/code>. Start from a clean, supported operating system, because most installation failures come from existing software. After logging in, you can add users, websites, DNS zones, and databases from the panel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What are the minimum requirements to install VestaCP on Linux server?<\/strong><br>You need 512 MB of RAM, 20 GB of disk space, a 1 GHz CPU, and a supported operating system with root access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Which operating systems does VestaCP support?<\/strong><br>RHEL\/CentOS 5, 6, and 7, Debian 7, 8, and 9, and Ubuntu 12.04 to 18.10. Newer releases are not officially supported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What is the default VestaCP login URL?<\/strong><br><code>https:\/\/&lt;your-server-IP-or-hostname&gt;:8083<\/code>. The username is <code>admin<\/code>, and the password is shown when the installation finishes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Can I install VestaCP on a server that already hosts websites?<\/strong><br>It is not recommended. The installer replaces the web, mail, and database services, so use a fresh server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/roundcube-database-error-connection-failed\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Fix Roundcube \u201cDatabase Error: Connection Failed\u201d in VestaCP<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-force-webmail-to-use-ssl-in-vestacp\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Force Webmail to Use SSL in VestaCP<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Talk to Our Technology Experts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Planning to set up a hosting control panel or manage your own Linux servers? Our team can install and configure your control panel, secure your server, and handle ongoing hosting support through our <a href=\"https:\/\/pheonixsolutions.com\/devops-cloud\/\">DevOps and Cloud Services<\/a>.<br><br><a href=\"https:\/\/pheonixsolutions.com\/contact\">Connect with our technology experts.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Date: April 21, 2020Last Updated: November 09, 2026 Introduction This guide explains how to install VestaCP on Linux server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13057,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[344],"class_list":["post-5544","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-aws","tag-vestacp","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1rq","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/04\/VestaCP-Linux-Hosting-Guide.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5544"}],"version-history":[{"count":2,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5544\/revisions"}],"predecessor-version":[{"id":13061,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5544\/revisions\/13061"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/13057"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}