Setting up Discuz and Phpwind forum in Lamp Environment (i): the setting of lamp environment

Source: Internet
Author: User
Tags mysql

First, Lamp introduction:

Lamp refers to the combination of linux+apache+mysql+php. The following are described separately:

Apache is the world's first-ranked Web server software. It can run on almost all widely used computer platforms and is one of the most popular Web server-side software because it is widely used across platforms and security.

MySQL is an open source free data software, MySQL is a small relational database management system, its small size, speed, the overall cost of ownership, especially the characteristics of open source, many small and medium-sized Web site in order to reduce the total cost of ownership of the site to choose MySQL as a Web site database.

PHP is the acronym for the English Hypertext preprocessing language hypertext preprocessor. PHP is a kind of HTML embedded language, is a server-side embedded HTML document script language, language style has similar to C language, is widely used.

Second, the experimental environment:

Server address:

The installation package required by Apache:

httpd-2.2.3-31.el5.i386.rpm

The installation package required by MySQL:

mysql-5.0.77-3.el5.i386.rpm

mysql-server-5.0.77-3.el5.i386.rpm

The installation package required by PHP:

php-5.1.6-23.2.el5_3.i386.rpm

php-mysql-5.1.6-23.2.el5_3.i386.rpm

php-mbstring-5.1.6-23.2.el5_3.i386.rpm

Three, the lamp environment constructs the process:

1. Configure local Yum:

[Root@localhost ~]# cd/etc/yum.repos.d/

#创建一个本地yum仓库:

[Root@localhost yum.repos.d]# CP Rhel-debuginfo.repo Local.repo

#编辑yum仓库:

[Root@localhost yum.repos.d]# Vim Local.repo

In order to be able to solve the dependencies between packages well, the local Yum is a good choice; in fact, only need to create a warehouse of the server directory can meet the needs of our experiment;

2. Mount CD:

#创建一个光盘的挂载点:

[Root@localhost ~]# Mkdir/mnt/cdrom

#对光盘进行挂载:

[Root@localhost ~]# Mount/dev/cdrom/mnt/cdrom

Mount:block Device/dev/cdrom is write-protected, mounting read-only

[Root@localhost ~]#

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.