All Tested Have fun.
- .apt-get install libaio1
- groupadd mysql
- useradd -r -g mysql mysql
- wget -O mysql-5.6.16-debian6.0-x86_64.deb
- http://downloads.mysql.com/archives/mysql-5.6/mysql-5.6.16-debian6.0-x86_64.deb
- dpkg -i mysql-5.6.16-debian6.0-x86_64.deb
- cd /usr/local
- ln -s /opt/mysql/server-5.6 mysql
- cd mysql
- scripts/mysql_install_db --user=mysql
- chown -R root .
- chown -R mysql data
- cp support-files/mysql.server /etc/init.d/mysql
- mkdir -p /etc/mysql/conf.d/
- cp my.cnf /etc/mysql/
- echo $'!include /etc/mysql/my.cnf\n!includedir /etc/mysql/conf.d/' > my.cnf
- update-rc.d mysql-5.7 defaults
- service mysql start
- ./bin/mysql_secure_installation