Menu
blog.headdesk.me
blog.headdesk.me

Category: tech

kubernetes quickstart

kubernetes and docker In this post, I’ll be deploying a docker cluster running a number of nginx containers. Bare with me though as I am still learning about kubernetes and docker. Machines The master node will be controlling the worker nodes. Deployments will not run on the master node itself. From my experience, at least…

Loading

ipfs

Brought to my attention by a friend, I gave ipfs a try and here is what I did to get started: $ brew install ipfs $ ipfs init $ ipfs version ipfs version 0.4.14 $ hostname > test.txt $ ipfs add test.txt added QmNqNJh8Y7s65ioV6mqqmQUeSoy7UK3BemQExzqF8163HY test.txt $ curl https://ipfs.io/ipfs/QmNqNJh8Y7s65ioV6mqqmQUeSoy7UK3BemQExzqF8163HY xpk-pro.comme.ca $ ipfs get -o test.txt QmNqNJh8Y7s65ioV6mqqmQUeSoy7UK3BemQExzqF8163HY…

Loading

Take LVM snapshot before ubuntu upgrade

Ubuntu upgrade can be a challenge Ubuntu 18 is coming up in a few months. I started using Ubuntu on my machine since version 9.10 and it has gone through 8 upgrades. I’m running 17.10 now. If memory serves me right, my system crashed 2-3 times during these upgrades. In fact, those were the only…

Loading

Trade security with performance

The recent CPU flaw caused quite a mess. Most recent linux kernels have the problems patched, but what if I am willing to trade security for performance? I’ll need to compile my own kernel and here is how to do that on Ubuntu 17. apt install git build-essential kernel-package fakeroot libncurses5-dev libssl-dev ccache wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.15.tar.xz…

Loading

Why the hack?

Why attacking and hacking – proof of concept – causes service interruption – utilize compromised systems to attack other targets – steal compute power – build zombie network – ransome – attention seeking – personal reasons How does it happen – Webhack exploiting vulnerable apps or scripts – SQL injection – Overflow boundaries – Brutish…

Loading

5th-generation EC2 instances

AWS introduced 5th-generation EC2 instances in selected regions. These instances live on Nitro which is KVM based. These c5 and m5 instances are faster yet cheaper. The switch however cannot be done by a simple instance type change.

Loading

Meltdown and Spectre CVE-2017-5715

Numerous posts and announcements have been made available in past 48 hours[1]. I don’t want to embarrass myself trying to describe what they’re about. Here I want to measure the performance penalty for the kernel patch. Kernel update has been made available on CentOS 7 (3.10.0-693.11.6.el7), roughly 12 hours behind Redhat. Here is a quick…

Loading

Recovering data from Lacie 2big NAS

My Lacie 2big NAS recently died. For weeks, it had been powering off itself randomly. At first I thought it’s a bug with the latest update and the power saving feature. But yesterday, it hung and after power-cycling, it refused to power on. I even tried a new power supply. I get 1 blink on…

Loading

Using list and lookup in terraform HCL

Terraform delivers consistent build and save a lot of time from clicking and scrolling. But when the resources, in this case ec2 resources are slightly different, it may be necessary to create a tf config for every instance. That defeats the purpose of automation. By storing the differences in a list and use the lookup…

Loading

aliyun

Switched to aliyun international today. It’s incredibly fast compared to DigitalOcean in the same region. Monthly charge is reduced by almost 50% [1] Blazing fast Compared to what I previous used, network performance exceeds my expectation. My DO vm was in the same region. Very often I had to wait 3-10 seconds for my blog…

Loading

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
  • aws (14)
  • coffee (2)
  • headfi (1)
  • linux (9)
  • others (61)
  • security (2)
  • tech (41)
  • terraform (3)
  • wordpress (2)

Loading

apache aws awscli azure backup boot cloud coffee docker ec2 EL8 ElasticBeanstalk espresso featured git kernel lelit linux lvm meltdown MFA nat gateway php power proliant python rdp Redhat RHEL rpm Ryzen scp security smartarray smart switch snapshot spectre tech terraform ubuntu ubuntu upgrade vpn windows wordpress workspace

©2026 blog.headdesk.me | Powered by SuperbThemes