First, the approximate operation procedure
Environment Introduction:
Os:center OS6.5
mysql:5.6 version
1. Turn off the firewall
View firewall Status: Service iptables status
This means that it is not closed.
Run the following command to turn off Firewall service iptables stop, and then view the firewall status again
Run this command to completely shut down: chkconfig iptables off
Run: Vi/etc/selinux/config
This changes to disabled.
2. Modify the configuration file
More/etc/sysctl.conf
3. Check if MySQL is installed
Rpm-qa |grep MySQL
Already installed, that unloading 5.6 bar, found an error, said to be dependent, can not be directly deleted
Then we use: Yum remove mysql*
4. Download the MySQL Package
(1) Download
Enter www.mysql.com, then select Download
Then find the Community edition
And then we found the community version of the service.
And find the version we're looking for.
Choose source code compilation and common Linux operating system
(2) Upload and install
"1" mount the optical drive in the virtual machine, set the optical drive will not elaborate, look at the picture
"2" Mount
Mount/dev/cdrom/mnt
#把光盘挂载到 the/MNT directory
MySQL compilation installation and basic use under Linux