Apache v2.0.58+PHP v4.4.1+MySQL v5.0.22+Zend v2.6.0環境安裝指南

來源:互聯網
上載者:User
關鍵字 mysql PHP Apache 環境安裝

以下安裝指南是基於HTTP://www.aliyun.com/zixun/aggregation/14417.html">Apache v2.0.58+PHP v4.4.1+MySQL v5.0.22+Zend v2.6.0的版本,如果你需要新的版本,請至官方網站下載最新的套裝軟體。

風信網(HTTP://www.ithov.com)友情提示:安裝環境如果不確定的朋友,用rpm查一下
如果原來編譯安裝的,刪了即可,放那也沒事

rpm qa | grep apache
rpm qa | grep mysql
rpm qa | grep php

再順便查查

rpm -qa | grep zlib
rpm -qa | grep libpng
rpm -qa | grep freetype
rpm -qa | grep jpeg
rpm -qa | grep gd

出來的結果必須有以下rpm包成功安裝的前提!

[root@localhost local]# rpm -qa | grep zlib
zlib-1.1.4-8
zlib-devel-1.1.4-8

[root@localhost local]# rpm -qa | grep libpng
libpng-1.2.2-16
libpng-devel-1.2.2-20
libpng10-1.0.13-8
libpng10-devel-1.0.13-8

[root@localhost local]# rpm -qa | grep freetype
freetype-devel-2.1.3-6
freetype-2.1.3-6

[root@localhost local]# rpm -qa | grep jpeg
libjpeg-6b-26
libjpeg-devel-6b-26

[root@localhost local]# rpm -qa | grep gd
gdk-pixbuf-0.18.0-7
gdb-5.3post-0.20021129.18
gdbm-1.8.0-20
sysklogd-1.4.1-12
gdk-pixbuf-gnome-0.18.0-7
gdbm-devel-1.8.0-20
gd-1.8.4-11

我要裝PHPWind,所以需要gd支援浮水印
安裝順序:mysql > apache > php > zend

具體安裝

1,mysql

cd /usr/local
groupadd mysql
useradd -g mysql mysql
cd /usr/local
tar zxvf mysql-standard-5.0.22-linux-i686.tar.gz
ln -s mysql-VERSION-OS mysql
cd mysql
scripts/mysql_install_db
chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/data
chgrp -R mysql /usr/local/mysql
chown -R root /usr/local/mysql/bin
bin/safe_mysqld --user=mysql &
cp support-files/mysql.server /etc/rc.d/init.d/mysqld

copy一個執行腳本

chkconfig --add mysqld
/etc/rc.d/init.d/mysqld start

此時,若你安裝成功的話,會有如下提示:Starting MySQL SUCCESS!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.