Web server Deployment and optimization---2---deploy wordpress web site (rhel6.5)

Source: Internet
Author: User

RedHat Enterprise 6.5 Environment wordpress website deployment


The first step: Download the wordpress website Compression package and unzip


[Email protected] data]# wget Http://cn.wordpress.org/wordpress-3.9-zh_CN.zip-O wordpress.zip

[Email protected] data]# Unzip Wordpress.zip

[Email protected] data]# Mkdir/var/www/html/linuxcast

[Email protected] data]# MV wordpress/*/var/www/html/linuxcast


Step Two: Modify the owner of the Web site file

[Email protected] linuxcast]# CD.

[Email protected] html]# chown-r apache.root linuxcast/


Step three: Deploy WordPress (linuxcast) website

1. Log in to the MySQL database and create

[Email protected] desktop]# mysql-p

Enter Password:

Welcome to the MySQL Monitor. Commands End With; or \g.

Your MySQL Connection ID is 2

Server version:5.1.71 Source Distribution


Copyright (c) and/or, Oracle, its affiliates. All rights reserved.


Oracle is a registered trademark of the Oracle Corporation and/or its

Affiliates. Other names trademarks of their respective

Owners.


Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement.


mysql> CREATE DATABASE Linuxcast3_9;

Query OK, 1 row Affected (0.00 sec)


Mysql> quit

Bye

[Email protected] desktop]#


2. Modify the/etc/hosts file to add:

192.168.8.86 linuxcast.net www.linuxcast.net


3, visit the site and install the WordPress website

[email protected] ~]# Firefox http://www.linuxcast.net/linuxcast &

[1] 6185


4, Related Settings options:

Database name: Linuxcast3_9

User name: Root

Password: linuxcast

Database host: localhost

Table prefix: wp_


Note: When this step is completed, the wp-config.php file will be generated under the Site Directory (/var/www/html/linuxcast), and if you want to reinstall it, remove the file and reinstall it!


Click submit → install →

Site title: Zhangsp ' s Web

User name: ZHANGSP

Enter Password: linuxcast

e-mail: [Email protected]

Installation → Complete


Installation process:


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/45/37/wKioL1PkZZ7iiXPRAAHi1g74Zfs932.jpg "style=" float: none; "title=" 1 "alt=" wkiol1pkzz7iixpraahi1g74zfs932.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/45/37/wKiom1PkZIXQO4gwAAK8LPwODFw878.jpg "style=" float: none; "Title=" 2 "alt=" Wkiom1pkzixqo4gwaak8lpwodfw878.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/45/37/wKioL1PkZZ6gJJmiAAKp96zuCrY376.jpg "style=" float: none; "Title=" 3 "alt=" Wkiol1pkzz6gjjmiaakp96zucry376.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/45/37/wKiom1PkZIXwQbVTAAHaPrmqtzI092.jpg "style=" float: none; "Title=" 4 "alt=" Wkiom1pkzixwqbvtaahaprmqtzi092.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/45/37/wKioL1PkZZ7xPoXIAAKzuoAghqs693.jpg "style=" float: none; "title=" 5 "alt=" Wkiol1pkzz7xpoxiaakzuoaghqs693.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/45/37/wKiom1PkZIXTHn_dAAHwxaYc7N8550.jpg "style=" float: none; "title=" 6 "alt=" Wkiom1pkzixthn_daahwxayc7n8550.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/45/37/wKioL1PkZZ-TW05lAAHDfonW5B8951.jpg "style=" float: none; "title=" 7 "alt=" Wkiol1pkzz-tw05laahdfonw5b8951.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/45/37/wKiom1PkZIbDs2PyAASum3LlUOI196.jpg "style=" float: none; "title=" 8 "alt=" Wkiom1pkzibds2pyaasum3lluoi196.jpg "/>


5, background management


Login background:

http://www.linuxcast.net/linuxcast/wp-login.php

http://www.linuxcast.net/linuxcast/wp-admin/

User name is: ZHANGSP

Password: linuxcast


Note: The WordPress site environment must meet the following requirements:

php5.2.4 or later

MySQL5.0 or later

Apache mod_rewrite Module


This article is from the "Forest blog" blog, make sure to keep this source http://murongqingqqq.blog.51cto.com/2902694/1537345

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.