Tweaking the Bitnami WordPress Stack on AWS LightSail

Oct 17, 2018


I no longer use Bitnami on AWS LightSail due to the steps required to get sane application behaviour and performance are not worth it. Leaving this up for any searches leading here and will recommend for a similar level of serviced hosting, try DigitalOcean or Vultr.

Tired of clunkily updating a GitHub gist, herein lie my notes used when provisioning an AWS LightSail instance with Bitnami WordPress for quick migration/debugging of an existing user’s WordPress site.

define( 'WP_DEBUG', true );

tailing WP logs

tail -f /opt/bitnami/apache2/logs/error_log

connect to db

mysql -u bn_wordpress -p bitnami_wordpress # and pwd from wp-config

check plugin options

select * from wp_options where option_name = 'wp-static-html-output-options' \G;

modify PHP ini

not yet needed, seems to have large max_execution_time already

sudo vim opt/bitnami/php/etc/php.ini

Basic Auth

less noisy error log

sudo echo 'ErrorLogFormat "\n \"%M\" \n "' >> /opt/bitnami/apache2/conf/httpd.conf

^ needed re-rediting to affect the CR’s, look to fix

Scratch notes

Timeout 900 ->

in /opt/bitnami/apache2/conf/httpd.conf

import vim and tmux confs

curl --output ~/.tmux.conf

curl --output ~/.vimrc

not working without additional domain verification overrides:


Related categories:

Related tags:

Site menu

Back to top