How to install VestaCP Nginx Only on ubuntu Server

By | January 1, 2016

Vesta Control Panel:

VestaCP is an Open Source web hosting control panel with premium features, secure, advanced and minimalistic design.

Vesta CP has all the features for easy and fast operation, without the need for a “manual” editing of configuration files. Right after installation the following is completely supported:

◾Apache + nginx as a webserver;
◾Mail server, including the setting up of DKIM, spam filter and antivirus;
◾The stable version of PHP;
◾Database management system MySQL 5.5;
◾Built-in backup functions;
◾Task Scheduler (cron);
◾Monitoring server load;
◾Fast, multi-language interface

Panel installation process is very simple and can be done even by a beginner. In order to start, you need to decide with your operating system – Vesta CP successfully works on Centos, Ubuntu and Debian. For this guide I used Ubuntu Server 14.04 of the OS.

Remember the best way to learn any new technical skill, is to play around and see how things work. Get comfortable you’re few steps in right direction. Click HERE to Order Your VPS NOW! so that you can gain the practical experience needed.

Now 50% OFF! VPS hosting solutions optimized for you: Click HERE to Order NOW!

How to install

Connect to your server ssh as root via putty:

Update your Ubuntu Server

root@ns1:~# apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove

Then I edited /etc/hosts. Setup it look like this:

root@ns1:~# vi /etc/hosts

Now run

root@ns1:~# echo /etc/hostname
root@ns1:~# service hostname restart

Afterwards, run

root@ns1:~# hostname
root@ns1:~# hostname -f

Both should show now.
Download the VestaCP installation script

root@ns1:~# curl -O
<root@ns1:~# ls

Run it

root@ns01:~# bash --nginx yes --phpfpm yes --apache no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes --clamav yes --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi no --quota yes

_| _| _|_|_|_| _|_|_| _|_|_|_|_| _|_|
_| _| _| _| _| _| _|
_| _| _|_|_| _|_| _| _|_|_|_|
_| _| _| _| _| _| _|
_| _|_|_|_| _|_|_| _| _| _|

Vesta Control Panel

Following software will be installed on your system:
– Nginx Web Server
– PHP-FPM Application Server
– Bind DNS Server
– Exim mail server + Antivirus Antispam
– Dovecot POP3/IMAP Server
– MySQL Database Server
– ProFTPD FTP Server
– Iptables Firewall + Fail2Ban

Would you like to continue [y/n]:y

Please enter admin email address:
Please enter FQDN hostname [ns01]:



_| _| _|_|_|_| _|_|_| _|_|_|_|_| _|_|
_| _| _| _| _| _| _|
_| _| _|_|_| _|_| _| _|_|_|_|
_| _| _| _| _| _| _|
_| _|_|_|_| _|_|_| _| _| _|

username: admin
password: kMtXWuyZ5t

Congratulations, you have successfully installed Vesta Control Panel and you can logon and get started using VestaCP

That is all. Next time you create a web domain from vesta it will be configured to use Nginx + PHP-fpm as a webserver instead of proxying for apache.

Good luck

One thought on “How to install VestaCP Nginx Only on ubuntu Server

  1. Pingback: How to Add Package on VestaCP - Magwinya Wired

Leave a Reply

Your email address will not be published. Required fields are marked *