5.5
#!/bin/sh FTPSV="ftp://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5/" VERSION="5.5.27-1" #ARCH="rhel4.i386" ARCH="rhel5.x86_64" mkdir -p ${VERSION}/${ARCH} cd ${VERSION}/${ARCH} wget ${FTPSV}MySQL-client-${VERSION}.${ARCH}.rpm wget ${FTPSV}MySQL-devel-${VERSION}.${ARCH}.rpm wget ${FTPSV}MySQL-server-${VERSION}.${ARCH}.rpm wget ${FTPSV}MySQL-shared-${VERSION}.${ARCH}.rpm exit 0 # EOF
5.1
#!/bin/sh FTPSV="ftp://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.1/" VERSION="5.1.50-1" #ARCH="rhel4.i386" ARCH="rhel5.x86_64" mkdir -p ${VERSION}/${ARCH} cd ${VERSION}/${ARCH} wget ${FTPSV}MySQL-client-community-${VERSION}.${ARCH}.rpm wget ${FTPSV}MySQL-devel-community-${VERSION}.${ARCH}.rpm wget ${FTPSV}MySQL-server-community-${VERSION}.${ARCH}.rpm wget ${FTPSV}MySQL-shared-community-${VERSION}.${ARCH}.rpm exit 0 # EOF
なぜこの4種類なのかは、こちら を参照。