{"id":7457,"date":"2023-12-28T12:12:59","date_gmt":"2023-12-28T12:12:59","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=7457"},"modified":"2024-01-03T13:13:33","modified_gmt":"2024-01-03T13:13:33","slug":"setup-config-vestacp-ubuntu-centos-linux","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/","title":{"rendered":"How to install VestaCP on Ubuntu or CentOS"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en.jpg\" alt=\"install and config VestaCP on Ubuntu 20.04\/22.04 or CentOS 7\" class=\"wp-image-7484\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p><strong>VestaCP<\/strong> is an open-source hosting control panel that allows you to easily manage web servers, DNS servers, mail servers, databases and more through a simple web interface. It supports popular software like Apache, Nginx, PHP, MySQL, Exim, Dovecot and more.<\/p>\n\n\n\n<p>In this comprehensive guide, we will cover how to install VestaCP from scratch on a freshly installed Ubuntu 20.04\/22.04 or CentOS 7 server. We will go through every step in detail to have VestaCP fully configured and ready to manage hosting accounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h2>\n\n\n\n<ul>\n<li>A server running Ubuntu 20.04\/22.04 or CentOS 7 with root access or a user with sudo privileges.<\/li>\n\n\n\n<li>A static IP address assigned to the server.<\/li>\n\n\n\n<li>Ports 80 and 443 open on the firewall for web traffic.<\/li>\n\n\n\n<li>A registered domain name pointed to the server&#8217;s IP address. This will be used to access VestaCP admin panel.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1---install-required-packages\">Step 1 &#8211; Install Required Packages<\/h2>\n\n\n\n<p>First we need to install some required packages that VestaCP needs to function properly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-ubuntu-20042204\">For Ubuntu 20.04\/22.04<\/h3>\n\n\n\n<p>Run the following commands to install curl, nano, htop, wget:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo apt update\n$ sudo apt install curl nano htop wget -y<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-centos-7\">For CentOS 7<\/h3>\n\n\n\n<p>Run the following commands to install curl, nano, htop, wget:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install epel-release -y\n$ sudo yum update \n$ sudo yum install curl nano htop wget -y<\/code><\/pre>\n\n\n\n<p>These packages provide useful tools to download files, edit configurations, monitor processes and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2---disable-apacheexim\">Step 2 &#8211; Disable Apache\/Exim<\/h2>\n\n\n\n<p>If Apache and Exim are installed by default, we need to remove them before installing Nginx and Postfix.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-ubuntu-20042204-1\">For Ubuntu 20.04\/22.04<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo apt remove apache2* exim4* -y\n$ sudo apt purge apache2* exim4* -y\n$ sudo rm -rf \/etc\/apache2 \/etc\/exim4 <\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-centos-7-1\">For CentOS 7<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum remove httpd* exim -y\n$ sudo rm -rf \/etc\/httpd \/etc\/exim<\/code><\/pre>\n\n\n\n<p>This completely removes those packages from the system to avoid conflicts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3---download-the-vestacp-installer\">Step 3 &#8211; Download the VestaCP Installer<\/h2>\n\n\n\n<p>Now we will download the latest release of the VestaCP automatic installer script.<\/p>\n\n\n\n<p>Run this command on both Ubuntu and CentOS to download the script:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ curl -O http:\/\/vestacp.com\/pub\/vst-install.sh<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-4---install-vestacp\">Step 4 &#8211; Install VestaCP<\/h2>\n\n\n\n<p>We will now run the installer script to install VestaCP with the components we need.<\/p>\n\n\n\n<p>On Ubuntu 20.04\/22.04 run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo bash vst-install.sh --nginx yes --apache no --phpfpm yes --named yes --remi no --vsftpd yes --proftpd no \n--iptables yes --fail2ban yes --quota no --exim no --dovecot yes --spamassassin yes --clamav yes --softaculous no  \n--mysql yes --postgresql no --hostname yourdomain.com --email admin@yourdomain.com --password mypassword<\/code><\/pre>\n\n\n\n<p>Explanation of the main options:<\/p>\n\n\n\n<p>&#8211;nginx: Install and configure Nginx web server<br>&#8211;apache: Do not install Apache<br>&#8211;phpfpm: Install PHP-FPM for processing PHP pages<br>&#8211;named: Install BIND for DNS server<br>&#8211;remi: Not needed on Ubuntu<br>&#8211;vsftpd: Install Very Secure FTP daemon<br>&#8211;iptables: Configure firewall with iptables<br>&#8211;fail2ban: Install fail2ban for intrusion prevention<br>&#8211;quota: Not installing quota management<br>&#8211;exim: Do not install Exim mail server &#8211;dovecot: Install Dovecot POP3\/IMAP server<br>&#8211;spamassassin: Install SpamAssassin antispam protection<br>&#8211;clamav: Install ClamAV antivirus scanning<br>&#8211;mysql: Install MySQL server<\/p>\n\n\n\n<p>On CentOS 7 run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo bash vst-install.sh --nginx yes --apache no --phpfpm yes --named yes --remi yes --vsftpd yes --proftpd no  \n--iptables yes --fail2ban yes --quota no --exim no --dovecot yes --spamassassin yes --clamav yes --softaculous no   \n--mysql yes  --postgresql no --hostname yourdomain.com --email admin@yourdomain.com --password mypassword<\/code><\/pre>\n\n\n\n<p>The only difference is we add&nbsp;<code>--remi yes<\/code>&nbsp;to enable the Remi repository for latest PHP on CentOS.<\/p>\n\n\n\n<p>The installer will now run and install all the components and configure them automatically. This may take between 5-15 minutes depending on your server&#8217;s internet connection speed.<\/p>\n\n\n\n<p>When it completes, take note of the admin URL, username and password given at the end. We will use those to login to VestaCP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-5---log-in-to-vestacp-admin-panel\">Step 5 &#8211; Log in to VestaCP Admin Panel<\/h2>\n\n\n\n<p>To access the VestaCP admin panel, simply open the URL printed at the end of the installer in your web browser:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markdown\" class=\"language-markdown\">https:\/\/yourdomain.com:8083<\/code><\/pre>\n\n\n\n<p>Enter the admin username and password provided.<\/p>\n\n\n\n<p>You will then be greeted with the VestaCP dashboard.<\/p>\n\n\n\n<p>The default admin username is&nbsp;<code>admin<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-6---securing-access-to-vestacp\">Step 6 &#8211; Securing Access to VestaCP<\/h2>\n\n\n\n<p>By default, VestaCP allows login via HTTP which is insecure. We will now configure SSL and block HTTP access.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"activate-ssl-https-access\">Activate SSL (HTTPS Access)<\/h3>\n\n\n\n<p>Go to the Web tab and SSL subsection in VestaCP. Select your domain and choose&nbsp;<code>Let's Encrypt<\/code>&nbsp;as the SSL Provider. Check the box for SSL and change the port to 443. Save changes.<\/p>\n\n\n\n<p>VestaCP will now install an SSL certificate for your domain issued by Let&#8217;s Encrypt and activate it. This may take a few minutes.<\/p>\n\n\n\n<p>Once active, access VestaCP at the new HTTPS URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markdown\" class=\"language-markdown\">https:\/\/yourdomain.com<\/code><\/pre>\n\n\n\n<p>Log back in to confirm it works.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"block-http-access\">Block HTTP Access<\/h3>\n\n\n\n<p>To prevent unsecured HTTP access, you need to disable port 80 and save firewall rules in VestaCP:<\/p>\n\n\n\n<p><strong>Web Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>Firewall<\/strong><\/p>\n\n\n\n<ul>\n<li>Uncheck box for Port 80<\/li>\n\n\n\n<li>Click Save Changes<\/li>\n<\/ul>\n\n\n\n<p>You should now only be able to access VestaCP at the HTTPS URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-7---add-hosting-packages\">Step 7 &#8211; Add Hosting Packages<\/h2>\n\n\n\n<p>We can now start adding hosting packages that can later be assigned to user accounts.<\/p>\n\n\n\n<p>Go to the Packages tab and click&nbsp;<strong>Add New Package<\/strong><\/p>\n\n\n\n<p>Let&#8217;s create a basic shared hosting package with the following options:<\/p>\n\n\n\n<ul>\n<li>Package Name: starter<\/li>\n\n\n\n<li>Disk Space Quota: 5 GB<\/li>\n\n\n\n<li>Bandwidth Quota: 100 GB<\/li>\n\n\n\n<li>Email Accounts: 10<\/li>\n\n\n\n<li>Email Forwarders: 20<\/li>\n\n\n\n<li>Email Autoresponders: Enabled<\/li>\n\n\n\n<li>Disk inodes: 300000<\/li>\n\n\n\n<li>Apache directives: Default<\/li>\n\n\n\n<li>Max Domains: 5<\/li>\n\n\n\n<li>Max Subdomains: 10<\/li>\n\n\n\n<li>Max Aliases: 20<\/li>\n\n\n\n<li>Max Parked Domains: 5<\/li>\n\n\n\n<li>Max Addon Domains: 3<\/li>\n<\/ul>\n\n\n\n<p>Click&nbsp;<strong>Save<\/strong>&nbsp;to add the package.<\/p>\n\n\n\n<p>Create additional packages based on the resources you want to assign to user accounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-8---add-hosting-user-accounts\">Step 8 &#8211; Add Hosting User Accounts<\/h2>\n\n\n\n<p>Now we can start creating hosting accounts and assigning them packages we created earlier.<\/p>\n\n\n\n<p>Go to the Users tab and click&nbsp;<strong>Create User<\/strong><\/p>\n\n\n\n<p>For the first account, use these sample details:<\/p>\n\n\n\n<ul>\n<li>Username: john<\/li>\n\n\n\n<li>Package: starter<\/li>\n\n\n\n<li>Password: password123<\/li>\n\n\n\n<li>Email:&nbsp;<a href=\"mailto:john@yourdomain.com\">john@yourdomain.com<\/a><\/li>\n\n\n\n<li>First name: John<\/li>\n\n\n\n<li>Last name: Doe<\/li>\n<\/ul>\n\n\n\n<p>Click&nbsp;<strong>Create User<\/strong>&nbsp;to add the account.<\/p>\n\n\n\n<p>This will automatically create all the required directories, databases, email accounts and configurations for the hosting account based on the allocated package limits.<\/p>\n\n\n\n<p>You can repeat to create more accounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-9---configure-nameservers-in-vestacp\">Step 9 &#8211; Configure Nameservers in VestaCP<\/h2>\n\n\n\n<p>In order for your domain names to point to this server, you need to configure the nameservers in VestaCP.<\/p>\n\n\n\n<p><strong>DNS Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>Domain<\/strong>&nbsp;-&gt;&nbsp;<strong>Add Domain<\/strong><\/p>\n\n\n\n<p>Simply enter your registered domain name, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markdown\" class=\"language-markdown\">yourdomain.com<\/code><\/pre>\n\n\n\n<p>Save changes.<\/p>\n\n\n\n<p>This will automatically generate the default nameservers for your server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markdown\" class=\"language-markdown\">ns1.yourdomain.com \nns2.yourdomain.com<\/code><\/pre>\n\n\n\n<p>You can create A records for your domain and sub-domains here as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-10---change-nameservers-at-domain-registrar\">Step 10 &#8211; Change Nameservers at Domain Registrar<\/h2>\n\n\n\n<p>Login to your domain name registrar account and update the nameservers to point to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markdown\" class=\"language-markdown\">ns1.yourdomain.com\nns2.yourdomain.com <\/code><\/pre>\n\n\n\n<p>This will delegate DNS control for your domain to the VestaCP server. Propagation may take between 2-24 hours to fully take effect.<\/p>\n\n\n\n<p>Your VestaCP server is now the official nameserver for domains you own.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-11---configure-mail-services\">Step 11 &#8211; Configure Mail Services<\/h2>\n\n\n\n<p>Now that we have hosting accounts set up, let&#8217;s configure the mail services to send and receive emails properly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-postfix-for-sending-emails\">Configure Postfix for Sending Emails<\/h3>\n\n\n\n<p>VestaCP uses Postfix for sending outgoing emails. We need to specify the hostname and domains it will handle.<\/p>\n\n\n\n<p>Go to:<\/p>\n\n\n\n<p><strong>Mail Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>Mail Server<\/strong>&nbsp;-&gt;&nbsp;<strong>Configure Mail Server<\/strong><\/p>\n\n\n\n<ul>\n<li>Hostname: mail.yourdomain.com<\/li>\n\n\n\n<li>Domains: yourdomain.com<\/li>\n<\/ul>\n\n\n\n<p>Save changes and restart Postfix when prompted.<\/p>\n\n\n\n<p>This allows Postfix to accept outbound mail for those domains which will be sent to other mail servers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-dovecot-pop3imap-service\">Configure Dovecot POP3\/IMAP Service<\/h3>\n\n\n\n<p>Dovecot is used to allow receiving and retrieving emails through POP3 and IMAP protocols.<\/p>\n\n\n\n<p>Go to:<\/p>\n\n\n\n<p><strong>Mail Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>Mail Server<\/strong>&nbsp;-&gt;&nbsp;<strong>Configure Mail Server<\/strong><\/p>\n\n\n\n<ul>\n<li>IMAP server: yes<\/li>\n\n\n\n<li>POP3 server: yes<\/li>\n\n\n\n<li>IMAP port: 143<\/li>\n\n\n\n<li>POP3 port: 110<\/li>\n\n\n\n<li>SSL\/TLS port: 995<\/li>\n<\/ul>\n\n\n\n<p>Save changes and restart Dovecot when prompted.<\/p>\n\n\n\n<p>Enabling those protocols allows users to check email with any email client.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-spamassassin\">Configure SpamAssassin<\/h3>\n\n\n\n<p>SpamAssassin will process incoming emails to detect and tag spam. Enable it under the Mail tab:<\/p>\n\n\n\n<p><strong>Mail Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>SpamAssassin<\/strong>&nbsp;-&gt;&nbsp;<strong>Activate SpamAssassin<\/strong><\/p>\n\n\n\n<p>Save changes and restart SpamAssassin.<\/p>\n\n\n\n<p>Emails detected as spam will now be tagged in the subject line for users.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-clamav-antivirus-scanning\">Configure ClamAV Antivirus Scanning<\/h3>\n\n\n\n<p>ClamAV provides antivirus protection for incoming emails. Enable it via:<\/p>\n\n\n\n<p><strong>Mail Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>ClamAV<\/strong>&nbsp;-&gt;&nbsp;<strong>Activate ClamAV<\/strong><\/p>\n\n\n\n<p>Save changes and restart ClamAV.<\/p>\n\n\n\n<p>Emails with detected viruses can configured to be rejected, deleted or simply flagged.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-12---configure-backup-service\">Step 12 &#8211; Configure Backup Service<\/h2>\n\n\n\n<p>It is critical to setup automated backups that run regularly in case disaster strikes. VestaCP has built-in backup capabilities.<\/p>\n\n\n\n<p>Go to:<\/p>\n\n\n\n<p><strong>Backup Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>Backup &amp; Restore<\/strong>&nbsp;-&gt;&nbsp;<strong>Add Backup Job<\/strong><\/p>\n\n\n\n<p>Create a backup job with these settings:<\/p>\n\n\n\n<ul>\n<li>Name: Daily Backup<\/li>\n\n\n\n<li>Backup directories: Select all under Web, DNS and Mail sections<\/li>\n\n\n\n<li>Databases: Select all MySQL databases<\/li>\n\n\n\n<li>Compression level: 9<\/li>\n\n\n\n<li>Destination: Local backup<\/li>\n\n\n\n<li>Schedule: Daily<\/li>\n<\/ul>\n\n\n\n<p>This will backup websites, DNS zones, mail accounts and databases on a daily basis and store them locally compressed.<\/p>\n\n\n\n<p>You should also setup offsite backups to a remote server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-13---install-ssltls-certificates\">Step 13 &#8211; Install SSL\/TLS Certificates<\/h2>\n\n\n\n<p>To configure HTTPS access for your hosting accounts, you need to install SSL\/TLS certificates.<\/p>\n\n\n\n<p>VestaCP makes it easy to add free Let&#8217;s Encrypt SSL certs.<\/p>\n\n\n\n<p>Simply go to:<\/p>\n\n\n\n<p><strong>SSL Tab<\/strong>&nbsp;-&gt;&nbsp;<strong>Let&#8217;s Encrypt<\/strong><\/p>\n\n\n\n<p>Then enter each domain name you want on its own line and click&nbsp;<strong>Issue SSL Cert<\/strong>.<\/p>\n\n\n\n<p>Let&#8217;s Encrypt will automatically validate domain ownership and generate the certificates which will be automatically configured for the domains in VestaCP.<\/p>\n\n\n\n<p>Very easy!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>That covers a complete installation guide of VestaCP on Ubuntu and CentOS.<\/p>\n\n\n\n<p>Some key takeways:<\/p>\n\n\n\n<ul>\n<li>VestaCP provides an intuitive interface to manage hosting services<\/li>\n\n\n\n<li>Automated installation makes deployment easy<\/li>\n\n\n\n<li>Capability to handle websites, emails, DNS, databases and more<\/li>\n\n\n\n<li>Built-in security features like firewall, fail2ban, ClamAV<\/li>\n\n\n\n<li>SSL certificates available with Let&#8217;s Encrypt integration<\/li>\n\n\n\n<li>Backup solutions to prevent loss of data<\/li>\n\n\n\n<li>Designed for scaling to handle increasing workloads<\/li>\n<\/ul>\n\n\n\n<p>With VestaCP installed, you now have a platform that can power hosting for potentially thousands of users while providing reliability, security and ease of use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction VestaCP is an open-source hosting control panel that allows you to easily manage web servers, DNS servers, mail servers, databases and more through a simple web interface. It supports popular software like Apache, Nginx, PHP, MySQL, Exim, Dovecot and more. In this comprehensive guide, we will cover how to install VestaCP from scratch on ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69,198],"tags":[],"yoast_head":"\n<title>How to install VestaCP on Ubuntu or CentOS - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"A comprehensive installation guide for VestaCP control panel on Ubuntu 20.04\/22.04 or CentOS 7. Covers prerequisites, installation, configuration of web, mail, DNS servers and more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install VestaCP on Ubuntu or CentOS - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"A comprehensive installation guide for VestaCP control panel on Ubuntu 20.04\/22.04 or CentOS 7. Covers prerequisites, installation, configuration of web, mail, DNS servers and more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-28T12:12:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-03T13:13:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"How to install VestaCP on Ubuntu or CentOS\",\"datePublished\":\"2023-12-28T12:12:59+00:00\",\"dateModified\":\"2024-01-03T13:13:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\"},\"wordCount\":1489,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Linux system administration\",\"Web hosting Panels\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\",\"name\":\"How to install VestaCP on Ubuntu or CentOS - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2023-12-28T12:12:59+00:00\",\"dateModified\":\"2024-01-03T13:13:33+00:00\",\"description\":\"A comprehensive installation guide for VestaCP control panel on Ubuntu 20.04\/22.04 or CentOS 7. Covers prerequisites, installation, configuration of web, mail, DNS servers and more.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install VestaCP on Ubuntu or CentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1781819544\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1781819544\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"How to install VestaCP on Ubuntu or CentOS - WebHi Tutorials &amp; Documentations","description":"A comprehensive installation guide for VestaCP control panel on Ubuntu 20.04\/22.04 or CentOS 7. Covers prerequisites, installation, configuration of web, mail, DNS servers and more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to install VestaCP on Ubuntu or CentOS - WebHi Tutorials &amp; Documentations","og_description":"A comprehensive installation guide for VestaCP control panel on Ubuntu 20.04\/22.04 or CentOS 7. Covers prerequisites, installation, configuration of web, mail, DNS servers and more.","og_url":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2023-12-28T12:12:59+00:00","article_modified_time":"2024-01-03T13:13:33+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/12\/vestacp_install_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"How to install VestaCP on Ubuntu or CentOS","datePublished":"2023-12-28T12:12:59+00:00","dateModified":"2024-01-03T13:13:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/"},"wordCount":1489,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Linux system administration","Web hosting Panels"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/","url":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/","name":"How to install VestaCP on Ubuntu or CentOS - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2023-12-28T12:12:59+00:00","dateModified":"2024-01-03T13:13:33+00:00","description":"A comprehensive installation guide for VestaCP control panel on Ubuntu 20.04\/22.04 or CentOS 7. Covers prerequisites, installation, configuration of web, mail, DNS servers and more.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/setup-config-vestacp-ubuntu-centos-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"How to install VestaCP on Ubuntu or CentOS"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1781819544","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1781819544","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7457"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=7457"}],"version-history":[{"count":4,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7457\/revisions"}],"predecessor-version":[{"id":7569,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7457\/revisions\/7569"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=7457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=7457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=7457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}