Vesta- How to set up master-slave DNS cluster

If you are looking for the options to avoid any DNS-related downtime or the way to manage dns across all server you have, you might consider to set up dns cluster.

Create user dns-cluster on a server which will be used as dns slave

On the second server (slave) with vestacp you should create new user with name dns-cluster (via gui or cli)Code: 

v-add-user dns-cluster passowrd yourmail@example.tld

On the first server (master) you should run this command: Continue reading “Vesta- How to set up master-slave DNS cluster” »

Share

Install Vesta Control Panel (vestacp) on Centos 7 with PHP-FPM and PHP 7.2

I had few issues on my container and KVM on installing vestacp. Issues were like quite weird, such as-

  1. Post installation on KVM- it moved into emergency maintenance mode
  2. Post installation on LXC container- DNS resolution halted

After hours and hours of search, found few root causes-

  1. I have to withdraw quota with vestacp installation package
  2. No firewall on LXCcontainer

So let’s start.

Download installation script

curl -O http://vestacp.com/pub/vst-install.sh

Run it

bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables no --fail2ban no --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous yes --mysql yes --postgresql no --hostname yourdomain.com --email yourmail@yourdomain.com --password yourpassword

You can also generate your installation command from vesta website: Continue reading “Install Vesta Control Panel (vestacp) on Centos 7 with PHP-FPM and PHP 7.2” »

Share

Reset Vesta CP (vestacp) admin password

Method 1

  1. Login to your server via SSH.
  2. Enter the below command to change the password.
  3. $ v-change-user-password admin newpassword
  4. Replace the newpassword field with the new password you want to set.

Method 2

  1. Login to your server via SSH.
  2. Enter command following command.
  3. $ passwd admin
  4. Enter new UNIX password:
  5. Retype new UNIX password:
  6. passwd: password updated successfully.
Share