Argh, you always remember your first NAS. I had forgotten the struggle to get this working under Ubuntu, so thought it prudent to put this post together (for my own reference, if nothing more..) Picked this up from Officeworks, at decent price IIRC. It’s essentially a 1TB HDD with Gigabit ethernet, powered by Debian ‘Lenny’. Although it doesn’t state support for Linux, it can be mounted via CIFS and works fine. Having said that, it isn’t the best NAS around. It has a single drive hence no fault tolerance, and the drive is not serviceable. To perform the initial setup,…
This one proved a little trickier than I expected. I’m using wordpress and h2o webserver. YMMV. I am not using WPMU The goal: map test.example.com -> /var/www/html/subdomains/test NB: Your hmtl root dir may vary. I use ubuntu 16.04 1. DNS – Create a CNAME record on your DNS host which is an alias of your domain name 1.1 Point browser to test.example.com. It should re-direct to your current wordpress install 2. Create a virtual host on your web server listening for your subdomain i.e. “test.example.com”. I need to edit /etc/h2o/h2o.conf. If you’re using nginx or Apache look away now!
file.dir: /var/www/html/subdomains/test # serve static files if found
redirect: # if not found, internally redirect to /i$
file.custom-handler: # handle PHP scripts using php-cgi (FastCGI mode)
file.index: [ 'index.php', 'index.html' ]
Decided to grab the camera and get out of the condo for a few hours yesterday. Headed down to Soi Nana, great people watching there. For the uninitiated, Sukhumvit Soi 4 (aka Soi Nana) is one of three red-light districts in Bangkok. Home to Nana Plaza (go-go bars), it also houses a number of beer bars along the soi which tend to be busy most of the time. Sat in Hillary 4 and then went across the road to Hooters and tried to get a handful of decent pictures. This guy has decided to stop and pose for a photo….
25th Feb 2012 – The sun sets over the Nan river in Phitsanulok, Thailand One of the best photos I’ve taken, IMHO. EXIF Data Make Canon Model Canon DIGITAL IXUS 80 IS Aperture 4.5 Exposure Time 1/125 (0.008 sec) Lens ID Unknown 6-18mm Focal Length 14.3 mm Flash Auto – Did not fire File Size 1568 kB File Type JPEG MIME Type image/jpeg Image Width 3264 Image Height 2448 Encoding Process Baseline DCT – Huffman coding Bits Per Sample 8 Color Components 3 X Resolution 180 Y Resolution 180 YCbCr Sub Sampling YCbCr4:2:2 (2 1) YCbCr Positioning Centered Date and…
Did ya miss me? Nah, thought so Redhat was a great little home for the first year or so of my blog, but I wasn’t surprised when they announced they were shutting it down and forcing peeps to migrate to a paid tier. I’m hitching my horse to the A2 post for a while. Shelling out a grand total of USD 10 per month for unmanaged VPS hosting. They hand you a VM running Ubuntu 16.04. The rest is up to you.. Unmanaged = you install and setup everything I had to setup the following to get the blog back…
As expected, a little music to ease you into the weekend. Turn it up to 11, bitchez.
Thinking about my cunt of a sister. I wouldn’t piss on her if she was on fire. You get the picture. Thought I’d send her a postcard. What would I write on the back? In Bangers it’s unlikely to snow if you don’t count hookers and blow Where the beers are cold and we’re growing old Spending nanny’s dough Sweet! The dead have no voice I’m surprised she couldn’t get rid of the AMOS name. She was my mother too, for 6 years until you came along sis. History is written by the winners, right. Should send you some sprinkles….
It’s Friday Bitchez! Time to pick out that party dress for the weekend.
Coming up to two years since we lost de Brito, blogger, author of The Lost Boys and seemingly all-round good bloke. Hit me like a tonne of bricks, when I read of his passing. Perhaps his finest moment with the pen was accurately describing rugby as penalties interrupted by Qantas ads. Pure gold! I won’t rehash details (or speculation about the cause) of his death. Not hard to connect the dots on that front. I guess if people you’ve never met mourn you, then you’ve left your mark. Made a difference. He did, to a lot of guys, through his…
I’ve been in a rut lately but I feel like I’ve turned the corner. You won’t find any MAO inhibitors or SSRIs in my medicine cabinet – once you start fucking with your brain chemistry is there a way back? I mean, I love myself. Fucking love myself. Don’t all narcissists? Fighting the black dog is something I just have to do at times, part of my DNA like drinking German beers. I don’t want to change the essence of moi. One of my wishes is that as a society we address and banish the taboo of suicide. It’s been…