Download down the package, after the decompression will have an installation documentation, usually called a readme or install, look at the installation process, there must be make the source package. Another is through the name, the specification of the package, will be in the name to mark what it is, the source package name will not add any decoration, such as the MySQL source package, is the mysql-version number. tar.gz and compiler-free packages will be marked with i686 or x86_64 words.
Cd/usr/local/src
wget mysql.tar.gz
Tar zxf mysql.tar.gz
MV Mysql/usr/local/scr/mysql
Mkdir-p/data/mysql
Useradd-s/sbin/nologin-m MySQL
Chown-r Mysql:mysql/data/mysql
Cd/usr/local/src/mysql
./scripts/mysql_install_db--user=mysql--datadir=/data/mysql
CP SUPPORT-FILES/MY-LARGE.CNF/ETC/MY.CNF
CP Support-files/mysql.server/etc/init.d/mysqld
chmod 755/etc/init.d/mysqld
Vim/etc/init.d/mysqld
Basedir=/usr/local/src/mysql
Datadir=/data/mysql
Mysql binary Compiler-free installation