Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

VestaCP config for minimal DO droplet

General questions about VestaCP
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
wilma55
Posts: 35
Joined: Thu Aug 18, 2016 11:39 am

VestaCP config for minimal DO droplet
  • Quote

Post by 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
Top

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

Os: CentOS 6x
Web: nginx + php-fpm
Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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.
Top

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

Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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
Top

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

Re: VestaCP config for minimal DO droplet
  • Quote

Post by wilma55 » Wed Sep 06, 2017 6:14 am

thank you
Top

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

Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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.
Top

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

Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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
Top

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

Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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.
Top

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

Re: VestaCP config for minimal DO droplet
  • Quote

Post by wilma55 » Fri Sep 08, 2017 8:11 am

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

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: VestaCP config for minimal DO droplet
  • Quote

Post by 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..!
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password