Marks Blog
  • PowerDNS Admin
  • About
  • Simple Ticket System

linux

Remove unused kernels

June 20, 2014 by mark

Remove all kernels but the latest For regular Debian/Ubuntu, type: for kernel in $(cd /boot; ls -1cr vmlinuz-* | head -n -1 | cut -f2,3 -d’-‘); do sudo apt-get remove -y $(dpkg -l | egrep “^ii linux-image-$kernel” | awk ‘{print $2}’); done If you are using ProxMox, type: for kernel in $(cd /boot; ls -1cr … [Read more…]

Posted in: Linux & Unix Tagged: debian, linux, proxmox

SATA vs. SSD

October 31, 2011 by mark

A MySQL server running on Ubuntu 10.04. First graph is a SATA disk, and the second is an Intel SSD. Remember to mount SSD partitions with the discard option for TRIM’ing support. (available in 2.6.33+ kernels).

Posted in: Linux & Unix Tagged: linux, performance, ssd

Bootable Software RAID-1 on running system

December 6, 2010 by mark

This is tested on Debian Squeeze, but should work on most Debian derived distributions and on other Linux distributions with small changes. I have written almost the same guide some years ago, but I wanted to add an extra disk to my QNAP NAS and decided to write it down again. Requirements; 2 identical disks … [Read more…]

Posted in: Linux & Unix Tagged: debian, linux, mdadm, raid

How to convert and burn a .dmg (Mac OS X) disk image on Linux

September 1, 2010 by mark

Today I wanted to burn a .dmg file, but I didn’t have an Apple computer available. So, running Linux I started to google for a solution, and found one. You need the dmg2img tool, which can be downloaded from http://vu1tur.eu.org/tools/, if it’s not available as a pre-built package for your Linux distribution. On Ubuntu you … [Read more…]

Posted in: Linux & Unix, Mac OS X Tagged: dmg, iso, linux, mac

No 64bit flash player for Linux

September 1, 2010 by mark

I’m not sure whether this is good or bad… but Adobe has removed it’s 64bit flash player for Linux (don’t know about other platforms). This means no flash-content for me, running Debian Squeeze amd64. The alternatives are .. none?  The gnash player (which has a Mozilla plugin) is useless for everything but movies and will crash and hog … [Read more…]

Posted in: Blog & Rantings, Linux & Unix Tagged: flash, linux

Use 3g USB modem for Internet connection with wvdial

July 14, 2010 by mark

My home dsl router broke yesterday, so I had to figure out how to get online again. Luckily I have my free-data 3g modem (from 3.dk), which works great from Ubuntu (network-manager). This is great for one computer at a time, but not for my entire home network. I searched and found exactly what I … [Read more…]

Posted in: Linux & Unix Tagged: 3g, linux, modem, ppp, usb, wvdial

Remote backup of Linux vserver

October 21, 2009 by mark

On my server i have several Linux Vservers running. This works really well, but i am missing some sort of fail-over. I have read articles about drdb8 and active-passive setups, but I don’t want something to complicated. To solve my problem, I have written a small script to rsync a vserver remotely. The script will be … [Read more…]

Posted in: Linux & Unix Tagged: backup, debian, linux, vserver

Linux Software-RAID

November 21, 2006 by mark

Linux Software-RAID 1 This is a short guide on setting up Linux software RAID-1 (mirroring) on a running system. Please test everything in a virtual machine or on some unused hardware before you try this on production servers. There could be errors and typos that could wipe your disks, you have been warned. If you … [Read more…]

Posted in: Linux & Unix Tagged: linux, mdadm, raid

Weather Station

Pages

  • About
  • PowerDNS Admin
  • Simple Ticket System

Affiliates

  • Danish Sensor Engineering
  • Mintr ApS
  • Nellemann Data

Social

  • BitBucket
  • GitHub
  • LinkedIn
  • Mastodon

Categories

  • Android
  • Automobile
  • Blog & Rantings
  • Development & Scripting
  • Grails
  • Linux & Unix
  • Mac OS X
  • Misc
  • No category
  • PowerDNS Admin
  • Puppet
  • Security Related
  • VirtualBox
  • Virtualization
  • VMware
  • Windows

Archives

  • January 2019
  • September 2017
  • January 2016
  • May 2015
  • March 2015
  • February 2015
  • December 2014
  • October 2014
  • September 2014
  • August 2014
  • June 2014
  • January 2014
  • July 2013
  • June 2013
  • February 2013
  • January 2013
  • December 2012
  • August 2012
  • May 2012
  • October 2011
  • April 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • March 2010
  • October 2009
  • September 2009
  • April 2009
  • January 2009
  • March 2008
  • January 2008
  • November 2007
  • January 2007
  • December 2006
  • November 2006
  • August 2006
  • June 2006
  • March 2006
  • October 2005
  • August 2005

Copyright © 2025 Marks Blog.

Mobile WordPress Theme by themehall.com