- Mac OS X – Export Google Chrome Browsing History to CSV File from the Terminal
- Mac OS X – Force Spotlight Search to Index a Network Folder
- Mac OS X – Install Yosemite/El Capitan via USB Thumb Drive or How to Get the DMG Image
- Mac OS X – Install Zabbix Agent from Source
- Mac OS X El Capitan – Cannot Restart into Boot Camp Partition
- Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original
- Mikrotik Scripting – Array Pop Function
- Mikrotik Scripting – Array Push Function
- Mikrotik Scripting – Function to Split an IP Address into an Array
- Mozilla Firefox 51.0.1 Runs Extremely Slow
- MySQL Script – Alter/Convert All Tables in a Database from MyISAM to InnoDB
- NextCloud – Purge Music Library from DB
- NextCloud – Rescan Music Library for All Users
- OpenMCU-ru – DSCP Based QoS Packet Tagging Rules for Linux IP Tables
- Outlook 2010 – Crashes Upon Opening Emails with Embedded Pictures
- Outlook 2010 – Only Starts in Safe Mode
- Outlook 2010 Hijacked
- pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files
- PHP – Simple PDO Class for Connecting to a MySQL Database
- Playstation 4 – Cannot Connect to the PSN Using Comcast Gateway
- Polycom RealPresence Desktop – Do Not Minimize to Taskbar Tray
- Polycom RealPresence Desktop – Windows QoS Registry Settings
- PowerShell Script – Generate DFS-R Health Reports and Email Them
- Putty – Import/Export Your Saved Sessions List and Settings
- Raspbian – How to Run X11vnc on Startup
Install MySQL Activity Report from Source
MySQL Activity Report is a handy database reporting tool that uses RRD (Round Robin Database) to display hourly, daily, weekly, and monthly graphs and gives helpful performance tuning recommendations for your MySQL installation. Here are the steps to install it from source on Ubuntu Server 12.04.3 while logged in as root. This assumes that you have the build-essentials, header files, etc necessary to build software already installed.
1. Change into your local source directory
cd /usr/local/src
2. Download the source files for rrdtool and mysqlard
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.8.tar.gz wget http://gert.sos.be/downloads/mysqlar/mysqlard-1.0.0.tar.gz
3. Unzip the files
tar -zxvf rrdtool-1.4.8.tar.gz tar -zxvf mysqlard-1.0.0.tar.gz
4. Change into the rrd directory
cd rrdtool-1.4.8
5. Install dependencies
apt-get install libpango1.0-dev libxml2-dev
6. Build rrdtool (will install to the /opt/rrdtool-1.4.8 directory)
Continue reading “Install MySQL Activity Report from Source”
