Install lamp + WordPress in centos6.5 yum

Source: Internet
Author: User

1. Configure the yum Source

You can configure it by attaching a CD or other online Yum sources.


Ii. Install the development kit and library files and configuration files

[[Email protected] ~] # Yum-y install httpd *

[[Email protected] ~] # Yum-y install MySQL *

[[Email protected] ~] # Yum-y install PHP *

[[Email protected] ~] # Yum-y install mod_ssl mod_perl mod_auth_mysql libdbi-DBD-mysql PCRE-devel libpng-devel libjpeg-6b libjpeg-devel-6b FreeType-devel Gd-devel zlib-devel GCC gcc-C + + libxpm-devel ncurses-devel libmcrypt-devel libxml2 libxml2-devel imake Autoconf automake screen sysstat compat-libstdc ++-33 curl-deve

[[Email protected] ~] # Mysqladmin-u Root Password "123456"

3. Add configuration and enable the Service

[[Email protected] ~] # Cd/var/www/html/

Create a file and add the following

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/9A/wKiom1Po5CSzqSFDAABZrqosvBc759.jpg "Title =" 2.png" alt = "wkiom1po5cszqsfdaabzrqosvbc759.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/9A/wKiom1Po5EPjNmFpAAHKvhUp6DY858.jpg "Title =" 1.png" alt = "wkiom1po5epjnmfpaahkvhup6dy858.jpg"/>


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/9C/wKioL1Po6g6S23fnAAIr9xNe5Is863.jpg "Title =" 5.png" alt = "wkiol1po6g6s23fnaair9xne5is863.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/9B/wKioL1Po5ZrR94L5AASX8gO-_8A786.jpg "Title =" 3.png" alt = "wKioL1Po5ZrR94L5AASX8gO-_8A786.jpg"/>


Building personal Weibo

Search for software packages by yourself

[[Email protected] HTML] # unzip wordpress-3.0.4-zh_CN.zip

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/9A/wKiom1Po5yGhJ0_EAAJs-NBR9oo321.jpg "Title =" 4.png" alt = "wKiom1Po5yGhJ0_EAAJs-NBR9oo321.jpg"/>

 

Modify the WordPress configuration file


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/9B/wKiom1Po6laSs4HiAAHDr74X6HQ718.jpg "Title =" 6.png" alt = "wkiom1po6lass4hiaahdr74x6hq718.jpg"/>


Logon Test


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/9B/wKiom1Po6rPwScMNAAKjo7Jai5s543.jpg "Title =" 7.png" alt = "wkiom1po6rpwscmnaakjo7jai5s543.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/9B/wKiom1Po6z3Q-5qXAAR2vHuYYiA077.jpg "Title =" 8.png" alt = "wKiom1Po6z3Q-5qXAAR2vHuYYiA077.jpg"/>


























This article from the "broken knife" blog, please be sure to keep this source http://90sec.blog.51cto.com/7404127/1538797

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.