From cloudstack-users-return-189-apmail-incubator-cloudstack-users-archive=incubator.apache.org@incubator.apache.org Tue May 29 13:21:11 2012 Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3F5ACF16 for ; Tue, 29 May 2012 13:21:10 +0000 (UTC) Received: (qmail 97459 invoked by uid 500); 29 May 2012 13:21:10 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 97431 invoked by uid 500); 29 May 2012 13:21:10 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 97422 invoked by uid 99); 29 May 2012 13:21:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2012 13:21:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ezequiel.mcgovern@gmail.com designates 209.85.161.175 as permitted sender) Received: from [209.85.161.175] (HELO mail-gg0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2012 13:21:05 +0000 Received: by ggnp4 with SMTP id p4so2567006ggn.6 for ; Tue, 29 May 2012 06:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=30naRVapGS7qyExQbRP3Pd3ow+D7xcZ0ibl+nYdjBsI=; b=VcOIyriRLlleJIiCBO6s2h+hnf6s0RUOMYCN2IzVx+eab2juk/tIG2kYoWq/DobN8o +WIDRyzajnZcytrwvRbn0Bb/5X0RcmtJg3P7SMaxcdkHzNODFy2RwqPkkDpHhZWFogON MYvJ+iXSkONM1xoevCsJcO/mxHHx3NmqWAygUbBfhcns1RYYoT2RxiO6anJCQyIWuYcD EZeVuu5IZI0o2J8xeH7Ti9lgQQ6f5DRda66eQdz7V/lxNQXn/tRAdPLQT+KMIrWlpiCZ 6YPOstmGuJHml4Rde+N3xeJzrXUfh0XlYCgsdI2c/h/pzWxFopRlxVzsMWDDZDliqa9z P7AQ== MIME-Version: 1.0 Received: by 10.50.47.196 with SMTP id f4mr7104586ign.21.1338297644270; Tue, 29 May 2012 06:20:44 -0700 (PDT) Received: by 10.64.70.97 with HTTP; Tue, 29 May 2012 06:20:44 -0700 (PDT) Date: Tue, 29 May 2012 10:20:44 -0300 Message-ID: Subject: MySQL 5.1.58 in REL 5.8 From: Ezequiel Mc Govern To: cloudstack-users@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The script install_mysql5158_rpm.sh not detect RHEL, I made a simple fix and now can detect and install mysql: *** original=C2=A0=C2=A0=C2=A0 2012-04-03 02:51:55.000000000 -0300 --- install_mysql5158_rpm.sh=C2=A0=C2=A0=C2=A0 2012-05-29 10:03:43.00000000= 0 -0300 *************** *** 6,12 **** =C2=A0 mysql_repo=3D"/etc/yum.repos.d/cloud-mysql-temp.repo" =C2=A0 check_distro() { !=C2=A0=C2=A0=C2=A0=C2=A0 cat /etc/redhat-release | grep 'CentOS release 5.= ' =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if [ "$?" -ne 0 ]; then =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 err "Only supporting= to install on Rhel5.x or CentOS5.x" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return 1 --- 6,12 ---- =C2=A0 mysql_repo=3D"/etc/yum.repos.d/cloud-mysql-temp.repo" =C2=A0 check_distro() { !=C2=A0=C2=A0=C2=A0=C2=A0 cat /etc/redhat-release | grep 'release 5.' =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if [ "$?" -ne 0 ]; then =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 err "Only supporting= to install on Rhel5.x or CentOS5.x" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return 1 -- Saludos !! Ezequiel ;)