Skip to content

Instantly share code, notes, and snippets.

@karlpokus
Created May 15, 2017 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlpokus/476b4b16d602e8e62a5b958f9ace0ea1 to your computer and use it in GitHub Desktop.
Save karlpokus/476b4b16d602e8e62a5b958f9ace0ea1 to your computer and use it in GitHub Desktop.
wp on DO - setup

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