Category Archives: Sys Admin

How to setup the MySQL data directory to be in your encrypted home folder on Ubuntu 14.04

Ubuntu has built in home folder encryption similar to OSX. I always turn on this feature on both OSs and have never experienced any perceptible performance hit. This guide shows one approach to migrating the MySQL data directory into the … Continue reading

Posted in Sys Admin, Work | Tagged , , , , | Comments Off on How to setup the MySQL data directory to be in your encrypted home folder on Ubuntu 14.04

Building SysBench in Ubuntu 13.04

When trying to build SysBench 0.4.12 you may be getting an error like: /bin/sh ../libtool –tag=CC –mode=link gcc -pthread -g -O2 -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/local/mysql/lib/ -lmysqlclient_r -lrt -lm ../libtool: line … Continue reading

Posted in Sys Admin | Tagged , , | 1 Comment