Boa tarde Gabriel.
Estou há dias tentando colocar um site online. Tentarei ser o mais preciso possível no que fiz abaixo.
-
Crei uma instância na vultr, em são paulo, com Debian 10 x64 (buster)
-
Fui no cloudflare e criei 3 registros.
A apontando para o Ipv4
AAAA apontando para IPv6
CNAME apontando para o domínio. -
Acessei o server via SSH e executei os seguintes comandos em ordem:
– apt-get update -y
– apt-get upgrade -y
– reboot
– timedatectl set-timezone America/Sao_Paulo
– nano /etc/hosts
– ipv4 https://site.com.br server (substituindo a primeira linha e mantendo localhost na segunda)
– IPv6 https://site.com.br server (acrescentando às linhas já existentes)
– nano /etc/hostname (estava escrito vultr pq não setei nome do server pq pretendo usar vários domínios de pouquíssimo tráfego aqui)
– hostname server
– hostname (aparece escrito Server)
– hostname -f (aparece https://site.com.br)
– wget -qO wo wops.cc && sudo bash wo
– acme.sh --set-default-ca --server letsencrypt (deu command not found)
– wo site create https://site.com.br --wp --le
Abaixo segue o log.
root@vultr:~# wo site create https://site.com.br --wp --letsencry pt
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Downloading WordPress [Done]
Setting up database [Done]
Configuring WordPress [OK]
Installing WordPress [OK]
Installing plugin nginx-helper [OK]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
WordPress admin user : UpSeller
WordPress admin password : xxxxxxx
Successfully created site http://site.com.br
Certificate type : domain
site.com.br point to the IP 107.191.xx.xxx but your server IP is 216.238.xxx.xxx.
Use the flag --force to bypass this check.
You have to set the proper DNS record for your domain
Aborting SSL certificate issuance
root@vultr:~# wo site create https://site.com.br --wp --letsencry pt
site site.com.br already exists
root@vultr:~# wo site update https://site.com.br --wp --letsencry pt
can not update wp basic to wp basic
root@vultr:~# wo site update https://site.com.br --letsencrypt Certificate type : domain
site.com.br point to the IP 107.191.xx.xxx but your server IP is 216.238.xxx.xxx.
Use the flag --force to bypass this check.
You have to set the proper DNS record for your domain
Aborting SSL certificate issuance
root@vultr:~# wo site update https://site.com.br --letsencrypt
Certificate type : domain
Validation mode : Webroot challenge
Issuing SSL cert with acme.sh [KO]
Your domain is properly configured but acme.sh was unable to issue certificate.
You can find more informations in /var/log/wo/wordops.log
root@vultr:~# wo site update https://site.com.br --letsencrypt
Certificate type : domain
Validation mode : Webroot challenge
Issuing SSL cert with acme.sh [KO]
Your domain is properly configured but acme.sh was unable to issue certificate.
You can find more informations in /var/log/wo/wordops.log
==============
Quando abro o prompt de comando e faço o ping -t, consigo pingar normalmente, porém quando tento acessar aparece a mensagem dizendo que o site demorou muito pra responder e não é possível acessá-lo.
Esta é a terceira ou quarta vez que tento instalar, porém sem sucesso.
Me ajuda?
Muito obrigado!
EDIT: Em tempo… consigo usar opencart nesse server?