Tag: Linux

MySQL 5.6 upgrade tips for Ubuntu 12.04 Precise

(Wow, 1 year to the day from last post. How funny. Been too busy this last year to write up anything!) These tips are only based on issues I’ve run into on my development server.  Currently we have a MySQL

Posted in Databases, Development, Linux Tagged with: , , ,

CentOS 7 Clone Server from mdadm lvm system

The below info is only super quick notes during a clone I ran recently, this is not a  complete HOW-TO!! My preference is to use LVM snapshot backups using fsarchiver. I typically have a layout like so: /dev/md0  –  /boot

Posted in CentOS, Linux, Networking Tagged with: ,

VMDK convert and raw IMG mounting on Ubuntu 14.04 Linux

I haven’t tested mounting just the vmdk image, wasn’t sure if that would work, so I just ran the conversion first to raw img file.  I don’t really need to regularly, but I wanted to convert an old vmdk virtual

Posted in KVM, Linux, Ubuntu, Virtualization, Windows XP Tagged with: , , ,

Windows 2003 Server 32bit guest on KVM host VirtIO drivers

This was a tough one to figure out, yet, simple to do once I did it right.  I am trying to setup a lab network to do some testing with recovery and migration with older Exchange and Windows servers before

Posted in KVM, Networking, PC Repair, Problems, Virtualization, Windows Server Tagged with: , , ,

Recovering Ubuntu 12.04 ZFS on Linux root pool mirror boot failure

ZFS Root Mirror Zpool

Recently I ran into a problem booting my root ZFS mirror. Couldn’t get it to load, and only saw blinking cursor or blank screens. Grub could see the FS though!  I suspect I had a corrupted or out-of-sync zpool.cache file.

Posted in FreeBSD, Linux, Problems, Ubuntu Tagged with: , ,

Exclude ZFS filesystems from zfs-auto-snapshot on Ubuntu and remove them


Just ran into this quick blurb… zfs set com.sun:auto-snapshot=false butank/DATA/backups So I have backups running to a secondary storage ZFS pool in my server and today I realized my disk space was consumed by ZFS snapshots.  I thought, there’s no

Posted in Backup, Linux, Problems, Ubuntu Tagged with: , , , , ,

Create ISO image from CD or DVD disk in Linux

Just ran into this solution which works pretty good.  I first found that I could create an ISO image from my CD disc by using cat, like so: cat /dev/sr0 > /path/to/new.iso However, using the “right tool for the job”

Posted in Geek, Linux Tagged with: , , ,

UnixODBC on Ubuntu 12.04 broken and unable to connect error

Screen Shot 2012-09-07 at 9.40.50 AM

Recently I upgrade to Ubuntu 12.04. We had UnixODBC running fine in 10.04, but something changed because the odbc drivers couldn’t be found.  I got an error while running isql: isql -v gregtest [01000][unixODBC][Driver Manager]Can’t open lib ‘/usr/lib/odbc/libmyodbc.so’ : file

Posted in Databases, Linux Tagged with: , , ,

Netatalk Time Machine backups to Ubuntu Linux 10.04 Lucid AFP Network Share Configuration Guide

Well… not much of a guide really.  Just a very quick how-to on what I did to get Time Machine on my Macbook Pro with OSX Lion 10.7 to save the backup data to my Linux server network share using

Posted in Backup, Linux, Mac, Networking, Ubuntu Tagged with: , , , , , , , ,

Spideroak is not a good enough alternative to Dropbox (or Crashplan) for me

EDIT 5/19/2012 As per this item in SpiderOak Realease Notes (4.5.9939): Looks like they do include a LAN sync feature now!!  I left my original post below intact, but wanted to point out this update right away. I am going

Posted in Backup Tagged with: , , , ,

UnixODBC example setup and configuration on Ubuntu Lucid with Mysql and PostgreSQL using the command line only

Below is a very quick example of what I did to configure a system DSN connection to a Mysql and PostgreSQL database using UnixODBC drivers on Ubuntu Lucid server from command line only.   # Do the obvious, install mysql

Posted in Databases, Linux, Ubuntu Tagged with: , , , ,

Resource Usage on Dell Inspiron Mini 1012 with Window 7 Ubuntu 10.04 Lucid and Jolicloud

I was asked about the resources used on the Dell Inspiron Mini 1012 using either Windows 7, Ubuntu 10.04 Lucid, or JoliCloud operating systems.  So… here’s what I found… I didn’t do anything fancy, just boot each up and look

Posted in Linux, Ubuntu, Windows 7 Tagged with: , , , , ,

Reset your Windows password with Chntpw using System Rescue CD

Quick note about using chntpw command to reset Windows passwords. Mostly, I just couldn’t remember what the command line program was or the switches. Boot to System Rescue CD. mount the Windows drive RW (mine was RO) cd to the

Posted in Linux, PC Repair, Registry, Security, Windows 7, Windows XP Tagged with: , , , , ,

Nmap network discovery port scan

If you are like me, you don’t have time to run nmap scans and do other network maintenance. Running nmap is one of those really fun and useful tools that are easy to use, but since I rarely use it,

Posted in Internet, Linux, Security Tagged with: , , , , , , ,

Netbook with Jolicloud vs Windows 7 vs Ubuntu Maverick vs Ubuntu Lucid

I tested Windows 7, Jolicloud, Ubuntu 10.10 Maverick, and Ubuntu 10.04 Lucid on my new Dell Inspiron Mini 10 (1012) Netbook.  First let me say, Window 7 on this netbook is barely usable. If you wait for the OS to

Posted in Geek, Internet, Linux, Ubuntu, Windows 7 Tagged with: , , , , , , , , ,

Installing the Minefield package – Firefox 4 beta on Ubuntu 10.04 Lucid

I keep forgetting what to do to add the Firefox 4 beta to my Ubuntu Linux 10.04 Lucid systems. It’s quick and easy, just copy the lines below (one at a time) into Terminal and add the PPA sources to

Posted in Geek, Linux, Ubuntu Tagged with: , , , ,

broadcom STA wireless driver “systemerror: installarchives() failed” on Ubuntu Maverick Dell Mini

broadcom STA wireless driver “systemerror: installarchives() failed” on Ubuntu Maverick Dell Mini While attempting to Activate the proprietary Broadcom STA Wireless driver in Ubuntu 10.10 Maverick, I waited and then recieved the error, “systemerror: installarchives() failed”. I am using a Dell

Posted in Geek, Linux, Ubuntu Tagged with: , , ,

How to remove or detach dvd from VirtualBox machine using VBoxManage command line

This took a while to solve, its not exactly user-friendly.  I have a FreeBSD server running VirtualBox virtual machines in headless mode, and I need to do everything using VBoxManage command line. (CLI)  In one case I wanted to remove

Posted in FreeBSD, Linux Tagged with: , ,

Fix ext4-fs cannot change data mode on remount with tune2fs

I thought I’d be smart and enable data=journal on my root file system. I know its slower, but I prefer data integrity over speed on this system. Even if its not my main data volume, I like the idea of

Posted in Linux Tagged with: , ,

Removing offending key in known_hosts

sed -i ’53d’ ~/.ssh/known_hosts Run in your home directory. Replace “53” with the line number referred to in the known_hosts error from the ssh login attempt. You need the “d”. If you had line 12, then you’ll show ’12d’ in

Posted in Uncategorized Tagged with: