Page 3 of 7

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Dec 01, 2016 3:52 pm
by pandabb
Hello sorry for the noobie question, it says make sure you have VESTA CP INSTALL? Does this means i have to install vesta cp first then run the script?

Thanks

Re: VestaCP CentOS 7 Server Installer

Posted: Thu Dec 01, 2016 3:56 pm
by amitz
On a fresh vps or server just run the script.It will install vestacp also.

pandabb wrote:Hello sorry for the noobie question, it says make sure you have VESTA CP INSTALL? Does this means i have to install vesta cp first then run the script?

Thanks

Re: VestaCP CentOS 7 Server Installer

Posted: Fri Dec 02, 2016 3:55 pm
by SS88
I have just found an error within SpamAssassin rules. If you have used this script, errors will be produced in the error log. To fix this, run the following:

Code: Select all

wget https://vestacp.ss88.uk/VestaCP_Installer/CentOS7/custom_SA-rules.cf -O /etc/mail/spamassassin/custom_SA-rules.cf
/sbin/service spamassassin restart
To manually edit it

Open up /etc/mail/spamassassin/custom_SA-rules.cf and on line 159 (near the end of the line)

Change

Code: Select all

>
to

Code: Select all

>

Re: VestaCP CentOS 7 Server Installer

Posted: Fri Dec 02, 2016 4:02 pm
by amitz
Thanks

Re: VestaCP CentOS 7 Server Installer

Posted: Sat Dec 03, 2016 1:27 am
by pandabb
Hello, the installation won't proceed as you've mentioned due to invalid hostname ip.

This is how i set my hostname.

nmtui eg. server.domain.com
/etc/hosts ip server.domain.com server

What did i miss?

Thanks!

Re: VestaCP CentOS 7 Server Installer

Posted: Sat Dec 03, 2016 3:00 am
by SS88
pandabb wrote:Hello, the installation won't proceed as you've mentioned due to invalid hostname ip.

This is how i set my hostname.

nmtui eg. server.domain.com
/etc/hosts ip server.domain.com server

What did i miss?

Thanks!
Hello. It needs to be a valid IPV4 as letsencrpt attempts to connect to the host and create an SSL certificate. The script uses googles DNS to get the IP address of the host.

Re: VestaCP CentOS 7 Server Installer

Posted: Sat Dec 03, 2016 3:54 am
by pandabb
How can i achieve a valid ipv4 using a fresh vps? When i try to ping the ip or server it works.

my hostname is: server.domain.com /etc/hosts ipv4 server.domain.com server

on my domain registrar i used a custom dns, ns1.mydomain.com ns2.mydomain.com and pointed it to my vps ip.

Re: VestaCP CentOS 7 Server Installer

Posted: Sat Dec 03, 2016 4:15 am
by SS88
pandabb wrote:How can i achieve a valid ipv4 using a fresh vps? When i try to ping the ip or server it works.

my hostname is: server.domain.com /etc/hosts ipv4 server.domain.com server

on my domain registrar i used a custom dns, ns1.mydomain.com ns2.mydomain.com and pointed it to my vps ip.
Check googles dns and see if it's returning the correct IP address

Re: VestaCP CentOS 7 Server Installer

Posted: Sat Dec 03, 2016 5:04 am
by pandabb
Thanks for the reply and patience. How do i check w/ google dns ?

Re: VestaCP CentOS 7 Server Installer

Posted: Sat Dec 03, 2016 12:34 pm
by SS88
pandabb wrote:Thanks for the reply and patience. How do i check w/ google dns ?
Sorry for the late reply

Code: Select all

dig server.yourdomain.com @8.8.8.8