How to Install VestaCP on CentOS 6.5 VPS

My main reason releasing this blog was to help people who want to use VPS while saving some bucks by avoiding cPanel usage so I posted many tutorials to install either LAMP or LNMP on VPS with no control panel at all. But then I started to rethink of that and decided to also write tutorials about installing and using free control panel on a VPS as an alternative to cPanel.

For that, I posted about how to install zPanel and ServerPilot. But then few weeks ago I found Vesta CP, a Russian-made free hosting control panel with a bunch of awesomeness. Lets say with zPanel you’ll get necessary software set up including Apache, PHP5, MYSQL, PHPMyAdmin, FTP, Mail server and DNS. Vesta CP comes with whole new awesomeness, it has almost all zPanel features plus Nginx and Varnish Cache out of the box.

About Vesta Control Panel

Vesta is an open source hosting control panel currently supports both RHEL flavoured Linux releases (Red Hat, CentOS) and Ubuntu LTS 12.04 and Ubuntu 13.04. It comes with all necessary software to run and manage your websites hosted on your VPS, including:

  • Web Server (Apache with Nginx as Reverse Proxy)
  • DNS server
  • Database Server
  • Mail Server
  • FTP Server
  • Nginx out of the box
  • SSL certificates & SNI
  • Wildcard support
  • Configuration Templates
  • DKIM support
  • Fast Backups
  • System Monitoring
  • AntiSpam / Antivirus
  • WHMCS billing support
  • EPEL integration
  • Simple and Clean GUI
  • Powerfull CLI
  • Reliable Platform
  • Open Data Format

How to Install Vesta CP

Vesta CP works on RedHat, CentOS and Ubuntu but in today’s guide I will show you how to get it installed on CentOS 6.5. Here’s my inventory:

A VPS on DigitalOcean, I created a New York droplet with 512MB of RAM, 20GB SSD, 1TB Bandwidth and I select CentOS 6.5 64-bit.

image

What I like from DigitalOcean is its painless process of creating a VPS. I’ve told you that before.

create droplet

So now the VPS is ready, lets start installing VestaCP.

Step 1 – First, login to your server’s shell via SSH as root, as always, for this task I use putty.

ssh

Step 2 – Next, download VestaCP installation script using curl command:

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

download-vestacp

Step 3 – Next, issue this magic command to start installing VestaCP:

1
bash vst-install.sh

pic:

install vesta cp

Step 4 – The installer asks to confirm disabling SELinux and start the install process. Type Y and hit Enter.

Step 5 – The installer also asks to enter valid email address. So type your valid email address and double-check it to make sure your email is correct because VestaCP will also send your admin password there.

install vestacp

Step 6 – Once you hit Enter on your keyboard, the installer starts. Sit tight and wait for the installer to process and finish its job.

Step 7 – As long as you found no fatal error, the installer should finish quicker and you will see something like this on your screen:

vestacp-done

You can also check your mailbox just to ensure the password is delivered and mail server (Exim) works properly on your server.

2013-12-23_171316

Step 8 – Now open up your favorite browser and login to VestaCP web-based UI using your VPS IP at port 8083.

https://xxx.xxx.xxx.xxx:2083/

Login as admin and use given password,

As you may also aware that the link is https:// which means via secure connection (SSL) so you may have to add / confirm exception on your browser.

vestacp login

Voila! You should now see the main UI of Vesta hosting control panel.

vesta cp main ui

*click on image to view larger size.

Congratulation! You now have Vesta CP installed and a ready-to-use VPS to host all your websites.

What’s next?

I can say that’s it for now. Upcoming: Basic Vesta CP Setup, How to add your first domain / website on VestaCP, using Nginx and Varnish Cache on VestaCP, setting up EXIM4 to use TLS, etc. I can’t promise you when will I write next article but stay tuned.

Leave a Reply

%d bloggers like this: