Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
wp on DO - setup


  • one-click install
  • sensitive file: wp-config.php
  • new db user, OS user, wp user
  • add ssh keys && Disable Password Authentication
  • do mysql_secure_installation
  • wp REST api
  • http://ip/wp-login.php
  • dir: /var/www/html
  • The "ufw" firewall is enabled. All ports except for 22, 80, and 443 are BLOCKED.
  • The passwords for MySQL and the WordPress users have been saved to: /root/.digitalocean_password
  • Not easy to use wp and git Ref, Ref2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment