Twitter Digest

Twitter Digest

Twitter Digest

New Testing Server 2016

I started this post back in August 2016 when I set my old Mac mini up as a media server and webserver for testing purposes. I never finished it or got back to it, which is a bit of a bummer since it is all just so much gobbledygook to me now. Still, it documents the process I used this time to set up Apache, php and ftp. And, since one of the first purposes of this site was to store and have available various computer processes I had engaged in I guess I will post it for posterity despite its incompleteness.

 

Set up Server

The Perfect Web Development Environment for Your New Mac

Enable Root user
Directory Utility
Edit–>Enable Root User

MySQL : http://dev.mysql.com/downloads/mysql/

Apache

sudo apachectl start
sudo apachectl restart

/private/etc/apache2/httpd.conf

PHP

117 LoadModule php5_module libexec/apache2/libphp5.so

220
221 AllowOverride none
222 Require all denied
223

160 LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
477 Include /private/etc/apache2/extra/httpd-vhosts.conf

httpd-vhosts.conf file in the /private/etc/apache2/extra/
ServerAdmin info@macblaze.ca
DocumentRoot “/www/home/”
ServerName 192.168.1.10
ErrorLog “/private/var/log/apache2/home.macblaze.ca-error_log”
CustomLog “/private/var/log/apache2/home.macblaze.ca-access_log” common

IP to LocalHost
sudo nano /etc/hosts

Add the Domain and ‘www‘ alias to resolve to the localhost address

127.0.0.1 apple.com www.apple.com

sudo apachectl restart

Text Wrangler

http://www.barebones.com/products/textwrangler/download.html
Command Line tools

Set up A record for subdomain

FTP Server

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

Open up router to forward port 80 to localhost

 

Install wordpress

 

Modify wp-config

/** sets up ‘direct method for wordpress auto-update without install in ftp **/

define(‘FS_METHOD’,’direct’);

 

https://wordpress.org/support/topic/auto-upgradeupdate-on-mac-os-x

$ cd /<wherever>/Sites/<thesite>
$ sudo chown -R _www wordpress

Here’s a simple option that gives you full (read+write) access, lets the webserver read the files, and locks everyone else out of the web folder

$ sudo chown -R “username”:_www /www/home/wp-content

$ chmod -R u=rwX,g=rX,o= /www/home/wp-content

 

The Boozephiles

 

A post shared by The Boozephiles (@theboozephiles) on

A year and some ago C said “We should try some cocktails.”

We said “Ok.”

She said we should take pictures. Maybe have a website.”

We said, “Uh…ok.” We are so articulate.

“She said “Try this…”

We did. It was good. And boozephiles.com was born. We also added @theboozephiles on Twitter and theboozephiles on Instagram. So once a week we gather, try a new cocktail and occasional make faces when it doesn’t suite the tastes, palatesor sensibilities of one of us.

That was 67 drinks ago and we are still going strong. So tag along if you want to discover some wonderful new concoctions or learn about some old ones. And let me know if you have any suggestions.

Instagram This Week

TOday’s Post? More Instagram!
Discovered tucked into the brim of a hat I haven’t worn for many years. #1983 #littleriverband #awesomeconcert
Discovered tucked into the brim of a hat I haven’t worn for many years. #1983 #littleriverband #awesomeconcert

This little gem was in the brim of an old black fedora I inherited from my elder brother. There were a few other tickets as well as a Baker Oilfield sticker. I miss wearing hats…

Sourdough done two ways. Let’s see if either turned out!
Sourdough done two ways. Let’s see if either turned out!

They both did. See my previous post.

Sourdough Roundup

I mentioned the other day I was working on my sourdough skills. 

Loaf #3 looked like it was going to be a complete failure (no rising action, so I feared for the denouement…) so while I didn’t completely abandon it, I decided to start a new levain so I could try again on Sunday morning. Upon waking Sunday am, the first batch had risen magnificently so I shoved it in a hot oven and 40 minutes later I produced this:

But that left me with a fresh levain all puffed up and ready to go. So I decided to go ahead and make another loaf.

So I suppose a bit of background info and vocab is in order. Sourdough is made from a sourdough starter which is just flour and water that has been left out and fed regularly with more flour and water until it attracts enough of the natural yeasts in the air to start reacting without additional yeast. Once you have a good starter going you can store it in the fridge and feed it once a week or so (with flour and water) indefintiely. 

When you decide to make bread, you take the starter out, feed it up for a day or two or three (again, flour and water…getting the trend here?) to make sure it’s going again. Then take a tablespoon or two, add more flour and water and let it sit overnight. This gives you a levain which is what will go on to form your bread dough. The starter just goes back in the fridge until next time. The levain is then used, with even more flour and water, to form a wet dough which you allow to rise (this stage is called autolyse) for an hour or so. Then you add salt and go on to make the bread in a fairly traditional manner. It kills me that this stuff is, other than a tablespoon of salt, completely 100% just flour and water. Ain’t science cool.

The first loaf was a boule (round, french-type, bread thing) which I made in a preheated dutch oven, but for the second loaf I wanted to try something different. I decided to form it while it was rising and then stuffed it into my oven  — on parchment paper — using the proofing setting with a bunch of boiling water in pans. What do you know, 4 hours later the loaf had risen fairly well. I then moved it to a Staub casserole, scored the top (to let out the steam that causes a quick rise in the initial part of the baking) and popped it back into the oven at 475° or so.

 

Voila. The temps and cooking times varied and I will have to experiment a bit more to nail down the process but they both turned out fine. Loaf #1 had a bit more “sour” to the sourdough, but they say that happens when you let it rise longer.

Twitter Digest

Sourdough Experiments

A couple of weeks back I decide to try my hand at sourdough. In principle its pretty easy, but nothing is really all that easy when it comes to bread. 

After a few false starts I successfully got my starter to work. It’s pretty amazing what flour and water will do if you let it “fester.” Then I moved on to my first actual loaves. I will call them a tentative failure because although the final product was edible, it wasn’t in any way what it was supposed to be. Both loaves formed a hard crust when rising and then fell inside the crust. But I ate it anyway.

My next loaf was at Xmas and I used a slightly different technique and sealed the dough with clingwrap to keep the moisture in. This one worked out pretty damn good. I am not sure why.

Today I am working on attempt #3. I think I will let it rise overnight in the fridge and bake it tomorrow. I’ve got my fingers crossed…