VestaCP CentOS 7 Server Installer
Re: VestaCP CentOS 7 Server Installer
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
Thanks
Re: VestaCP CentOS 7 Server Installer
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
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:
To manually edit it
Open up /etc/mail/spamassassin/custom_SA-rules.cf and on line 159 (near the end of the line)
Change
to
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
Open up /etc/mail/spamassassin/custom_SA-rules.cf and on line 159 (near the end of the line)
Change
Code: Select all
>
Code: Select all
>
Re: VestaCP CentOS 7 Server Installer
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!
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
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.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!
Re: VestaCP CentOS 7 Server Installer
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.
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
Check googles dns and see if it's returning the correct IP addresspandabb 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.
Re: VestaCP CentOS 7 Server Installer
Thanks for the reply and patience. How do i check w/ google dns ?
Re: VestaCP CentOS 7 Server Installer
Sorry for the late replypandabb wrote:Thanks for the reply and patience. How do i check w/ google dns ?
Code: Select all
dig server.yourdomain.com @8.8.8.8