Dreamhost WordPress HTTPs Redirect

No Apache does not need you to restart it. Yes, you are doing it wrong. Follow the instructions at the link:

https://help.dreamhost.com/hc/en-us/articles/216385837-Enabling-Shell-access

Make sure you are in <address-of-your-site.com folder> and not the web subdirectory. There are multiple .htaccess files, but I am not sure how missed the first one.

Enable shell access, but then be smart and enable SSH keys for password-less connections.

https://help.dreamhost.com/hc/en-us/articles/216385837-Enabling_shell_access

It helps to use the proper user name when trying to log in.

https://help.dreamhost.com/hc/en-us/articles/216499537-How-to-configure-passwordless-login-in-Mac-OS-X-and-Linux

Updating Dreamhost PHP and getting Homebrew

I got here trying to install homebrew to play with node/npm per:

https://treehouse.github.io/installation-guides/mac/homebrew

Paying attention to the output and getting Xcode to properly install reminded me how much a pain and how bloated Xcode is again. After unneeded obfuscation, I got the error below but was able to recover and move on.

https://discourse.brew.sh/t/xcode-select-error-invalid-developer-directory-library-developer-commandlinetools-failed-during-usr-bin-sudo-usr-bin-xcode-select-switch-library-developer-commandlinetools/693

Xcode finally installed but Mac could not let me be. Time to update the Mac OS. I used the time to figure out how to upgrade PHP and determine how htaccess/http redirect works on my “Dream” host. Dreamhost makes managing your site both easy and obfuscated. Want to setup SSL? Go to Manage Domains and click the SSL link and follow the on-page instructions. Want to update PHP? go to Manage Domains. Oh and then head to edit and select a new version PHP. For both, they will graciously update in some time at their convenience between now, 5 minutes, and a day. Go get some coffee.

Back on the Saddle

3 years of paid and unused service, but lets try this again

Started looking at serverless tonight to play around with something. Want a simple way to log and show production checkout test for systems I work on. Got to looking at https://aws.amazon.com/free, then looking at getting npm updated and running on my MBP. That got me installing homebrew and xcode (reminding me again how bloated and update driven xcode is). Just logging in, I had to remember how to use WordPress.

Then came the whys: Why is this site slow, why doesn’t it have https enabled, why am I paying so much each month? Why is PHP outdated and how do I get to a console to update it? Oh yeah – why did google tell me my site had issues again? Oh, it looks like crap too. Why did I setup up OpenShift last week on my Workstation (12 Core/48 GiB RAM) to play with containers when the web is moving on to serverless?

So here we are. A new post, homebrew installed, but NPM is not yet updated.