Editors note: Changing the featured pic on this post took the best part of an hour, thanks to the 2MB limit I had to get around. Done it before but this time it was harder. Seems on the web server I’m using (h2o) you specifically need to restart the php7.0-fpm service for the php.ini file to be reloaded If you’ve been keeping up then you’ll know I’ve got a few projects to work on. That’s a good thing. First cab off the rank is the build of my new Zyxel NAS 326 Unboxing and assembly The assembly itself didn’t take…
Off course they’re my DVDs! Just need backups.. Info below based on this post. 1. Get ISO info from your DVD
isoinfo -d -i /dev/sr0 | grep -i -E 'block size|volume size'
Logical block size is: 2048
Volume size is: 2264834
2. Use dd and modify count param to match vol size displayed in step (1)
dd if=/dev/sr0 of=/home/test.iso bs=2048 count=2264834
2264834+0 records in
2264834+0 records out
4638380032 bytes (4.6 GB, 4.3 GiB) copied, 373.405 s, 12.4 MB/s
3. Calc and compare checksums
NB: I am unable to get an md5sum directly from the cd-rom, getting error md5sum: /dev/sr0: Input/output error Instead I’ll use this:
sudo dd if=/dev/cdrom bs=2048 count=number_you_got_from_step_2 | md5sum
Same checksum twice and I’m GTG
This has been a project 5 years in the making. It happens. Was going to build my own NAS many years ago but it never eventuated. Purchased a few Seagate 500GB SATA II Internal HDDs from eBay back in April 2011 for around $100 each and was going to put them in a Thermaltake HDD canister picked up from newegg. (via PriceUSA ; a great service!) USD 70 down the drain 🙁 I think I ended up jettisoning the canister during one of my many moves. Also picked up a CF Adapter Card and a Kingston 8GB CF card on…
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….