Page 1 of 7

VestaCP CentOS 7 Server Installer

Posted: Wed Oct 05, 2016 1:20 pm
by SS88
Hey guys,

I have released a script that installs VestaCP, installs Monit, installs CSF with basic settings, fixes LetsEncrypt and installs a hostname SSL, and applies some common fixes. It can only be used on CentOS 7 as I have not tried it on anything else yet. You should only use it on NEW servers and your hostname should point to the IP address already else the script will fail..

More info: https://blog.ss88.uk/perfect-vestacp-se ... ler-centos

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 1:31 am
by amitz
Thanks will try to install on my server.

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 10:33 am
by amitz
Will this not interfere when vestcp releases a new update?

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 11:06 am
by SS88
amitz wrote:Will this not interfere when vestcp releases a new update?
Without a team member confirming I cannot guarantee..

I do not think that VestaCP updates system files i.e. exim.conf on updates, but anything and everything in /usr/local/vesta is modified / restored. If that is the case, my PHP-FPM fixes will be overwritten because this script changes the socket.tpl and default.tpl files.

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 11:08 am
by SS88
XoXiLhJ0mn wrote:Hello SS88,

It is not a good practice on linux to name files with capitalization, which may have no problem on windows server. It would not be bad, if you - in addition - keep files in small letters too, just in case. But of course, you are the boos. When the new build comes out, I will check your installer.

In fact, I thought of making a public installer, as I made a custom Centos7 installer for my own use. My installer does not require a fresh server, though. It also rejects the funny idea of Vesta team to compell everyone to install php garbage version of 5.4.33 and sidetracks it. Further, it is modular.

I do plan to release it someday, when I have time to clean the code.
As this has been TESTED on CentOS 7 I do not care if it's best practices or not, this is my script, and it works on CentOS 7. Strange how folders can have capitals, no? At the end of the day, it's user preference.

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 2:56 pm
by amitz
Hi,

i have installed, vestacp loading fine with letsencrypt with hostame, but monit isnt loading?
i checked with ip:2812 but nothing there, port is also open in csf?

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 3:00 pm
by SS88
amitz wrote:Hi,

i have installed, vestacp loading fine with letsencrypt with hostame, but monit isnt loading?
i checked with ip:2812 but nothing there, port is also open in csf?
Hmm. Yes it is.

Go into your console and try

Code: Select all

service monit start
Does it work now? If not, PM me the IP address

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 3:04 pm
by amitz
No didnt started

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 3:05 pm
by SS88
amitz wrote:No didnt started
You gonna have to give me error or logs or something.

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Oct 06, 2016 4:06 pm
by SS88
Just for everyone it was Monit and the use of a strong password. The file /etc/monitrc has been updated to allow the use of strong passwords.