Monthly Archives: January 2015

replace MySQL with MariaDB on cPanel

cp -Rf /var/lib/mysql /var/lib/mysql-old
mv /etc/my.cnf /etc/my.cnf-old

/scripts/update_local_rpm_versions –edit target_settings.MySQL50 uninstalled
/scripts/update_local_rpm_versions –edit target_settings.MySQL51 uninstalled
/scripts/update_local_rpm_versions –edit target_settings.MySQL55 uninstalled

/scripts/check_cpanel_rpms –fix –targets=MySQL50,MySQL51,MySQL55

vi /etc/yum.repos.d/mdb.repo
# MariaDB 10.0 CentOS repository list – created 2015-01-16 13:06 UTC
name = MariaDB
baseurl =

yum install MariaDB-Galera-server MariaDB-client galera

/etc/init.d/mysql start
/etc/init.d/mysql restart

/scripts/easyapache –build

vim Python-mode

Python-mode is a vim plugin that helps you to create python code very quickly by utilizing libraries including pylint, rope, pydoc, pyflakes, pep8, and mccabe for features like static analysis, refactoring, folding, completion, documentation, and more.

vim ~/.vimrc
” Pathogen load
filetype off

call pathogen#infect()
call pathogen#helptags()

filetype plugin indent on
syntax on

cd ~/.vim
mkdir -p bundle && cd bundle
git clone git://