To compile MariaDB I did this (commands executed as root) :
Code: Select all
wget "http://downloads.mariadb.org/f/mariadb-5.5.25/kvm-tarbake-jaunty-x86/mariadb-5.5.25.tar.gz/from/http:/download.nus.edu.sg/mirror/mariadb"
tar -xvf mariadb
mv mariadb-5.5.25 maria
cd maria/BUILD
./autorun.sh
cd ..
aptitude install cmake libncurses5-dev bison
./configure
make
make install
adduser mysql
chown -R mysql /usr/local/mysql
cd /usr/local/mysql
scripts/mysql_install_db --user=mysql
cp support-files/mysql.server /etc/init.d/mysqld
/etc/init.d/mysqld start
./bin/mysql_secure_installation
Code: Select all
wget "http://www.phidgets.com/downloads/libraries/libphidget_2.1.8.20120716.tar.gz"
tar -xvf libphidget_2.1.8.20120716.tar.gz
mv libphidget-2.1.8.20120716 libphi
cd libphi
apt-get install libusb-dev
./configure
make
make install
P.S. These are just cleaned up commands from my .bash_history.