Skip to content

Instantly share code, notes, and snippets.

@renatoagomes
Last active January 15, 2019 02:00
Show Gist options
  • Save renatoagomes/6b304cbbd71cc6af61a5165fed90ad45 to your computer and use it in GitHub Desktop.
Save renatoagomes/6b304cbbd71cc6af61a5165fed90ad45 to your computer and use it in GitHub Desktop.
Setup details for AWS-Bitnami Wordpress
# Wordpress AWS-Bitnami Cheatsheet
#### Removing Banner
`sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1`
#### Restart Server
- APACHE: `sudo /opt/bitnami/ctlscript.sh restart apache `
- NGINX: `sudo /opt/bitnami/ctlscript.sh restart nginx`
#### Acessing phpmyadmin
- Get root credentials from EC2 Instance >> `Get system logs`
- `ssh -N -L 8888:127.0.0.1:80 -i KEYFILE bitnami@SERVER-IP` (no console prompt)
- http://127.0.0.1:8888/phpmyadmin.
## Refs
- https://docs.bitnami.com/aws/infrastructure/lamp/administration/access-phpmyadmin/
- https://docs.bitnami.com/aws/faq/get-started/find-credentials/
- https://docs.bitnami.com/aws/apps/wordpress/
-----------------------------------------------------------
## Other related stuff
- The site content is originnaly within /home/bitnami/wordpress/htdocs
- Make sure the owner is the bitnami user and the group is daemon (sudo chown bitnami:daemon ~/apps/wordpress/htdocs -R)
- Make sure the group has read/write permissions
- Make sure wp-admin/wp-content/wp-includes have correct permissions (rwxrwxr-x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment