Set Up Vesta Control Panel on Alibaba Cloud

Hardware Requirements

  1. Minimum 1 core processor.
  2. You will need 512 MB RAM. I will recommend to use 1 GB.
  3. You will need 20 GB HDD hard disk. Alibaba Cloud offers HDD hard disk as well as SSD hard disk. You can use any of them as per your choice.

Prerequisites

  1. You must have Alibaba Cloud Elastic Compute Service (ECS) activated and verified your valid payment method. If you are a new user, you can get a free account in your Alibaba Cloud account. If you don’t know about how to setup your ECS instance, you can refer to this tutorial or quick-start guide.
  2. A domain name registered from Alibaba Cloud. If you have already registered a domain from Alibaba Cloud or any other host, you can update its domain nameserver records.
  3. Domain name must be pointed to your Alibaba Cloud ECS’s IP address
  4. Access to VNC console in your Alibaba Cloud or SSH client installed in your PC
  5. Set up your server’s hostname and create user with root privileges.

Update Your CentOS System

# yum update

Install VestaCP

Basic Installation:

  1. Open https://vestacp.com/install/. This link will open the installation page of VestaCP official website. Scroll down and find the heading “Install Instructions”. Execute the following commands to install VestaCP.
  2. For downloading installation script:
  1. For installation:
  • # bash vst-install.sh
  1. You will be prompted to the following screen. Type Y and hit enter.
  1. Enter your email address.
  2. Enter your hostname (Fully Qualified Domain Name).
  3. Now wait for 15 minutes. VestaCP usually takes 15 minutes for installation on HDD and 5–6 minutes on SSD.

Advanced Installation Settings:

  1. Open https://vestacp.com/install/ . This link will open the installation page of VestaCP official website. Scroll down and find the heading “Advanced Install Settings”.
  1. Choose your preferred web settings. You can choose only one of the options below. We will be using Nginx + apache.
  2. Nginx + apache
  3. Apache
  4. Nginx + php-fpm
  5. No
  6. Choose your FTP settings. You can choose only one options from the list below. We will be using Vsftpd.
  7. Vsftpd
  8. Proftpd
  9. No
  10. Choose your Mail settings. You can choose only one options from the list below. We will be using Exim + dovecot + spamassassin + clamav.
  11. Exim + dovecot + spamassassin + clamav
  12. Exim + dovecot + spamassassin
  13. Exim + dovecot + clamav
  14. Exim + dovecot
  15. Exim
  16. No
  17. Choose your DNS settings. You can choose only one options from the list below. We will be using Named.
  18. Named
  19. No
  20. Choose your firewall settings. You can choose only one options from the list below. We will be using iptables + fail2ban.
  21. iptables + fail2ban
  22. iptables
  23. no
  24. Choose to install Softaculous when prompted. Softaculous installer allows to you install your required CMS like WordPress, Joomla, Drupal, AbanteCart, PrestaShop, phpBB, WHMCS, MyBB, Open Real Estate, and Dolphin easily on your host.
  25. Choose other settings and select your database. You can either choose one database or both. We will be using both databases.
  26. MySQL
  27. PostgreSQL
  28. Set your hostname.
  29. Setup email and password for logging in your VestaCP as admin.
  30. Click “Generate Install Command” and use this command to install VestaCP.
  31. There will be a list of commands generated for you. The following screen shows you the commands for installation of VestaCP.
  • # curl -O http://vestacp.com/pub/vst-install.sh # bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota yes --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous yes --mysql yes --postgresql yes --hostname imarslan --email test@example.com --password *******

Set Up Firewalls for HTTP and HTTPS

Accessing VestaCP

Install Git

# yum install git

Install SSL Certificate for VestaCP

# git clone https://github.com/letsencrypt/letsencrypt /opt/letsen
# cd /opt/letsen
# service nginx stop
# systemctl stop httpd
# sudo -H ./letsencrypt-auto certonly --standalone -d softpedia.xyz -d www.softpedia.xyz
# ./certbot-auto certificates
# service nginx start
# systemctl start httpd

--

--

--

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to install an Apache Web Server on Linux

What Happens When You Run ‘git add …’

Top new features of the new Flutter 3

Reverse a number Coding Question

Set up TiFlash (MySQL example)

How To Create Your Own NFTs

Rocket pool noob guide for Contabo (or any other) VPS

Looking at the Player in Unity

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

More from Medium

How To Create A New GitHub Organization With An OAuth App Setup

AWS SAM(Serverless Application Model)is an open source framework that enables AWS users to build…

Zomato Handles Up To 2.5x More Transactions After Migrating Non-Relational Database To AWS

Produce and consume messages from a Kafka topic using docker