====== Wordpress-cli ====== [[https://blog.logrocket.com/wp-cli-tutorial-how-to-deploy-wordpress/#:~:text=WP%2DCLI%20is%20the%20official,without%20using%20a%20web%20browser|https://blog.logrocket.com/wp-cli-tutorial-how-to-deploy-wordpress/#:~:text=WP%2DCLI%20is%20the%20official,without%20using%20a%20web%20browser]]. curl -O [[https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar|https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar]] # download\\ chmod +x wp-cli.phar # make executable\\ mv wp-cli.phar ~/bin/wp # move and rename \\ wp –allow-root –info wp core download –locale=pt_BR wp config create –dbname=exampledb –dbuser=exampledbuser –dbpass='securepswd' wp core install –url=[[https://example.com|https://example.com]] –title="My Site" –admin_user=exampleAdmin –admin_password=securepass –admin_email=exampleAdmin@nowhere.org wp rewrite structure '/%postname%/' –hard wp plugin list wp plugin install https://github.com/uspdev/senhaunica-wordpress/archive/refs/heads/master.zip –activate compativel com php 7.4 wp plugin install https://github.com/uspdev/senhaunica-wordpress/archive/refs/tags/2.0.2.zip cp config.php.example config.php wp plugin verify-checksums –all wp config list wp db export wp option list