Install MySQL on Linux (RedHat 5.5)

Source: Internet
Author: User

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}

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.