VestaCP config for minimal DO droplet

General questions about VestaCP
wilma55
Posts: 29
Joined: Thu Aug 18, 2016 11:39 am

VestaCP config for minimal DO droplet

Postby wilma55 » Mon Sep 04, 2017 10:55 am

Hello

Tell me please what should I use to install VestaCP on DO with minimal pareameters?
512Mb / 20 Gb / 1 Ghz

Thank you

Phogo
Posts: 32
Joined: Fri Dec 09, 2016 12:40 pm

Re: VestaCP config for minimal DO droplet

Postby Phogo » Mon Sep 04, 2017 3:47 pm

The base droplet for $5 will run Vesta, https://www.digitalocean.com/ but I would recommend at least the $20 one.

wilma55
Posts: 29
Joined: Thu Aug 18, 2016 11:39 am

Re: VestaCP config for minimal DO droplet

Postby wilma55 » Mon Sep 04, 2017 6:44 pm

no. by default it install all components: spamfilter, firewall and etc

but the smallest package cant use all of these.

mehargags
Posts: 716
Joined: Sat Sep 06, 2014 9:58 pm

Re: VestaCP config for minimal DO droplet

Postby mehargags » Tue Sep 05, 2017 2:44 pm

A custom install with following components should be good enough for 512mb Droplet

This is for Debian/Ubuntu

Code: Select all

bash vst-install.sh --nginx yes --apache yes --phpfpm no --vsftpd yes --proftpd no --exim yes --dovecot yes --spamassassin no --clamav no --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi no --quota yes

wilma55
Posts: 29
Joined: Thu Aug 18, 2016 11:39 am

Re: VestaCP config for minimal DO droplet

Postby wilma55 » Wed Sep 06, 2017 6:14 am

thank you

wininets
Posts: 1
Joined: Tue Oct 11, 2016 5:54 pm

Re: VestaCP config for minimal DO droplet

Postby wininets » Wed Sep 06, 2017 6:18 pm

Yes it will, run but if you plan on using something like WordPress you should optimize the apache and mysql configs for low resources. Wordpress and some very popular plugins will quickly exhaust available ram causing MySQL to error out.

Generally speaking you will want some more ram to handle normal everyday cyber attacks, for example fail2ban can eat up resources. And if you run ClamAV forget about 512 just not going to cut it.

This will run ok.

Code: Select all

bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin no --clamav no --mysql yes --postgresql no


Do yourself a favor and block non essential ports, like SSH, FTP etc when in production. This will reduce the fail2ban monitoring load giving you a little more mileage.

wilma55
Posts: 29
Joined: Thu Aug 18, 2016 11:39 am

Re: VestaCP config for minimal DO droplet

Postby wilma55 » Wed Sep 06, 2017 7:53 pm

what about hostgator and others?
they have similar configs.
and I can run a lot ot WP sites. setup wp cache and everything is OK

vpsops
Posts: 1
Joined: Thu Sep 07, 2017 6:46 pm

Re: VestaCP config for minimal DO droplet

Postby vpsops » Thu Sep 07, 2017 8:16 pm

If you opt for a lowend VPS just remember to configure and use SWAP file. DO offers SSD disks on their droplets, so SWAP is almost (yes, almost) the same that RAM in terms of speed.
This is not the best solution, but it would offer more stability.
You will also want to tweak Apache (childs and prefork) to avoid high CPU usage that could drive to a forced process exit.

Keep also in mind, as just stated before, that if you plan to use email services (Exim, spamassassin etc.) you need at least 1 or better 2 gig of RAM on your VPS.

wilma55
Posts: 29
Joined: Thu Aug 18, 2016 11:39 am

Re: VestaCP config for minimal DO droplet

Postby wilma55 » Fri Sep 08, 2017 8:11 am

so in my case will be better use hosthator for example?

mehargags
Posts: 716
Joined: Sat Sep 06, 2014 9:58 pm

Re: VestaCP config for minimal DO droplet

Postby mehargags » Fri Sep 08, 2017 8:05 pm

wilma55 wrote:so in my case will be better use hosthator for example?


Honestly, I feel you are very new to linux and how stuff works, I suggest you practice with a small droplet first, host a non-important site for a few days and watch your performance.

Optimisation is a process not a product, you need to continuously watch your logs, check performance metrics and fine tuning your server's apache/nginx/mysql and so on. Using additional services means more resources to be used, so better do away with the minimal set first. Good luck..!


Return to “General Discussion”



Who is online

Users browsing this forum: No registered users and 5 guests