首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

lamp环境筹建

2012-07-24 
lamp环境搭建Apache2.2.14Mysql5.1.41Memcached1.4.4Imagemagick6.5.6-10PHP5.2.11PECL APC3.0.19PECL Mem

lamp环境搭建
Apache                      2.2.14
Mysql                           5.1.41
Memcached            1.4.4
Imagemagick           6.5.6-10
PHP                               5.2.11
PECL APC                   3.0.19
PECL Memcache     2.2.5

软件安装

# 安装 Apache
tar zxvf httpd-2.2.14.tar.gz
cd httpd-2.2.14
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static \
--with-client-ldflags=-all-static --enable-thread-safe-client --localstatedir=/data/mysql \
--with-extra-charsets=complex --with-plugins=partition
make
make install
cd /usr/local/mysql
./bin/mysql_install_db
chown -R mysql /data/mysql
./share/mysql/mysql.server start
cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/

# 安装 ImageMagick
    <Directory "/Users/mole/Sites/camp/web">
        Options FollowSymLinks
        AllowOverride All
        Order deny,allow
        allow from all
    </Directory>
</VirtualHost>

热点排行