Menu
blog.headdesk.me
blog.headdesk.me

Tag: linux

Let CloudWatch monitor your disk and memory utilisation

It is possible to use CloudWatch to monitor your disk and memory usage. There are very good information on AWS – http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/mon-scripts-perl.html For the impatient, here is how to get it done.

Loading

Backup to USB drive and power it off when not in use

On Linux, it is possible to power off a USB device using command line. It’s perfect for my USB backup drive. I can power it off after backup every night, and power it on before the job starts. This saves power, reduce heat, and more importantly, prevent accidental or unexpected changes as the device is completely offline.

Loading

Leap second 2015-Jul-1

Redhat has provided a couple of excellent articles describing the upcoming leap second as well as how to handle it. Here, I want to demonstrate the behavior of a server not running NTP.

Loading

Adding SystemRescueCD to grub2

Adding a bootable ISO image to grub will be very useful for recovering Linux systems. Here we add the systemrescuecd iso to grub2 on Ubuntu 15.04. It’s really easy and I recommend adding it to every Linux systems!

Loading

LXC and CentOS 7

LXC has quickly become my favorate test bed. Starting a CentOS 7 container is however slightly complicated.

Loading

Flash on Ubuntu+Firefox

It’s the most annoying thing when every now and then, your flash version is outdated and it won’t load the pages you visit every day. For me, this solved the problem: First, install pepperflashplugin-nonfree. It’s avaialble from official repository on Ubuntu 14.04. But this only install the plugin for chrome. Second, install the Fresh Player…

Loading

Convert number to human readable format

Sure you can do the math yourself but why not trust a tool. coreutils include a tool called numfmt which can convert a number to human readable format. Much like when you run df -h. On mac homebrew, the tool is called gnumfmt. Give it a try: [code] $ gnumfmt –to=iec-i –suffix=B 4812939778547 4.4TiB $…

Loading

RHEL7 is here

Immediate adaption efforts are need – that’s what I feel when I started to mess around with the latest version of Redhat. “Good! Adaptation, improvisation, but your weakness is not your technique.” – Morpheus     Systemd First thing I notice is many services have been migrated to systemd. That means the traditional service and…

Loading

Distributed filesystem with XtreemFS

In my opinion, an easy to use distributed filesystem on Linux is long due. Today I came across XtreemFS which accomplishes just that. Setting up a basic cluster with 2 OSDs takes no more than 10 minutes. Let’s walk through the processes. First, install the binary packages using repositories made available by the XtreemFS team. Once…

Loading

Version control of Linux config with etckeeper

There are a handful of version control tools for Linux but they were not designed to work with system config files. For example, RCS resets the file ownership and permission when a commit is made. This is when etckeeper comes into play. It works with a number of version control tools such as git and…

Loading

  • Previous
  • 1
  • 2
  • 3
  • 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