Apache v2.0.58+php v4.4.1+mysql v5.0.22+zend v2.6.0 Environmental Installation Guide

Source: Internet
Author: User
Keywords Mysql php apache environmental installation
Tags aliyun apache based download environment environmental environmental installation guide

The following installation guidelines are based on http://www.aliyun.com/zixun/aggregation/14417.html ">apache v2.0.58+php v4.4.1+mysql v5.0.22+zend v2.6.0 version, if you need a new version, please go to the official website to download the latest package.

Wind Network (http://www.ithov.com) Tips: Installation environment If unsure of friends, with RPM check
If the original compiled installed, deleted can be, put that is okay

RPM QA | grep Apache
RPM QA | grep MySQL
RPM QA | grep php

Check it out.

Rpm-qa | grep zlib
Rpm-qa | grep libpng
Rpm-qa | grep FreeType
Rpm-qa | grep jpeg
Rpm-qa | grep GD

The result must have the following RPM package successfully installed premise!

[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

I want to install phpwind, so I need GD support watermark
Order of installation: mysql > Apache > php > Zend

Specific installation

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 one execution script

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

At this point, if you install successfully, you will have the following prompts: Starting MySQL success!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.