MySQL 在Linux上的安裝 (RedHat 5.5)

來源:互聯網
上載者:User

get your rhlinux ok,let's go~

1.下載mysql server and client。

登陸mysql網站->download,我們選擇的是穩定的mysql server5.5

2.設定虛擬機器網路,和墨這裡選擇的是host-only,在真機中配下vmnet1的網路,再在虛擬機器中配置在同一網段,並以wmnet1的ip作為主機地址,這樣不管真機在何種網路條件下(各種wifi的dhcp之類)都可以固定ip訪問虛擬機器。

3.開啟putty,增加使用者組和使用者,分配安裝目錄

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:-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
  • 下一頁

相關文章

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.