PSC

Baixar o WordPress:

wget https://br.wordpress.org/latest-pt_BR.zip
unzip latest-pt_BR.zip
cd /var/www/html/wordpress/
rm -rf wp-content
cd /var/www/html/psc
mv wp-config.php wp-config.php1
rm -rf *.php *.txt wp-includes/ *.html wp-admin/
cd /var/www/html/wordpress/
cp -R * /var/www/html/psc
cd /var/www/html/psc
mv wp-config.php1 wp-config.php

Execute na pasta raíz do seu wordpress os comandos (pode selecionar as 3 linhas, colar e dar ENTER):

sudo chown www-data:www-data -R *
sudo find . -type d -exec chmod 755 {} \;
sudo find . -type f -exec chmod 644 {} \;

[Voltar]