LAMP安装脚本源码包

LAMP源码包的官方下载地址:


#!/bin/bash

# MySQL
wget http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.28.tar.gz

# Aapche
wget http://archive.apache.org/dist/apr/apr-1.5.0.tar.gz
wget http://archive.apache.org/dist/apr/apr-util-1.5.3.tar.gz
wget http://archive.apache.org/dist/httpd/httpd-2.4.9.tar.gz

# PHP
wget http://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
wget http://nchc.dl.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz
wget http://nchc.dl.sourceforge.net/project/mhash/mhash/0.9.9.9/mhash-0.9.9.9.tar.gz
wget http://us1.php.net/distributions/php-5.4.26.tar.gz

# phpMyAdmin
wget http://optimate.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.5.8/phpMyAdmin-3.5.8-all-languages.zip

发表评论