Skip to main content

VestaCP Installation & Maintenance Guide for Ubuntu 16.04 LTS

VestaCP is a free, open-source and powerful website control panel that comes with website, email, database, and DNS functionalities. It offers a simple web-based interface for its users. With VestaCP, you can use high performance webserver like Nginx+PHP-FPM. It is lightweight, resource-friendly and easy to install compared to other control panels.

In this series tutorial, I will show you that how to install and configure VestaCP on Ubuntu 16.04 server. Details Guide for Installation and Configuration as below:

Ubuntu 16.04 LTS : VestaCP Installation Prerequisite(s)
Ubuntu Release Notes
Part 1 Disable AppArmor in Ubuntu 16.04 LTS ?
Part 2 Disable Firewalld/UFW
Part 3 Set Hostname Permanently
Part 4 Disable Network Manager & Set Static IP
Part 5 Configure Chrony NTP server
Part 6 Set-Up Time Zone
Part 7 Update & Upgrade APT
Part 8 How To Add Swap Space on CentOS 7?

VestaCP Installation: ( High Performance NGINX Web Server )
1. How to Install High Performance VestaCP Hosting Panel with NGINX+php-fpm on Ubuntu 16.04 LTS?
2. VestaCP Basic Configuration after Fresh Installation
3. How to Configure 4096 bits Let's Encrypt SSL for VestaCP Control (Admin) Panel?
4. How to Harden Nginx with Let's Encrypt SSL Certificate and get A+ Score from Qualys Lab ?
5. How to Strengthening Nginx Security and Website Security Headers with SSL?
6. How to Harden Vesta Nginx with Let's Encrypt SSL Certificate ?
7. How to enable http2 and Secure Server FQDN for VestaCp in Ubuntu 16.04 L.T.S?
8. How to enable GZIP compression to increase PageSpeed Score for Nginx?
9. How to Configure Browser Caching for Nginx?

Apache and NGINX  must learn
https://techexpert.tips/category/apache/
https://techexpert.tips/category/nginx/

Nginx & VestaCP Performance Optimization

Apache DDOS Protection: mod_evasive on Apache
https://www.atlantic.net/vps-hosting/how-to-install-and-configure-modevasive-with-apache-on-ubuntu-18-04/
https://www.linode.com/docs/guides/modevasive-on-apache/
https://stackoverflow.com/questions/35146101/apache-mod-evasive-whitelist-is-not-working-properlly
https://www.plothost.com/kb/enable-mod-evasive-easyapache/
https://www.plothost.com/kb/whitelist-ips-apache-mod-evasive/
https://techexpert.tips/apache/apache-mod_evasive-installation/

VestaCP Tweaks
https://tutorials.kurtobando.com/vestacp-and-vesta-web-interface-on-ubuntu-18-04/ 

Web Performance Test
https://www.webpagetest.org/

Apache Setup knowledge: 
https://serverfault.com/questions/383526/how-do-i-select-which-apache-mpm-to-use
https://www.datadoghq.com/blog/monitoring-apache-web-server-performance/

SSL Security 
https://serverfault.com/questions/874936/adding-hsts-to-nginx-config

VirusTest
https://docs.libraesva.com/email-security-tester/
https://www.aleph-tec.com/eicar/

Nginx Performance:

SystemD-Resolvconf, StubDNS, Unbound DNS 

https://askubuntu.com/questions/1113901/dns-resolve-is-not-working-on-18-04-server
https://www.linode.com/community/questions/17081/dns-stops-resolving-on-ubuntu-1804

Caching DNS

https://askubuntu.com/questions/130452/how-do-i-add-a-dns-server-via-resolv-conf
https://www.digitalocean.com/community/questions/dns-resolution-has-stopped-working-on-my-ubuntu-16-04-droplet 

Open Base_Dir and apache2 template
/usr/local/vesta/data/templates/web/apache2/default.tpl
/usr/local/vesta/data/templates/web/apache2/default.stpl


PHP Upgrade & Required Module Installation
1. How to Upgrade PHP 7.0 to PHP 7.2.x Stable Release on Ubuntu 16.04 LTS for VestaCP ?
2. Install Ioncube Loader for PHP




Securing MySQL/MariaDB
1. How to find out & Change VestaCP MySQL/MariaDB root Password ?
2. How to Upgrade MySQL 5.7 to MariaDB 10.1 Stable Release on Ubuntu 16.04 for VestaCP ?
3. How to Secure MariaDB for VestaCP and CWP ?

Mail with RSPAMD
https://www.c0ffee.net/blog/mail-server-guide/#rspamd
https://gist.github.com/ibqn/22b9c1726dae656f295a9060fb758d15
https://thomas-leister.de/en/mailserver-debian-stretch/
https://words.bombast.net/rspamd-with-postfix-dovecot-debian-stretch/
https://roll.urown.net/server/mail/rspamd.html#id19
https://www.scaleway.com/en/docs/setup-a-mailserver-on-ubuntu-bionic-beaver-with-dovecot-postfix-rspamd/

MailGraph and CGI
https://wiki.deimos.fr/images/6/62/Mailgraph.pdf
https://www.server-world.info/en/note?os=Ubuntu_18.04&p=mail&f=10
https://www.howtoforge.com/mail_statistics_mailgraph_pflogsumm
https://www.howtoforge.com/tutorial/postfix-monitoring-with-mailgraph-on-ubuntu-14-04/