Skip to content

Instantly share code, notes, and snippets.

@dmanexe dmanexe/wordpress.sh
Last active May 4, 2019

Embed
What would you like to do?
AWS Lightsail with Bitnami - Installation SCript
# Start by mkdir or cd'ing into your new webroot for your WordPress install
cd /opt/bitnami/apps/wp_container/
# Let's grab the latest WordPress (this URL never changes)
curl -o wordpress.zip https://wordpress.org/latest.zip
unzip wordpress.zip
# Re-assigns the apache user group permissions to excute and write directories and files.
# If you don't, there will be upload problems when you add new media or plugins
# Most themes also will not work without correct permissions
sudo chown -R daemon:daemon wordpress
# See: https://gist.github.com/dmanexe/42d82a0ca5c331b9f913a81f1452328e for Apache configuration
/opt/bitnami/ctl_script.sh restart apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.