Category Archives: Sys Admin

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

How to set the Expires and Cache-Control headers for all objects in an AWS S3 bucket with a PHP script

As of the current AWS API, setting the Expires and Cache Control headers for all objects in an AWS S3 bucket requires a script. It is possible to do it one file at a time through the AWS control panel, … Continue reading

Posted in Code, Sys Admin | Tagged , , | Comments Off on How to set the Expires and Cache-Control headers for all objects in an AWS S3 bucket with a PHP script