Centos 6.5 安裝 Atlassiana Crowd+JIRA+Confluence(Wiki)之一 資料庫篇(MySQL5.1)

來源:互聯網
上載者:User

標籤:atlassian mysql

軟體準備   

1.資料庫軟體

      mysql 5.1 主程式

      mysql clinet 串連用戶端

      mysql-devel 驅動程式

安裝步驟

  •  安裝作業系統

  • 配置主機名稱

  • 修改IP地址

  • 修改系統時間 保持時間準確性

  • yum安裝資料庫

  • 開啟資料庫 並作相關修改

  • 開啟防火牆相應連接埠

修改主機名稱

       vi /etc/sysconfig/network

         修改HOSTNAME= 您規劃的主機名稱 

         儲存並推出


650) this.width=650;" src="http://s1.51cto.com/wyfs02/M00/8D/1B/wKiom1iGs-nS2Wk7AAAWkJci1CQ570.jpg" style="float:none;" title="image004.jpg" alt="wKiom1iGs-nS2Wk7AAAWkJci1CQ570.jpg" />


650) this.width=650;" src="http://s1.51cto.com/wyfs02/M01/8D/1B/wKiom1iGs-nBiDoKAAAIC6IFkk4609.png" style="float:none;" title="image005.png" alt="wKiom1iGs-nBiDoKAAAIC6IFkk4609.png" />

修改主機IP地址 

       vi /etc/sysconfig/network-scripts/ifcfg-eth0


650) this.width=650;" src="http://s5.51cto.com/wyfs02/M00/8D/18/wKioL1iGs-qwixEAAAAthPvSD-0346.png" style="width:700px;height:272px;" title="image007.png" width="700" height="272" border="0" hspace="0" vspace="0" alt="wKioL1iGs-qwixEAAAAthPvSD-0346.png" />

儲存設定檔  並重啟系統 使電腦名稱生效

修改系統時間  

      rm -rf /etc/localtime 
      yum install -y ntpdate 
      ntpdate us.pool.ntp.org 
      ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

安裝資料庫

      yum install mysql mysql-server mysql-devel -y

配置 資料庫 

     service mysqld start

     mysqladmin -u root password  ‘new password(新密碼)‘

     修改 my.cnf檔案 

      character-set-server=utf8

     default-storage-engine=InnoDB

     max_allowed_packet=50000000
     set-variable=max_allowed_packet=50000000

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M01/8D/18/wKioL1iGs-uB7bWiAAA-ugWWk6w848.png" style="width:700px;height:285px;" title="image009.png" width="700" height="285" border="0" hspace="0" vspace="0" alt="wKioL1iGs-uB7bWiAAA-ugWWk6w848.png" />

儲存配置 並重啟資料庫

開啟 防火牆連接埠  

    /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT 

   /etc/init.d/iptables save


650) this.width=650;" src="http://s4.51cto.com/wyfs02/M02/8D/1B/wKiom1iGs-ySOpgCAAAfvkc1quo646.png" style="width:700px;height:84px;" title="image011.png" width="700" height="84" border="0" hspace="0" vspace="0" alt="wKiom1iGs-ySOpgCAAAfvkc1quo646.png" />

至此 資料庫安裝完成   等待建立資料庫 

本文出自 “王亞林” 部落格,請務必保留此出處http://tutorialhome.blog.51cto.com/10472846/1893991

Centos 6.5 安裝 Atlassiana Crowd+JIRA+Confluence(Wiki)之一 資料庫篇(MySQL5.1)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.