Two bits of good news for MariaDB users from the distribution standpoint this week:
Showing entries 1 to 3
Mar
25
2013
Nov
27
2012
1. install Cmake
wget http://www.cmake.org/files/v2.8/cmake-2.8.10.1.tar.gz tar xvfz cmake-2.8.10.1.tar.gz cd cmake-2.8.10.1/ ./configure gmake -j3
2. install libaio
gmake -wget http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.gz tar xvfz libaio-0.3.92.tar.gz cd libaio-0.3.92/ make prefix=/usr/ make prefix=/usr/ installj3 install
3. install MariaDB 5.5.28
go to https://downloads.mariadb.org/mariadb/5.5.28/
OR
wget https://downloads.mariadb.org/f/mariadb-5.5.28/kvm-tarbake-jaunty-x86/mariadb-5.5.28.tar.gz/from/http:/mariadb.ulak.net.tr/ tar xvf mariadb-5.5.28.tar.gz cd mariadb-5.5.28/
the build will fail :
root@bubu:[Tue Nov 27 10:15:45]:[/opt/installs/mariadb-5.5.28]$ ./BUILD/compile-pentium-max testing pentium3 ... ok +++ /bin/rm -rf configure +++ /bin/rm -rf CMakeCache.txt …[Read more]
Mar
02
2011
#!/bin/sh # get.database.sizes.sh # by dragkh # Wed, 02 Mar 2011 17:59:44 +0100 # it will work on linux boxes with working mysql ps axu \ | grep datadir \ | grep mysql \ | grep -v grep \ | grep var \ | sed 's/^.*--datadir=//; s/ .*$//' \ | sort \ | uniq \ | while read crap do echo "" sized=$(du -s $crap | awk '{print $1}') avail=$(df | grep $(dirname $crap) | awk '{print $2}') echo -e "$crap\t$sized\t$avail" | awk '{printf ("%s:\tUsed: %6.2fG \tDISK: %6.2fG\t Usage: %6.2f%% \n",$1,$2/1024/1024,$3/1024/1024,($2/$3)*100)}' find $crap/ -maxdepth 1 -type d ! -type l ! -path "$crap/" -printf '"%p"\n' | xargs --no-run-if-empty du -s | sort -nk 1,9 | awk -vavail=$avail '{crapy="";for(i=2; i<=NF; i++) {crapy=crapy" "$i;};printf (" -- %s\tUsed: %6.2fG \tDISK:%6.2fG Usage:%6.2f%%\n",crapy,$1/1024/1024,avail/1024/1024,($1/avail)*100)}' done
result looks like
root@xxxx:[Wed Mar 02 16:54:59]: /var/lib/mysql/aaaa/datafiles: Used: 26.43G …[Read more]
Showing entries 1 to 3