WordPress: mudanças entre as edições
De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
== Instalação de WordPress em Ubuntu 20.04 == | |||
Dependências do sistema + LEMP | |||
<source lang="bash"> | |||
apt update | |||
apt upgrade | |||
apt remove apache2 | |||
apt install locales locales-all | |||
dpkg-reconfigure locales | |||
dpkg-reconfigure tzdata | |||
apt-get install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip,fpm,ssh2,xml,mysql} | |||
apt install mariadb-server | |||
apt install nginx | |||
</source> | |||
Instalando | |||
<source lang="bash"> | |||
wget https://br.wordpress.org/latest-pt_BR.tar.gz | |||
tar zxvf latest-pt_BR.tar.gz | |||
mv wordpress/ /var/www/html/seusite.com.br | |||
chown -R www-data: /var/www/html/seusite.com.br | |||
</source> | |||
Exemplo para Nginx | |||
em /etc/nginx/sites-enabled/seusite.com.br.conf | |||
Certificado SSL | |||
<source lang="bash"> | |||
apt install certbot python3-certbot-nginx | |||
certbot --nginx | |||
</source> | |||
Dicas: rodar o mysql_secure_installation | |||
== Links oficiais == | == Links oficiais == | ||
* [http://wordpress.org/ WordPress] | * [http://wordpress.org/ WordPress] | ||
Edição das 17h56min de 22 de fevereiro de 2022
Instalação de WordPress em Ubuntu 20.04
Dependências do sistema + LEMP
apt update
apt upgrade
apt remove apache2
apt install locales locales-all
dpkg-reconfigure locales
dpkg-reconfigure tzdata
apt-get install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip,fpm,ssh2,xml,mysql}
apt install mariadb-server
apt install nginx
Instalando
wget https://br.wordpress.org/latest-pt_BR.tar.gz
tar zxvf latest-pt_BR.tar.gz
mv wordpress/ /var/www/html/seusite.com.br
chown -R www-data: /var/www/html/seusite.com.br
Exemplo para Nginx em /etc/nginx/sites-enabled/seusite.com.br.conf
Certificado SSL
apt install certbot python3-certbot-nginx
certbot --nginx
Dicas: rodar o mysql_secure_installation