In this guide, I will explain the steps necessary to create an Amazon Linux 2 server with: Apache 2.4 PHP 7.3 Common PHP modules. No RDBMS (MySQL / MariaDB) – We won’t need that as you’re using RDS 🙂 Revision History 2019-11-25: mcrypt Installation Instructions 2019-11-24: Initial creation. Step 1: Follow AWS Guide on LAMP […]
Category Archives: Server Configuration
On Ubuntu, I've always used "ll" to quickly get a list of folders/files from a directory. This quick shortcut isn't built into iTerm for Mac. Add the following to your ~/.bash_profile alias ll='ls -lGaf' What does this do? List folders & files. List hidden files. Sorts the output and disregard case-sensitivity.
The following code snippets will let you load the production version of /wp-content/uploads to your local development computer. The order of placement matters so ensure this goes to the top (above the line that processes your PHP scripts).
The CLI process on updating Ubuntu 14: # Fetches the list of available updates. sudo apt-get update # Strictly upgrades the current packages. sudo apt-get upgrade # Installs updates for current Ubuntu release. sudo apt-get dist-upgrade Note: This does not upgrade to a new version of Ubuntu (such as Ubuntu 16). This updates your current […]
Problem When viewing any of my sites using port 80, the following error appeared on non-SSL websites: Nginx 400 Bad Request The plain HTTP request was sent to HTTPS port Original server block: server { listen 80; listen 443; ssl on; ssl_certificate /path/to/cert/example.pem; ssl_certificate_key /path/to/cert/example.private.key; root /path/to/wordpress; index index.php; # Website URL server_name blog.duaneleem.com; # […]