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;
◾DNS-server;
◾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 ns1.magwinya.co.za /etc/hostname
root@ns1:~# service hostname restart

Afterwards, run

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

Both should show ns1.magwinya.co.za now.
Download the VestaCP installation script

root@ns1:~# curl -O http://vestacp.com/pub/vst-install.sh
<root@ns1:~# ls
vst-install.sh

Run it

root@ns01:~# bash vst-install.sh --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: your@yourdomain.co.za
Please enter FQDN hostname [ns01]: ns01.magwinya.co.za

bash vst-install.sh

=======================================================

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

——————————-
https://192.168.10.63:8083
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 *