Get your rhlinux OK, let's go ~
1. Download mysql server and client.
Log onto the mysql website-> download, and select stable mysql server5.5.
2. set the Virtual Machine network, and select host-only here. Configure the vmnet1 network in the real machine and configure it in the same network segment in the virtual machine, the ip address of wmnet1 is used as the host address, so that no matter what network conditions the real machine is in (dhcp of various wifi devices) can access the virtual machine with a fixed ip address.
3. Enable putty, add user groups and users, and allocate installation directories.
1: groupadd mysql
2: useradd mysql-g mysql
3: passwd mysql
4: cd/usr/local
5: mkdir mysql
. Codearea {color: black; background-color: white; line-height: 18px; border: 1px solid # 4f81bd; margin: 0; width: auto! Important; width: 100%; overflow: auto; text-align: left; font-size: 12px; font-family: "Courier New", "Consolas", "Fixedsys ", "BitStream Vera Sans Mono", courier, monospace, serif}
. Codearea pre {color: black; line-height: 18px; padding: 0 0 0 12px! Important; margin: 0em; background-color: # fff! Important}
. Linewrap pre {white-space: pre-wrap; white-space:-moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; word-break: normal}
. Codearea pre. alt {background-color: # f7f7ff! Important}
. Codearea. lnum {color: # 4f81bd; line-height: 18px}